- From: Renjith via GitHub <sysbot+gh@w3.org>
- Date: Sat, 14 Nov 2020 09:06:29 +0000
- To: public-webrtc-logs@w3.org
@henbos Thanks for your reply! Yes, I can use the `RTCRtpSender.replaceTrack` promise resolution as a callback and confirmation from the senders end. But how could I track it from receiver's end? Is there any `RTCRtpReceiver.onreplacetrack` event currenlty available? For example: Sender replacing a track: ```js RTCRtpSender.replaceTrack(mytrack) ``` Receiver listen to the track replacement: ```js RTCRtpReceiver.onreplacetrack = () => { // do something when sender replaced the track } ``` Thanks -- GitHub Notification of comment by renjithspace Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2601#issuecomment-727171710 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 14 November 2020 09:06:31 UTC