Skip to content

Handle for device permission before start record #468

@freedytag

Description

@freedytag

Description

When starting the record, better add a handle for device permission is author not.

Steps to reproduce

For audio-only case, when I click start record middle button.
And press the record, and then stop record.
Now it was finished record audio success.
Now If I cancel the permission from browser address bar(Firefox)
(That is also same as video case if the user warry the personal privacy issue)
And then press the start record button.
And stop the record button.
Now try to play the record result (It was empty audio)

Results

Expected

If permission was cancel, when press record, better ask permission again.

Actual

It did not ask permission again. and record an empty audio

Error output

Not error output.

Additional Information

That was better stop the device after the user click "stop record", special for video record, as user will warry it about the personal privacy.

versions

videojs

VideoJS 7.7.5
VideoJS record 3.11.0

browsers

Firefox 76.0

OSes

Mac/Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions