Open Bug 1224079 Opened 9 years ago Updated 2 years ago

[meta] Improve reliability and usability of MediaRecorder

Categories

(Core :: Audio/Video: Recording, defect)

defect

Tracking

()

People

(Reporter: pehrsons, Unassigned)

References

(Depends on 4 open bugs)

Details

(Keywords: meta)

Off the top of my head, some things we should do:
> * [Spec][Implementation] Handle resolution changes in the recorded video track.
>   - Could be handled differently depending on mime type/container support for resolution changes
>   - The user should be able to choose strategy
> * [Spec][Implementation] Handle multiple tracks of the same type.
> * [Spec][Implementation] Handle tracks ending without necessarily stopping the recorder - an ended track could just stop in the media file, or be replaced with black/silence until all tracks end
> * [Spec][Implementation] Handle track set changes to the recorded MediaStream gracefully (not necessarily in the same file)
>   - Again, the user should be able to choose strategy if there are many
>   - An obvious way of doing it would be to stop the current recording and start a new one with the new track set, without losing any data in between
> * [Playback] Handle playing back resolution changes in WebM/VP8 files
> * [Test] We need mediarecorder tests that actually test playback of recordings (and verify content)!!
(In reply to Andreas Pehrson [:pehrsons] (Telenor) from comment #0)
> Off the top of my head, some things we should do:
> > * [Spec][Implementation] Handle resolution changes in the recorded video track.
> >   - Could be handled differently depending on mime type/container support for resolution changes
> >   - The user should be able to choose strategy

Some control might be helpful but the most important thing is to do something sensible by default. jya says that both WebM and MP4 can handle size changes (fragmented MP4 that is), so that's probably what we want ... though we need to check how well players support size changes and think about what we should do if they don't.
Another thing,

The current spec says no methods should throw but raise error events instead. We do a lot of throwing at the moment.
Depends on: 1232043
Depends on: 1232044
Depends on: 1232045
Depends on: 1275858
Depends on: 1275856
Depends on: 1231848
Depends on: 1296531
Depends on: 1412302
Depends on: 1411152
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.