If I am reading the specification correctly, the value must not be null:

http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCPeerConnection-setLocalDescription-void-RTCSessionDescription-description-VoidFunction-successCallback-RTCPeerConnectionErrorCallback-failureCallback

Note that the successCallback is marked as not-nullable.

-Ekr





On Thu, Jul 4, 2013 at 9:32 PM, Iwan Budi Kusnanto <[email protected]> wrote:

> Hi,
> Starting from FF 24, we can't supply null function as 2nd attribute to
> setLocalDescription.
> Is it an intended behaviour or a bug?
>
> If you want to try, http://kam.labhijau.net/pc_test.html is
> modification of pc_test.html from webrtc-landing.
> It changes 2nd argument of setLocalDescription to null.
>
>
>
> --
> Iwan Budi Kusnanto
> _______________________________________________
> 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

Reply via email to