HemaNage / gstreamer-java

Automatically exported from code.google.com/p/gstreamer-java
1 stars 0 forks source link

No callback on stream death #115

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run code from 
http://code.google.com/p/gstreamer-java/wiki/BusMessageTutorial modified to use 
URI to a stream rather than input file. Example code: 
http://pastebin.com/j0epCC9y
2. Kill the internet connection and wait for the buffer to empty.
3. Music will now stop without the java program noticing.

What is the expected output? What do you see instead?
Pause/buffering indications (at least some kind of response) from either 
Bus.STATE_CHANGED, Bus.ERROR or Bus.EOS.

Have you tried to verify this is a gstreamer-java specific issue, and not a
problem with the gstreamer framework itself?
Running "gst-launch-0.10 playbin2 uri=..." from the command line and disabling 
the internet _does_ result in a PAUSE/Buffering message, so the error can most 
likely be found in the java-bindings.

What version of the product are you using? On what operating system?
Tried both the 1.5 jar and a svn clone from 26-sept 2012. Debian 6. GStreamer 
0.10.30.

Original issue reported on code.google.com by sjef...@gmail.com on 26 Sep 2012 at 6:32

GoogleCodeExporter commented 8 years ago
could you tell me what is the result in case of c or command line? what kinf of 
message do you receive?

Original comment by lfar...@lfarkas.org on 26 Nov 2012 at 12:22

GoogleCodeExporter commented 8 years ago
Running "gst-launch-0.10 playbin2 uri=..." from the command line and than 
disabling the internet _does_ result in a PAUSE/Buffering message.

Original comment by sjef...@gmail.com on 26 Nov 2012 at 4:58

GoogleCodeExporter commented 8 years ago
Here is a screenshot from running the command 
http://postimage.org/image/l1w2zsf0h/

Original comment by sjef...@gmail.com on 27 Nov 2012 at 8:05