W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > August 2018

Re: [webrtc-pc] pc.getSenders() and getReceivers() include stopped ones.

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Thu, 30 Aug 2018 13:20:50 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-417316716-1535635249-sysbot+gh@w3.org>
@alvestrand You mean if someone does
```js
pc.getReceiver()[0].track.stop()
```
...? An odd thing to do.

WebRTC doesn't mention this, so according to mediacapture-main, the `receiver.track` just ends (its *readyState* `"ended"`) permanently.

Since this renders the transceiver useless, should we stop the transceiver from this?

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1975#issuecomment-417316716 using your GitHub account
Received on Thursday, 30 August 2018 13:20:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:05 UTC