Closed Bug 1382206 Opened 7 years ago Closed 7 years ago

MediaRecorder.onpause

Categories

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

55 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1296531

People

(Reporter: opensource.publicocean0, Unassigned)

Details

(Whiteboard: [need info pehrsons 2017-07-25])

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce:

MediaRecorder.onpause event dont works


Actual results:

When i press pause the callback MediaRecorder.onpause is not called


Expected results:

MediaRecorder.onpause  is called
by my test ... the problem is not in onpause but in pause call. Event if i execute .pause() ... the video recording is not paused
Component: Untriaged → WebRTC: Audio/Video
Product: Firefox → Core
Andreas is this covered by your one pending bug fix for media recorder or a new bug?
Whiteboard: [need info pehrsons 2017-07-25]
Yes, bug 1296531 will fix pause not working. Bug 1363915 will implement the pause and resume events. I think (just back from PTO so pardon my memory if it's wrong) you can work around the pause issue by wrapping your MediaStream in `new MediaStream(stream)`. It will use a different code path when recorded (if your original stream was straight from getUserMedia, for instance). Do note that in this mode we have sometimes experienced glitching audio, but that also seems heavily dependent on the target machine.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.