javascript - WebRTC renegotiation between Chrome and Firefox -


i able establish webrtc connection between firefox , chrome, renegotiation between firefox-chrome not work properly.

there no problem in renegotiation between chrome-chrome pair , firefox-firefox pair.

with firefox-chrome pair, when start renegotiation chrome after removing or adding track, renegotiation successful , onremovestream or onaddstream callbacks triggered on firefox correctly.

but when start renegotiation firefox after removing or adding track using pc.removetrack or pc.addtrack, renegotiation successful without error. in chrome onremovestream or onaddstream callbacks not triggered. when mediastream using pc.getremotestreams can see tracks' ids changed after renegotiation, mediastream not work when tried play it.

one odd thing notice is, actual local track id firefox not match remote track id in chrome (even before renegotiation).

does chrome , firefox support renegotiation across browsers(mainly firefox chrome)?

have achieved renegotiation between firefox , chrome?

is there workaround problem?

this not complete solution reason why happening. encourage posting solution if find one.

there 2 plans unifiedplan , planb multiple streams in webrtc. planb dropped , unifiedplan becoming standard. firefox implemented unifiedplan chrome still has planb implementation. there chromium bug this.

there polyfill written this, spd-interop. polyfill has limitation, supports renegotiation chrome firefox.

if find workaround before chrome fixes issue, update answer.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -