pjsip / pjproject

PJSIP project
http://www.pjsip.org
GNU General Public License v2.0
2.07k stars 783 forks source link

Redundant RTP Streams (RFC 7198) #4076

Closed GitHubIsShortOnUsernames closed 1 month ago

GitHubIsShortOnUsernames commented 2 months ago

Describe the feature

Would it be possible to support RTP stream duplication as described in RFC 7198? It allows transmitting a redundant duplicate stream over a separate path or interface to increase resilience.

Describe alternatives you've considered

Stream duplication could be handled on the network layer, but no standard exists for it, and without appropriate signaling, interoperability would be difficult. Existing solutions are proprietary.

Additional context

Apparently it's becoming a big thing in the media industry as it transitions to SIP for audio connections.

trengginas commented 1 month ago

We don't have any plan to implement this. However, when using PJSUA/PJSUA2 you can specify the number of audio/video stream using pjsua_call_setting::aud_cnt or pjsua_call_setting::vid_cnt.

hoene commented 1 month ago

What else needs to be considered to implement it?

sauwming commented 1 month ago

Well, it depends whether you want to be fully compliant with the RFC. If you only want redundant RTP streams over multiple paths as described in the RFC, adding the number of audio/video streams described above should be quite close.