mozilla / cubeb-pulse-rs

ISC License
15 stars 17 forks source link

Fail to init pulse context in Firefox-78.3 ESR #65

Open ChunMinChang opened 3 years ago

ChunMinChang commented 3 years ago

Mirror from BMO 1682213

$ MOZ_LOG="cubeb:4" firefox --new-instance
[Child 4038: MediaPlayback #1]: I/cubeb media.cubeb.sandbox: false
[Child 4038: MediaDecoderStateMachine #1]: I/cubeb media.cubeb.sandbox: false
[Child 4038, MediaDecoderStateMachine #1] WARNING: 7f5f79ec7870 Can't get cubeb context!: file /builddir/build/BUILD/firefox-78.4.0/dom/media/AudioStream.cpp, line 298
[Child 4038, MediaDecoderStateMachine #1] WARNING: Decoder=7f5f79fc7000 [OnMediaSinkAudioError]: file /builddir/build/BUILD/firefox-78.4.0/dom/media/MediaDecoderStateMachine.cpp, line 3891
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[Child 4038, MediaDecoderStateMachine #1] WARNING: Decoder=7f5f79fc7000 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builddir/build/BUILD/firefox-78.4.0/dom/media/MediaDecoderStateMachine.cpp, line 3470
IPDL protocol error: Handler returned error code!

###!!! [Parent][DispatchAsyncMessage] Error: PLayerTransaction::Msg_ReleaseLayer Processing error: message was deserialized, but the handler returned false (indicating failure)

IPDL protocol error: Handler returned error code!

It seems the Firefox-78.3 ESR fails to initialize the pulse context.