[pulseaudio-tickets] [Bug 39797] module-cork-music-on-phone unable to send CORK event to pulsesink for PA_STREAM_START_CORKED streams
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 23 01:22:21 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=39797
--- Comment #8 from Himanshu Chug <himanshu.chug at gmail.com> 2011-08-23 01:22:19 PDT ---
(In reply to comment #7)
> I'm not sure if the following solution works in this case. If I understood
> correctly, the problem here is that module-cork-music-on-phone sends a cork
> request to the client, but the client uncorks the stream soon after that.
The CORK request is not reaching to the client (gst pulse-sink in this case).
Please check the GST Logs for "music" stream in two different scenarios below:
(I have kept prints for ENTRY/EXIT/CORK/UNCORK in
gst_pulsering_stream_event_cb() function )
I.
Playback first music stream and then phone stream arrives: Works fine and we
are getting CORK request for music stream.
# gst-launch playbin2 uri=file:///userdata/media/phone/Music/Raindrops.mp3
audio
-sink="pulsesink role="music""
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
DBG: pa_stream_new_with_proplist: 99: name = Playback Stream
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
gst_pulsering_stream_event_cb: ENTRY
gst_pulsering_stream_event_cb: got request for CORK
Setting state to PAUSED as requested by
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstBin:bin0/GstPulseSink:pulsesink0...
gst_pulsering_stream_event_cb: EXIT
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 22206207274 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
II.
Playback Order: Phone stream already ongoing and then Music stream starts: the
streams were getting mixed, We are NOT getting CORK request here.
Getting "got request for UNCORK" after killing "phone" stream.
# gst-launch playbin2 uri=file:///userdata/media/phone/Music/Raindrops.mp3
audio
-sink="pulsesink role="music""
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
DBG: pa_stream_new_with_proplist: 99: name = Playback Stream
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
gst_pulsering_stream_event_cb: ENTRY
gst_pulsering_stream_event_cb: got request for UNCORK
gst_pulsering_stream_event_cb: EXIT
Setting state to PLAYING as requested by
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstBin:bin0/GstPulseSink:pulsesink0...
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 16281646726 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the pulseaudio-bugs
mailing list