Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound stops working and gives errors when turned on and off using --speaker-codec wavpack. #297

Closed
totaam opened this issue Mar 19, 2013 · 20 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Mar 19, 2013

Issue migrated from trac ticket # 297

component: client | priority: major | resolution: fixed

2013-03-19 20:28:53: aradtech created the issue


Using youtube on video , playing with speaker on /off features , got error

2013-03-19 13:23:54,980 sound source pipeline error: GStreamer encountered a general stream error. / 
    \..\..\..\Source\gstreamer\libs\gst\base\gstbasesrc.c(2563): \
    gst_base_src_loop (): /GstPipeline:pipeline0/GstAppSrc:src: \
    streaming task paused, reason not-linked (-1)
2013-03-19 13:23:55,474 push-buffer error: <enum GST_FLOW_WRONG_STATE of type GstFlowReturn>
2013-03-19 13:23:55,973 push-buffer error: <enum GST_FLOW_WRONG_STATE of type GstFlowReturn>
2013-03-19 13:23:56,469 push-buffer error: <enum GST_FLOW_WRONG_STATE of type GstFlowReturn>
2013-03-19 13:23:56,963 push-buffer error: <enum GST_FLOW_WRONG_STATE of type GstFlowReturn>
2013-03-19 13:23:57,463 push-buffer error: <enum GST_FLOW_WRONG_STATE of type GstFlowReturn>
2013-03-19 13:23:57,963 push-buffer error: <enum GST_FLOW_WRONG_STATE of type GstFlowReturn>
2013-03-19 13:23:58,464 push-buffer error: <enum GST_FLOW_WRONG_STATE of type GstFlowReturn>
2013-03-19 13:23:58,864 push-buffer error: <enum GST_FLOW_WRONG_STATE of type GstFlowReturn>

over and over in console

turning off speaker and back on would produce same results. Unable to get sound to work in that session again.

Server and client 3018 build date 201303-19

Gstreamer client 0.10.31 Server 0.10.36
Pygst Client 0.10.20 Server 0.10.22

Server Codecs mp3,opus,flac, wavpack,wav,speex
Client mp3,flac,wavpack,wav,speex active wavpack

Win 7 64

@totaam
Copy link
Collaborator Author

totaam commented Mar 20, 2013

2013-03-20 04:20:59: antoine changed status from new to accepted

@totaam
Copy link
Collaborator Author

totaam commented Mar 20, 2013

2013-03-20 04:20:59: antoine changed owner from ** to antoine

@totaam
Copy link
Collaborator Author

totaam commented Mar 20, 2013

2013-03-20 04:20:59: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Mar 20, 2013

2013-03-20 04:21:18: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Mar 20, 2013

2013-03-20 10:53:24: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Mar 20, 2013

2013-03-20 10:53:24: antoine commented


See #298, looks like gstreamer has some serious problems on win32..

@totaam
Copy link
Collaborator Author

totaam commented Mar 20, 2013

2013-03-20 18:01:59: antoine changed status from accepted to assigned

@totaam
Copy link
Collaborator Author

totaam commented Mar 20, 2013

2013-03-20 18:01:59: antoine changed owner from antoine to aradtech

@totaam
Copy link
Collaborator Author

totaam commented Mar 20, 2013

2013-03-20 18:01:59: antoine commented


Maybe you were lucky, my testing is much much worse: as soon as I stop the sound, all the windows and the applet stop responding, the UI thread is blocked as per #298.
Also it looks to me like this has nothing to do with wavpack and happens with every other codec on win32, right? (please confirm this is isn't a regression caused by recent changes done to accomodate #298 - not that we can easily undo them to get a major advantage, it's still a datapoint)

On Linux, you need r3031 to restart sound, but there it works reliably.

Trying #299 first might be a good way forward.

@totaam
Copy link
Collaborator Author

totaam commented Mar 21, 2013

2013-03-21 11:37:02: antoine commented


r3032 removes the ability to turn the speaker on or off for win32 hosts since it cannot be made to work reliably with "current" available gstreamer builds, will follow up in #299 or #300.

Please test an close.

@totaam
Copy link
Collaborator Author

totaam commented Mar 25, 2013

2013-03-25 23:35:35: aradtech changed status from assigned to closed

@totaam
Copy link
Collaborator Author

totaam commented Mar 25, 2013

2013-03-25 23:35:35: aradtech changed resolution from ** to fixed

@totaam
Copy link
Collaborator Author

totaam commented Apr 17, 2013

2013-04-17 15:44:53: totaam commented


Restored the ability to start/stop sound in r3095 - seems to work again since r3092 fixed the signal stuff.

@totaam
Copy link
Collaborator Author

totaam commented Apr 17, 2013

2013-04-17 17:09:21: totaam commented


Err, just happened again - but I swear it was working OK when I committed r3095!
(looks like I'll have to undo the undo...)

@totaam
Copy link
Collaborator Author

totaam commented Apr 17, 2013

2013-04-17 17:10:01: totaam changed status from closed to reopened

@totaam
Copy link
Collaborator Author

totaam commented Apr 17, 2013

2013-04-17 17:10:01: totaam changed resolution from fixed to **

@totaam
Copy link
Collaborator Author

totaam commented Apr 18, 2013

2013-04-18 08:51:38: totaam commented


This one is so hit and miss that I am not at all sure that I have found the cause, or the solution.

[[BR]]

See the r3100 commit message for the latest attempts at allowing sound and ^C to coexist on win32.

@totaam
Copy link
Collaborator Author

totaam commented Apr 19, 2013

2013-04-19 00:29:26: afarr changed status from reopened to closed

@totaam
Copy link
Collaborator Author

totaam commented Apr 19, 2013

2013-04-19 00:29:26: afarr changed resolution from ** to fixed

@totaam
Copy link
Collaborator Author

totaam commented Apr 19, 2013

2013-04-19 00:29:26: afarr commented


Seems to work swimmingly now. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant