3 ms·
You can use these constraints in firefox: var mediaConstraints = { video: { mozMediaSource: "sc
by cpncrunch 9y ago
You can use these constraints in firefox:
var mediaConstraints =
{
video:
{
mozMediaSource: "screen",
mediaSource: "screen"
}
};
Alternatively, replace "screen" with "window" to share an individual window. (Unfortunately there is no single constraint that will allow the user to choose either window or screen, as there is on Chrome).
- nomercy400 9y agoAnd you have to set a value in about:config to whitelist your domain. Or has that changed?
- cpncrunch 9y agoThat changed a few months ago...no need to change any values or whitelist anything now. However, the UI does default to "no screen", so the user has to specifically choose "entire screen" from the drop-down list.