Changing Framerate and resolution for screen capture

957 views
Skip to first unread message

ambush276

unread,
Aug 10, 2013, 2:34:37 PM8/10/13
to discuss...@googlegroups.com
So, i know RDP or BFCP is not something currently implemented, but is there a way to change the resolution and frame rate for the screen capture API in labs currently? 


Adam Ullman

unread,
Aug 12, 2013, 7:48:17 AM8/12/13
to discuss...@googlegroups.com
I'm not sure about the framerate but I think you can set maxWidth and maxHeight on the mandatory video constraints to set the resolution in getUserMedia. At least I think it worked for me in Chrome Beta last I tried.

        video: {
            mandatory: {
                chromeMediaSource: "screen",
                maxWidth: screen.width,
                maxHeight: screen.height 
            },
            optional: []
        },
        audio: false

Vikas

unread,
Aug 12, 2013, 3:31:59 PM8/12/13
to discuss...@googlegroups.com
Hi,

I think you should be able to test frame rate constraints also for screen share. Just use the maxFrameRate or the minFrameRate constraints parameter.

/Vikas

bryand...@gmail.com

unread,
Aug 12, 2013, 3:39:08 PM8/12/13
to discuss...@googlegroups.com
Any update when it will be possible to choose a Window or Region for screen capture instead of the entire screen?


--
 
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages