<br clear="all">Hi,<br><br>I&#39;m trying to detect an Bus state change or EOS in a rtp stream.<br><div>Is it a bug or i&#39;m doing this wrong? </div><div><br></div><div>I&#39;m trying this code but can&#39;t get any bus change...<br>

</div><br><br><br>pipeAudioSend = Pipeline.launch(pipeline.toString());<br>       Bus busAudioSend = pipeAudioSend.getBus();<br>       busAudioSend.connect(new Bus.ERROR() {<br><br>           public void errorMessage(GstObject source, int code,<br>

String message) {<br>               System.out.println(&quot;Error: code=&quot; + code + &quot; message=&quot;<br>+ message);<br>               System.out.println(&quot;Error: Source=&quot; + source.toString<br>());<br>           }<br>

       });<br>       busAudioSend.connect(new Bus.EOS() {<br><br>           public void endOfStream(GstObject source) {<br>               System.out.println(&quot;Got EOS!&quot;);<br>               Gst.quit();<br>           }<br>

       });<br>       busAudioSend.connect(new Bus.STATE_CHANGED() {<br><br>           public void stateChanged(GstObject source, State old,<br>State current, State pending) {<br>               if (source == pipeAudioSend) {<br>

                   System.out.println(&quot;Pipeline SEND state changed<br>from &quot; + old + &quot; to &quot; + current);<br>               }<br>           }<br>       });<br><br>thanks<br><br>