owt-client-javascript icon indicating copy to clipboard operation
owt-client-javascript copied to clipboard

Switch audio / video input without republishing

Open philipgiuliani opened this issue 4 years ago • 7 comments

Hi, I couldn't find an API to update the Video / Audio source without creating a new Owt.Base.LocalStream and calling conference.publish again.

Is implementing something this without republishing currently possible? Screenshot 2021-01-20 at 16 31 02

philipgiuliani avatar Jan 20 '21 15:01 philipgiuliani

Hi, replaceTrack is not available right now.

jianjunz avatar Jan 21 '21 06:01 jianjunz

Hi @jianjunz, thanks for the quick answer. Is there any timeline when this feature will be available?

philipgiuliani avatar Jan 21 '21 14:01 philipgiuliani

@jianjunz +1 👍 for this feature

andreasunterhuber avatar Jan 22 '21 14:01 andreasunterhuber

+1

kurapatijayaram avatar Feb 28 '21 18:02 kurapatijayaram

I don't have an ETA for this feature, but we're planning an API update for client SDKs to support new features enabled at server side. Exposing either RTCPeerConnection or RTCTransceiver is one of the change I would like to make.

jianjunz avatar Mar 03 '21 07:03 jianjunz

+1

peererror avatar Mar 17 '21 08:03 peererror

This should now be possible to implement thanks to the following commit: https://github.com/open-webrtc-toolkit/owt-client-javascript/commit/a3659b7756257b55772047a21c065b41af0998e0

Is that correct @jianjunz ?

philipgiuliani avatar May 27 '21 09:05 philipgiuliani