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

Want audio/video recording dynamically #609

Open
Trushal0066 opened this issue Sep 3, 2021 · 3 comments
Open

Want audio/video recording dynamically #609

Trushal0066 opened this issue Sep 3, 2021 · 3 comments

Comments

@Trushal0066
Copy link

Description

I have used video js with recording and customize my controls for stop display video and audio. My requirement is when I stop video then record only audio and when I stop audio then record only video.

Please let me know how can I achieve this ?

Steps to reproduce

I have tried with record.stop() method but it will stop both audio ad video

Results

Expected

I can stop recording for audio or video any time during my streaming.

Actual

Please describe what actually happened.

Error output

If there are any errors at all, please include them here.

Additional Information

N/A

@thijstriemstra
Copy link
Member

My requirement is when I stop video then record only audio and when I stop audio then record only video.

you'll have to explain your usecase better, maybe in steps, because not sure what you want to do.

@Trushal0066
Copy link
Author

Thanks @thijstriemstra for the prompt response.

I have implement video js for live streaming with recording. I have added two option in player audio and video. when streaming is started then recording started with audio and video both. But when user stop video then recording should work only for audio and when when user stop audio then recording should work only for video. Please let me know still you are not getting my point.

Thanks for the support !

@StephenVinuya
Copy link

I need this as well, and also why camera stops when player.record().stop() is triggered, shouldn't just stop recording ? not the whole camera ?

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

3 participants