AgoraIO-Community / AgoraWebSDK-NG

The Next Generation of Agora Web SDK
https://agoraio-community.github.io/AgoraWebSDK-NG/
161 stars 75 forks source link

RTCPeerConnection.removeTrack does not implement interface RTCRTPSender #56

Closed utsavtiwary04 closed 4 years ago

utsavtiwary04 commented 4 years ago

Describe the bug

Encountering a certain error while doing setEnabled of localtrack

SDK Logs

You should call enableLogUpload to enable log upload to Agora's Log Server.

Channel: C655-L5fe1

UID: 101

Platform and Browser: Web, Chrome

SDK Version: Agora SDK NG

To Reproduce

Steps to reproduce the behavior:

Trigger setEnabled(true/false) on a published video/audio track WhatsApp Image 2020-08-06 at 01 01 45

disoul commented 4 years ago

Are you using Chrome's mobile dev tools? That will change your UserAgent and cause this error.

utsavtiwary04 commented 4 years ago

Understood @disoul . What's the resolution ?

disoul commented 4 years ago

Do not use Chrome's mobile dev tools to change your UserAgent to iOS Safari. You should select an Android device to avoid this error. (The default UA for Android device is Chrome).