Scaling rtp-forwarder needs to open many ports? #1845
-
Hi, I am trying your rtp-forwarder example. To use it for many users,does each user need a seperate pair of udp ports opened? Please advise me. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hey @marlocarlo You could demux the traffic using attributes on the RTP packets themselves. Commonly people use SSRC to denote different 'sources' and then PayloadTypes for audio/video. RTP Header is defined here |
Beta Was this translation helpful? Give feedback.
-
Hi @Sean-Der , The issue is between pion and the browser across the internet. The browser is not opened inside the server. So it is between pion on the server and browser opening the webpage hosted there on my system. When i stream with a much smaller resolution video like 260p,theres no problem but when i increase the resolution to 720p,theres packet loss for ffmpeg. It shows errors that rtp packets are missed and the streamed video is full of artifacts and pixels. Thanks. |
Beta Was this translation helpful? Give feedback.
Hey @marlocarlo
You could demux the traffic using attributes on the RTP packets themselves. Commonly people use SSRC to denote different 'sources' and then PayloadTypes for audio/video.
RTP Header is defined here