Closed Bug 1373364 Opened 7 years ago Closed 7 years ago

Uncaught (in promise) NavigatorUserMediaError {name: "TrackStartError", message: "", constraintName: ""}

Categories

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

53 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: guest271314, Unassigned)

Details

(Whiteboard: needinfo 2017-06-15 to reporter)

User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/58.0.3029.110 Chrome/58.0.3029.110 Safari/537.36

Steps to reproduce:

1. Call navigator.getUserMedia({audio:true})
2. Set Monitor Built-in Audio Analog Stereo at RecordStream option at Recording tab of system Sound Settings
3. Call MediaRecorder with MediaStream from navigator.getUserMedia({audio:true}) call as 

Operating System: Linux 4.8.0-54-lowlatency

Firefox version: 53.0.3 (32-bit)


Actual results:

The resulting Blob of recorded media is played at HTMLMediaElement contains reverb and input from system microphone. When the page is refreshed and permission is granted again for user media, error Uncaught (in promise) NavigatorUserMediaError {name: "TrackStartError", message: "", constraintName: ""}.  

RecordStream option set to Monitor of Built-in Audio Analog Stereo set at OS connection is removed from OS Sound Settings GUI. 

Refresh again repeating steps above results in Firefox closing.

If both Chromium and Firefox are tried using above settings, after Firefox closes Chromium receives error Uncaught (in promise) NavigatorUserMediaError {name: "TrackStartError", message: "", constraintName: ""}.


Expected results:

At Chromium 58 MediaRecorder records the output to speakers, without reverb or input from system microphone, and does not remove option from system Sound Setting or close browser.
Component: Untriaged → WebRTC
Product: Firefox → Core
Could you provide a testcase, please?
Flags: needinfo?(guest271314)
Component: WebRTC → WebRTC: Audio/Video
Whiteboard: needinfo 2017-06-15 to reporter
(In reply to Loic from comment #1)
> Could you provide a testcase, please?

What should be included in test case?
(In reply to Loic from comment #1)
> Could you provide a testcase, please?

https://github.com/guest271314/SpeechSynthesisRecorder/blob/master/SpeechSynthesisRecorder.js
Flags: needinfo?(guest271314)
(In reply to Loic from comment #1)
> Could you provide a testcase, please?

The error is not occurring at this version, though recording is choppy. https://plnkr.co/edit/Z3GoftdQpQ9DKXSJs2uK?p=preview. Made several versions, one of which produced result described at bug. If cannot find exact version which produced error will remove bug.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.