jcefmaven / jcefmaven

Maven artifacts for JCef

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NotAllowedError: Permission denied

xcmonline opened this issue · comments

commented

use webRTC open video.

error: NotAllowedError: Permission denied

1、How to add the "enable-media-stream" parameter and set its value to 1
2、How to add the "enable-system-flash" parameter and set its value to 1
3、How to add the "enable-speech-input" parameter and set its value to 1

Why is this marked as a bug? You can also add a question label if your problem concerns a question.

You can get a mutable list of arguments by using the getJCefArgs() method in the builder. You can then add your parameters to that list.

https://github.com/jcefmaven/jcefmaven/blob/master/jcefmaven/src/main/java/me/friwi/jcefmaven/CefAppBuilder.java#L111

commented

thanks.
mark.

        builder.getJcefArgs().add("--enable-media-stream");
        builder.getJcefArgs().add("--enable-usermedia-screen-capturing");
        builder.getJcefArgs().add("--enable-system-flash");
        builder.getJcefArgs().add("--enable-speech-input");