Re: Is Remote Desktop Sharing Possible with Webrtc?

1,906 views
Skip to first unread message

Scott Haynes

unread,
Aug 2, 2012, 3:29:12 PM8/2/12
to discuss...@googlegroups.com
Hey Colm, 
     HTML 5 rocks, and I wouldn't use webrtc for desktop sharing.  Try implementing noVNC(or one of the other open source VNC technologies), along with webrtc.  Just think about it as another canvas.  ;)

Scott

On Monday, July 9, 2012 10:09:51 AM UTC-4, Colm wrote:
Hi guys,

Could anyone tell me if it might be possible to integrate a Remote Desktop Sharing functionality within Webrtc?

One response I received from an associate was the following: 
                "the browser page is running in "sand-box" and to take a "screenshot" from the desktop the process should have enough permissions. Sand-boxed page doesn't have these permissions"

Thanks in advance,

Colm

Calvin Walton

unread,
Aug 2, 2012, 3:47:12 PM8/2/12
to discuss...@googlegroups.com
On Thu, 2012-08-02 at 12:29 -0700, Scott Haynes wrote:
> Hey Colm,
> HTML 5 rocks, and I wouldn't use webrtc for desktop sharing. Try
> implementing noVNC(or one of the other open source VNC technologies), along
> with webrtc. Just think about it as another canvas. ;)

The viewing side of desktop sharing is relatively easy to implement in
Javascript, yes; there are many good solutions to that. However,

> On Monday, July 9, 2012 10:09:51 AM UTC-4, Colm wrote:
> > Could anyone tell me if it might be possible to integrate a Remote Desktop
> > Sharing functionality within Webrtc?
> >
> > One response I received from an associate was the following:
> > "the browser page is running in "sand-box" and to take a
> > "screenshot" from the desktop the process should have enough permissions.
> > Sand-boxed page doesn't have these permissions"

It sounds like Colm wants to run the *sharing* side of the desktop
sharing in the web browser. This just isn't feasible at the moment; no
browsers have any javascript APIs to allow websites to capture the
screen outside the browser window. (BigBlueButton uses a Java applet
right now, other online screen-sharing sites install browser extensions
with native code or require installing local applications.)

Although, if browsers did add them, such APIs might end up looking a bit
like webrtc's getUserMedia...

--
Calvin Walton
BigBlueButton developer at Blindside Networks
http://www.blindsidenetworks.com/

Colm Murphy

unread,
Aug 6, 2012, 5:52:37 AM8/6/12
to discuss...@googlegroups.com, pushy...@gmail.com
Hi Pushyamitra,

Thanks for the feedback. It is a pity a recording feature is not already included but hopefully the this will be introduced sooner rather than later!

Cheers,
Colm

On Sun, Aug 5, 2012 at 1:52 PM, Pushyamitra Navare <pushy...@gmail.com> wrote:
Hi Colm.


On Monday, 9 July 2012 19:39:51 UTC+5:30, Colm wrote:
Hi guys,

Could anyone tell me if it might be possible to integrate a Remote Desktop Sharing functionality within Webrtc?

It is not possible as of today, but it is on the roadmap according to: http://blog.chromium.org/2012/04/chromes-webrtc-roadmap.html
 

One response I received from an associate was the following: 
                "the browser page is running in "sand-box" and to take a "screenshot" from the desktop the process should have enough permissions. Sand-boxed page doesn't have these permissions"


Yes, that is correct. Assuming you want to share screen outside browser too, you will need a java applet or activex or similar on the sharing side. It is fairly simple to implement viewing side using HTML5 canvas element. ( At least that is what we have done right now at http://skreen.me )

I am also waiting eagerly for screen sharing implementation/API to be available in webrtc.

Thanks,
Pushyamitra


 

--
 
 
 

Hans Anderson

unread,
Feb 11, 2013, 7:58:52 PM2/11/13
to discuss...@googlegroups.com, pushy...@gmail.com
Hi, guys. It IS possible if you hack the native api to use a directshow screen capture filter or write the screen (GDI) win32 code yourself... there are some good examples out there but none directly intended for integration with webrtc. There is clearly a "DesktopCapturer" (or ScreenCapturer) within the native code, but it's empty.
Can the webrtc authors comment, please?
Best,
H
Reply all
Reply to author
Forward
0 new messages