I'm developing a simple example to test WebRTC, and I've found the following strange behaviour.
When using Chrome, the media constraints are specified as:
mediaConstraints = {'mandatory': {'OfferToReceiveAudio':true, 'OfferToReceiveVideo':true}};
which works fine.
However, when using Firefox (35.0.1 on the mac), according to the spec it should be:
mediaConstraints = {'offerToReceiveAudio':true,'offerToReceiveVideo':true};
But doesn't work (Ice failed!)
Using "OfferToReceiveAudio"
mediaConstraints = {'OfferToReceiveAudio':true,'offerToReceiveVideo':true};
works fine.
Is this documented behaviour?