You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the setAudioOutput(device_id) is broken as it's giving a "player is not defined" (even though I don't reference it as player) error in the console whenever I try it using the code below..
// get data
var videoRecorder = instance.data.videoRecorder.record();
var device_id = properties.device_id;
if (device_id) {
videoRecorder.setAudioOutput(device_id);
}
I use the above in a similar way for changing the audioInput and videoIput devices which produce no errors, they work perfectly. I just can't figure out what's causing the above.
I'm just wondering if this is indeed a bug?
I'm currently trying with the latest 4.5 release, hoping the info above is enough and if it is a bug can be resolved in 4.6 when it's released :)
The text was updated successfully, but these errors were encountered:
Hi,
It looks like the setAudioOutput(device_id) is broken as it's giving a "player is not defined" (even though I don't reference it as player) error in the console whenever I try it using the code below..
I use the above in a similar way for changing the audioInput and videoIput devices which produce no errors, they work perfectly. I just can't figure out what's causing the above.
Using the demo page also produces an error
https://collab-project.github.io/videojs-record/demo/change-audio-output.html
I'm just wondering if this is indeed a bug?
I'm currently trying with the latest 4.5 release, hoping the info above is enough and if it is a bug can be resolved in 4.6 when it's released :)
The text was updated successfully, but these errors were encountered: