After getting camera as media stream, it is added to peer connection (thePc). By createOffer, the offer SDP contains video media and the direction is sendrecv (a=sendrecv).
For some reason, I want to change it to sendonly. The offer SDP is modified, and then does setLocalDescription. In successCallback of setLocalDescription, thePc.localDescription is checked, but the direction of video media is still sendrecv. Did I do it in wrong way? Or, Firefox does not support this? Thanks. _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

