Webrtc screen sharing

Issues when playing with WebRTC Player

Webrtc screen sharing

Postby rpsingh » Sun Oct 07, 2018 11:51 am

Hi,

How can we share screen in webrtc to unreal media server?
rpsingh
 
Posts: 0
Joined: Sun Oct 07, 2018 11:47 am

Re: Webrtc screen sharing

Postby admin » Sun Oct 07, 2018 12:43 pm

Hi,

You can use getUserMedia API with browser built-in screen capture:
var mediaConstraints = {video: { chromeMediaSource: "screen"}};
or...... var mediaConstraints = {video: { mediaSource: "screen"}};
navigator.getUserMedia(mediaConstraints);
So modify WebRTC publishing page, take example from:
https://secure28.securewebsession.com/u ... blish.html
and use screen instead of other video sources.

Another method is to use UScreenCapture filter as a video source on a WebRTC publishing web page:
http://www.umediaserver.net/components/index.html

Note that you need x64 UScreenCapture for 64-bit browsers.

And of course you can use UScreenCapture (x86) in Unreal Live Server to stream screen capture to WebRTC player in web page.
admin
Site Admin
 
Posts: 1022
Joined: Fri Aug 21, 2009 10:13 am

Re: Webrtc screen sharing

Postby rpsingh » Mon Oct 08, 2018 12:33 am

Hi,

Can you include webrtc screen sharing example in your sdk for media server,it will help us to understand better.

Rudra.
rpsingh
 
Posts: 0
Joined: Sun Oct 07, 2018 11:47 am

Re: Webrtc screen sharing

Postby admin » Tue Oct 09, 2018 1:46 pm

admin
Site Admin
 
Posts: 1022
Joined: Fri Aug 21, 2009 10:13 am

Re: Webrtc screen sharing

Postby rpsingh » Thu Oct 18, 2018 6:23 am

Ok.

But you should include these basic features example in your sdk like screen-sharing,audio/video mute of publisher of webrtc. If customer is purchasing your media server which is a paid solution, then they don't like to waste their time in doing r&d for getting these basic features of webrtc up and running with your server.

Hope you take this as a feedback from your customer.
rpsingh
 
Posts: 0
Joined: Sun Oct 07, 2018 11:47 am

Re: Webrtc screen sharing

Postby admin » Thu Oct 18, 2018 8:57 am

The problem is - these features are not so basic and stable, and it's done differently in different browsers for now.
There is a new RFC spec for this:
https://w3c.github.io/mediacapture-screen-share/

so Screen Capture in browsers is likely to change in the near future.
admin
Site Admin
 
Posts: 1022
Joined: Fri Aug 21, 2009 10:13 am


Return to Playing with WebRTC Player

Who is online

Users browsing this forum: No registered users and 0 guests