W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > December 2017

Re: [webrtc-pc] addTransceiver woes

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Dec 2017 19:35:12 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-349416048-1512502508-sysbot+gh@w3.org>
I've been playing with transceivers a bit in Firefox Nightly, and I *may* be coming back to @fippo's side.

This ["hold" fiddle](https://jsfiddle.net/jib1/qw9dw22j/) only works correctly when I manually ensure direction is sane:
pc1.addTransceiver("video", {streams: [stream], direction: "inactive"});
but if I instead do
pc1.addTransceiver("video", {streams: [stream]});
...then nothing works, including the code to change the direction later, maybe because the change from "sendrecv" to "sendonly" doesn't cause negotiationneeded to fire? We still have [bugs](https://bugzilla.mozilla.org/show_bug.cgi?id=1423314), so that could be a bug, but please don't close this just yet.

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1662#issuecomment-349416048 using your GitHub account
Received on Tuesday, 5 December 2017 19:35:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:52 UTC