Closed
Bug 1321714
Opened 9 years ago
Closed 9 years ago
getusermedia stream frozen with the warning log: No audio stream!: 'mDriver->mAudioStream
Categories
(Core :: Audio/Video: cubeb, defect, P1)
Tracking
()
RESOLVED
DUPLICATE
of bug 1339816
People
(Reporter: mchiang, Assigned: achronop)
References
Details
This issue can be reproduced with 100% rate.
Reproduce step:
1. Use nightly to browse https://webrtc.github.io/samples/src/content/getusermedia/record/
2. choose allow -> refresh the page -> choose allow -> refresh the page -> choose allow.
Then you will observe gUM failed and the following logs
[Child 15887] WARNING: No audio stream!: 'mDriver->mAudioStream || aOperation == INIT', file /Users/mozilla-tpe/codebase2/mozilla-central/dom/media/GraphDriver.cpp, line 490
[Child 15887] WARNING: Could not stop cubeb stream for MSG.: file /Users/mozilla-tpe/codebase2/mozilla-central/dom/media/GraphDriver.cpp, line 809
[Child 15887] WARNING: Could not create a cubeb stream for MediaStreamGraph, falling back to a SystemClockDriver: file /Users/mozilla-tpe/codebase2/mozilla-central/dom/media/GraphDriver.cpp, line 717
Updated•9 years ago
|
Rank: 15
Priority: -- → P1
| Assignee | ||
Comment 1•9 years ago
|
||
With cubeb log activated I get the following
[CubebOperation #4]: E/cubeb mozilla/firefox/media/libcubeb/src/cubeb_audiounit.cpp:1640: Cubeb stream (0x128312db0) stopped successfully.
[CubebOperation #4]: E/cubeb mozilla/firefox/media/libcubeb/src/cubeb_audiounit.cpp:1200: (0x128312db0) Opening input side: rate 44100, channels 1, format 2, latency in frames 512.
[CubebOperation #4]: E/cubeb mozilla/firefox/media/libcubeb/src/cubeb_audiounit.cpp:1215: (0x128312db0) Input device sampling rate: 44100.00
[CubebOperation #4]: E/cubeb mozilla/firefox/media/libcubeb/src/cubeb_audiounit.cpp:1226: (0x128312db0) Input buffer frame count 512.
[CubebOperation #4]: E/cubeb mozilla/firefox/media/libcubeb/src/cubeb_audiounit.cpp:1290: (0x128312db0) Input audiounit init successfully.
[CubebOperation #4]: E/cubeb mozilla/firefox/media/libcubeb/src/cubeb_audiounit.cpp:1297: (0x128312db0) Opening output side: rate 44100, channels 2, format 2, latency in frames 512.
[CubebOperation #4]: E/cubeb mozilla/firefox/media/libcubeb/src/cubeb_audiounit.cpp:1319: (0x128312db0) Output device sampling rate: 44100.00
[CubebOperation #4]: E/cubeb mozilla/firefox/media/libcubeb/src/cubeb_audiounit.cpp:1334: (0x128312db0) Output buffer frame count 512.
[CubebOperation #4]: E/cubeb mozilla/firefox/media/libcubeb/src/cubeb_audiounit.cpp:1359: (0x128312db0) Output audiounit init successfully.
[CubebOperation #4]: E/cubeb mozilla/firefox/media/libcubeb/src/cubeb_audiounit.cpp:718: System call failed: AudioObjectAddPropertyListener/input/kAudioDevicePropertyDeviceIsAlive (rv: 1852797029)
[CubebOperation #4]: E/cubeb mozilla/firefox/media/libcubeb/src/cubeb_audiounit.cpp:1536: (0x128312db0) Could not install the device change callback.
[Child 71107] WARNING: Could not create a cubeb stream for MediaStreamGraph, falling back to a SystemClockDriver: file /Users/achronopoulos/repos/mozilla/firefox/dom/media/GraphDriver.cpp, line 717
[Child 71107] WARNING: No audio stream!: 'mDriver->mAudioStream || aOperation == INIT', file /Users/achronopoulos/repos/mozilla/firefox/dom/media/GraphDriver.cpp, line 490
[Child 71107] WARNING: Could not stop cubeb stream for MSG.: file /Users/achronopoulos/repos/mozilla/firefox/dom/media/GraphDriver.cpp, line 809
from here it get in a loop with the same sequence of messages
The failure: [CubebOperation #4]: E/cubeb mozilla/firefox/media/libcubeb/src/cubeb_audiounit.cpp:718: System call failed: AudioObjectAddPropertyListener/input/kAudioDevicePropertyDeviceIsAlive (rv: 1852797029)
makes stream_init to fail and we try again and again.
My repo is not latest so it's not something new. I'll dig further to the failure.
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → achronop
| Reporter | ||
Comment 3•9 years ago
|
||
I can also reproduce this issue with https://jsfiddle.net/8sokhqv2/
Keep allowing permission for three times and repeat this by clicking Run button.
Updated•9 years ago
|
Flags: needinfo?(achronop)
| Assignee | ||
Comment 4•9 years ago
|
||
Sorry I did not updated the bug. I have fixed this still in my local queue. It will be included in the next push of fixes for cubeb.
Flags: needinfo?(achronop)
Updated•9 years ago
|
Component: WebRTC: Audio/Video → Audio/Video: cubeb
| Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•