-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using API, user must click toolbar icon for extension before start recording #85
Comments
@thebordella I noticed the same thing. I'm interested in using this as a way of recording video for selenium tests, but since selenium isn't able to interact with Chrome extensions it looks like it won't be a viable solution. |
那是否有其他的方案可以绕过此限制? 例如在页面中增加一个按钮,或者模拟触发 chrome. browserAction |
Using API to start recording from custom button, first time page is loaded after browser launch, extension does not 'wake up' to start recording.
recorder = new RecordRTC_Extension(recordConfig);
recorder.startRecording();
Config is { enableTabCaptureAPI: true }
Above code causes extension to send post message 'startRecording' but never 'startedRecording'.
If user clicks "R" icon in toolbar for extension, then clicks custom button, API works fine and recording starts correctly. Next time browser launched, same problem.
Am I doing something wrong? Why does icon need to be clicked to start recording?
The text was updated successfully, but these errors were encountered: