W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2016

Issue 619: setDirection()

From: Bernard Aboba <Bernard.Aboba@microsoft.com>
Date: Thu, 5 May 2016 01:14:47 +0000
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
CC: Peter Thatcher <pthatcher@google.com>
Message-ID: <BY2PR0301MB0775C3D7F0AF1EDBCD7707A3EC7C0@BY2PR0301MB0775.namprd03.prod.outlook.com>
Peter Thatcher said:

"I thought about this some more, and I think that if we have {direction: "sendrecv"} in the construction of an RtpTransceiver, we probably ought to have .setDirection instead of .activateSender. That would be easier to specify and would allow the application to change direction in any way (sender/receiver active/inactive)."

[BA] I agree that setDirection() would be more consistent (and succinct) than activateSender() and activateReceiver(), so I've submitted an Issue relating to this:

Also, here is a PR to add setDirection() (and remove activateSender() and activateReceiver():
Received on Thursday, 5 May 2016 01:15:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:16 UTC