It is a bug that we emit this "Unhandled state type: 1' warning sometimes when we should not. You can safely ignore this warning.
-EH On Sat, Jun 29, 2013 at 4:55 AM, <[email protected]> wrote: > I just wanted to add that I did try this but see a warning 'Unhandled > state type: 1' now. > > On Saturday, June 29, 2013 11:04:11 AM UTC+3, [email protected] wrote: > > 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 > _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

