Closed
Bug 900427
Opened 11 years ago
Closed 11 years ago
Media Recording - encoder can't be cancelled
Categories
(Core :: Audio/Video: Recording, defect)
Core
Audio/Video: Recording
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.
Reporter | ||
Updated•11 years ago
|
Blocks: MediaRecording
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → slin
Updated•11 years ago
|
Assignee | ||
Comment 1•11 years ago
|
||
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?
Updated•11 years ago
|
blocking-b2g: --- → koi+
Whiteboard: [FT: Media Recording, Sprint]
Reporter | ||
Comment 2•11 years ago
|
||
MediaEncoder->Cancel() is working as design.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Updated•11 years ago
|
No longer blocks: MediaEncoder
Updated•11 years ago
|
Component: Video/Audio → Video/Audio: Recording
You need to log in
before you can comment on or make changes to this bug.
Description
•