IngestPeer is the symmetric inverse of the WHEP Peer: - Creates a recvonly PeerConnection (Pion receives tracks from the publisher) - OnTrack -> reads RTP packets from the remote track and writes them to loopback UDP ports (videoPort, audioPort) that FFmpeg is listening on - Full lifecycle: Done(), Connected(), Close(), AddICECandidate() PeerFactory.CreateIngestPeer() follows the same ctx/offer/ICE-gather pattern as CreatePeerFromSources() so the app/webrtc handler layer can use a uniform error matrix. |
||
|---|---|---|
| .. | ||
| webrtc | ||