RESOLVED FIXED 191260
Setting transceiver.direction = "inactive" is ignored
https://bugs.webkit.org/show_bug.cgi?id=191260
Summary Setting transceiver.direction = "inactive" is ignored
Iñaki Baz
Reported 2018-11-05 06:47:08 PST
Created attachment 353859 [details] Script that reproduces the issue. Just run it in Safari 12.1 console with "Unified-Plan" enabled. Scenario: * Have a pc with an audio transceiver for just sending audio (it does not receive audio from the remote), so it has `direction: "sendonly"`. * Call `transceiver.sender.replaceTrack(null)` and `transceiver.direction = "inactive"` and do a new SDP O/A. * No matter where `transceiver.direction = "inactive"` is set. The `transceiver.direction` remains "sendonly" and its m=audio section also remains with "a=sendonly". This works as expected in Chrome and Firefox. Script attached.
Attachments
Script that reproduces the issue. Just run it in Safari 12.1 console with "Unified-Plan" enabled. (2.63 KB, text/javascript)
2018-11-05 06:47 PST, Iñaki Baz
no flags
Iñaki Baz
Comment 1 2018-11-13 16:05:58 PST
Hi, any news about this issue?
youenn fablet
Comment 2 2018-11-13 16:52:09 PST
(In reply to Iñaki Baz from comment #1) > Hi, any news about this issue? Will look at it this week.
youenn fablet
Comment 3 2018-11-13 16:57:55 PST
Using WebKit Tot, your test case works as expected. Let's mark it as fixed for now. Please reopen if next STP version is not working as expected.
Iñaki Baz
Comment 4 2018-11-19 13:02:15 PST
Hi, I've tested in latest STP: Release 70 (Safari 12.1, WebKit 14607.1.13) The attached still fails (direction remains a=sendonly instead of a=inactive). Should I wait for next STP?
Iñaki Baz
Comment 5 2018-12-06 03:39:57 PST
ok, it works today in latest (Safari 12.1, WebKit 14607.1.15. Good work :)
Note You need to log in before you can comment on or make changes to this bug.