Closed Bug 900427 Opened 11 years ago Closed 11 years ago

Media Recording - encoder can't be cancelled

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED INVALID
blocking-b2g koi+

People

(Reporter: rlin, Assigned: shelly)

Details

(Whiteboard: [FT: Media Recording, Sprint])

Try to call the cancel method in MediaRecorder's destructor, but I found the recorder still can't unlock the monitor in encoder.
Assignee: nobody → slin
Blocks: MediaEncoder
No longer blocks: MediaRecording
I've verified the MediaEncoder::Cancel() works fine. Once you call encoder->Cancel() on the main thread, encoder then stops the wait on encoder thread, and the call to encoder->IsShutdown() returns true (also happens on the encoder thread). Recorder might want to deal with the destruction after encoder has completely shutdown, just like stopping recorder in normal case?
blocking-b2g: --- → koi+
Whiteboard: [FT: Media Recording, Sprint]
MediaEncoder->Cancel() is working as design.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
No longer blocks: MediaEncoder
Component: Video/Audio → Video/Audio: Recording
You need to log in before you can comment on or make changes to this bug.