Hi,

With FF nightlies and now the latest Aurora I've noticed that if we pass in a 
JS object containing the offer and type attributes rather than a 
mozRTCSessionDescription object we get an error (TypeError: Argument 1 of 
mozRTCPeerConnection.setRemoteDescription does not implement interface 
mozRTCSessionDescription). An 'offer' that comes over a socket.io server for 
instance is not a mozRTCSessionDescription object.

I guess I could cast it to a mozRTCSessionDescription object with something 
like 'var mozOffer = new mozRTCSessionDescription(offer)' and then pass that to 
the setRemoteDescription(mozOffer).
However I just wanted to check if anyone else is facing this issue or if I am 
perhaps doing something wrong or missing something here?

Thanks,
Anselm
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to