diwatu
diwatu

Reputation: 5699

Could one WebRtcConnection handle both screen sharing and camera video?

I am trying to create a peer to peer meeting basing on WebRtc, I am able to see him on his camera, or watch his shared screen, but may I watch his screen and meanwhile watching him on his camera?

Upvotes: 1

Views: 1264

Answers (1)

Muaz Khan
Muaz Khan

Reputation: 7236

Try this demo: https://www.webrtc-experiment.com/demos/screen-and-video-from-single-peer.html

For offerer; it attaches two unique MediaStream objects:

  1. Audio+Video
  2. Screen

Remember, Firefox doesn't support this feature, yet!

Upvotes: 2

Related Questions