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

Re: Why is offerToReceiveAudio boolean again?

From: Philipp Hancke <fippo@goodadvice.pages.de>
Date: Tue, 18 Apr 2017 22:20:37 +0200
To: public-webrtc@w3.org
Message-ID: <76bf5d50-3dee-6259-bffd-a7db637ca6f7@goodadvice.pages.de>

Am 18.04.2017 um 00:12 schrieb Taylor Brandstetter:
> As I recall, this decision was made because it's only being kept around as
> a "legacy interface extension", and a boolean is all Chrome implemented. So
> it wasn't worth the effort to specify more complex behavior (which used to
> be described in JSEP, before things became transceiver-based).

does the spec prohibit this?
	pc.createOffer({offerToReceiveAudio: false})

It seems that without the legacy addStream API this legacy interface 
extension makes little sense since if one uses addTrack one can set the 
direction of the transceiver.
Received on Tuesday, 18 April 2017 20:21:20 UTC

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