question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Switch Camera During Call

See original GitHub issue

I want to switch camera stream while in a call, without closing the connection to the other peer. Is this possible?

Currently doing something like this:

navigator.webkitGetUserMedia({video: true, audio: true}, (stream) => {
  peer.call(key, stream);
});

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

12reactions
afrokickcommented, Mar 27, 2019

You can use replaceTrack of RTCRtpSender.

this.call.peerConnection.getSenders()[0].replaceTrack()

9reactions
soulpcbrcommented, May 30, 2017

It is not possible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Switch from front to back camera during a video call
While on a video call: Tap underneath the self preview to switch to the back camera. Tap it again to switch back to...
Read more >
Change from front to rear camera during a skype call
You can change between back/front by tapping the camera icon while in a call. Please click "Me Too" if you found my answer...
Read more >
Use Camera Switches - Android Accessibility Help
Set up Camera Switches & assign facial gestures to action · On your device, open the Settings app. · Tap Accessibility. · Under...
Read more >
How to Switch the Skype Camera on Android - wikiHow Tech
Tap the white video camera icon with arrows around it. It's located next to a speech bubble icon in the upper-right corner of...
Read more >
How to properly switch camera during call - General
on Chrome calling another client with Chrome it works well but not if I try it when in the call there are Chrome...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found