<div class="gmail_quote"><span style="color:rgb(51,51,153)"></span>Hi All,<br><br>I am trying to get stream from IP camera and re transmit it on the network. I have my application ready and it is working fine. <br><br>Below is my pipeline for the same. This pipeline is working fine with my current application.<br>
rtspsrc location=rtsp://<a href="http://root:root123@192.168.0.123:554/test_stream" target="_blank">root:root123@192.168.0.123:554/test_stream</a> name = d d. ! queue ! rtph264depay ! rtph264pay pt=96 name=pay0 d. ! queue ! rtpmp4gdepay ! rtpmp4gpay pt=97 name=pay1 <br>
<br>Now when I change any parameter of rtspsrc, i.e. if I change password for test_stream from root123 to root1234, my application crashes when any client(vlc) wants to connect to my application. <br><br>I have attached my server with the main loop with " g_main_loop_run (loop) " API. <br>
<br>In this API, I got crash and my application ends. I want to catch the error from RTSP Library in my application in g_main_loop_run() so that application exits with an error. How can I enable such error message?<br><br>
Can anyone please help me on the same?<br>
<br>Thanks in advance.<br><br>Regards,<span><font color="#888888"><br>Deep Shah<br>
</font></span></div><br>