While this might be possible with multiple PeerConnection objects, we are verifying on our end whether thishas been implemented end to end.
-pr
So as of now, is there no way to send multiple streams from one peer
to the other?
I have tested offer SDP containing multiple streams, and only the first of them triggers an onAddStream callback. After applying the offer, if you examine the pc.remoteDescription, you find that the second stream has been removed entirely.
Bryan,
Current implementation doesn't support multiple m lines with the same media type, in which case only the first one will be handled as you noticed. Can you try to put the second stream in the same m line see if that works for you?
Hello Brian,Can you please also post the updated SDP? I would like to see how the m line holds the two streams.Thank you,Erez
| LOG(LS_ERROR) << "AddStream -
Currently only one audio track and one" |
| << "video track is supported per PeerConnection."; |
Hi Brian,
What type of server are you using as your central server? Software wise?
ThanksNick
--
Hi Brian,What type of server are you using as your central server? Software wise?Thanks
Nick
On Tuesday, August 21, 2012 2:36:09 PM UTC-4, Bryan Donnovan wrote:
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Oh yes, I'd forgotten to add that webrtc-internals shows only the original SSRC, the one received in the initial SDP. The new SSRCs just aren't shown. Any ideas when this can happen?
Also, setLocal & createAnswer haven't helped. An observation here is that the signaling state changes to stable only after setLocal is called in the createAnswer callback. But setLocal changes the IceConnection state to disconnected! Is this because it generates new candidates after this call? On the MCU side, the ICE connection remains in connected state. This also is confusing me a bit :-)
I assume if the signaling state stays in haveRemoteOffer, it won't accept any new reoffers subsequently?
Also, setLocal & createAnswer haven't helped. An observation here is that the signaling state changes to stable only after setLocal is called in the createAnswer callback. But setLocal changes the IceConnection state to disconnected! Is this because it generates new candidates after this call? On the MCU side, the ICE connection remains in connected state. This also is confusing me a bit :-)
setLocal(answer) shouldn't disconnect iceConnections state unless the new offer causes an ICE restart.
Nothing immediately leaps to mind.... is your ICE password really the literal string "(null)"?
Are you sending real data on the bogus SSRC 123456? I see that the re-offer has three SSRCs, one of which is the same as before (123456), so the result should be two addstream events, resulting in two new streams, each with only a video track and no audio track. Is that what you're getting?