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

Re: [webrtc-pc] Transceiver kind definition is circular.

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Mon, 10 Jul 2017 17:48:38 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-314182333-1499708917-sysbot+gh@w3.org>
It's not a circular definition, because (as currently specced) an `RTCRtpTransceiver` has a 1:1 mapping with an `RTCRtpReceiver`, which has a 1:1 mapping with a `MediaStreamTrack`. `sender.replaceTrack(null)` will not make the receiver's track `null`. `transceiver.receiver.track.kind` will still be `"video"`.

Though, with some things being proposed recently (such as https://github.com/w3c/webrtc-pc/issues/1181), those 1:1 mappings could change. So defining the `kind` independently probably wouldn't hurt us.

GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1472#issuecomment-314182333 using your GitHub account
Received on Monday, 10 July 2017 17:48:44 UTC

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