Skip to content
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

setAudioInput broken? #649

Closed
pork1977 opened this issue May 24, 2022 · 2 comments
Closed

setAudioInput broken? #649

pork1977 opened this issue May 24, 2022 · 2 comments

Comments

@pork1977
Copy link

pork1977 commented May 24, 2022

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..

 // 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.

image

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 :)

@thijstriemstra
Copy link
Member

@thijstriemstra
Copy link
Member

no feedback, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants