On 9/19/14 12:20 PM, m.goffril...@free.fr wrote:
Hi,
I have this warning when calling createOffer in FF 33 Beta:
"Mandatory/optional in createOffer options is deprecated! Use {} instead (note the
case difference)!"
I am not sure what it means...
The createOffer call is just:
createOffer(gotSessionDescription, peerConnectError);
No option has been passed to the RTCPeerConnection constructor.
Does anybody know what it means and how I can get rid of it?
Hi, that's my bug unfortunately. Poor testing on my part.
I've submitted a code-fix for it, which hopefully should land soon:
https://bugzilla.mozilla.org/show_bug.cgi?id=1070076
The warning is overly aggressive and the only workaround at the moment
is to give it some valid argument in new spec syntax, e.g.
{ offerToReceiveVideo: true } // note the lower-case 'o'
Beware though that Google Chrome may not presently accept this.
Sorry about that and hopefully the fix will land soon.
..: Jan-Ivar :.
_______________________________________________
dev-media mailing list
dev-media@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-media