sipsorcery-org / sipsorcery

A WebRTC, SIP and VoIP library for C# and .NET. Designed for real-time communications apps.
https://sipsorcery-org.github.io/sipsorcery
Other
1.42k stars 432 forks source link

Is it possible multistream PeerConnections with Sipsorcery #755

Open mail2mhossain opened 2 years ago

mail2mhossain commented 2 years ago

since Janus now supports multistream PeerConnections, subscriptions can be done either in "bulks" (you use a single PeerConnection to subscribe to multiple streams from one or more publishers) or separately (each PeerConnections represents a subscription to a single publisher).

Is it possible to subscribe in bulks with a single PeerConnection with SipSorcery?

ChristopheI commented 2 years ago

Now in master branch and since release v6.0.8, it's possible to have on the same PeerConnection several Audio stream and/or several Video stream.

To manage them you have access to this new objects / events:

mail2mhossain commented 2 years ago

Thank you very much. Just upgraded from 6.0.6 to 6.0.8.

Trying to implement this.

BTW: do you have any example in source?