<div dir="ltr"><a href="https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-rtspsrc.html">https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-rtspsrc.html</a><br><div><br></div><div>Look at the params of rtspsrc, there is user-id and user-pw</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 26, 2016 at 1:49 PM, Shrishty Deorari <span dir="ltr"><<a href="mailto:shrishty.deorari@vvdntech.com" target="_blank">shrishty.deorari@vvdntech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I am using Bosch camera and facing and Issue while trying to access the H264 stream via gstreamer.</div><div><br></div><div>Command I am using:</div><div>gst-launch-1.0 rtspsrc location=<rtsp://usrname:<wbr>password@<IP>> debug=1 ! decodebin ! autovideosink</div><div><br></div><div>The Result is:</div><div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is live and does not need PREROLL ...</div><div>Progress: (open) Opening Stream</div><div>Progress: (connect) Connecting to rtsp://<a href="mailto:service%3A@192.168.3.158" target="_blank">service:@192.168.3.158</a></div><div>Progress: (open) Retrieving server options</div><div>RTSP request message 0x7fab7d8d3cc0</div><div> request line:</div><div> method: 'OPTIONS'</div><div><b> uri: 'rtsp://<a href="http://192.168.3.158" target="_blank">192.168.3.158</a>' -------------> Not sending the authorisation details</b></div><div> version: '1.0'</div><div> headers:</div><div> key: 'User-Agent', value: 'RealMedia Player Version 6.0.9.1235 (linux-2.0-libc6-i386-gcc2.95)<wbr>'</div><div> key: 'ClientChallenge', value: '<wbr>9e26d33f2984236010ef6253fb1887<wbr>f7'</div><div> key: 'CompanyID', value: 'KnKV4M4I/B2FjJ1TToLycw=='</div><div> key: 'GUID', value: '00000000-0000-0000-0000-<wbr>000000000000'</div><div> key: 'RegionData', value: '0'</div><div> key: 'PlayerStarttime', value: '[28/03/2003:22:50:23 00:00]'</div><div> key: 'ClientID', value: 'Linux_2.4_6.0.9.1235_play32_<wbr>RN01_EN_586'</div><div> body:</div><div>RTSP response message 0x7fab7d8d3d20</div><div> status line:</div><div> code: '401'</div><div><b> reason: 'Unauthorized'</b></div><div> version: '1.0'</div><div> headers:</div><div> key: 'CSeq', value: '1'</div><div> key: 'WWW-Authenticate', value: 'Digest realm="Use 'live' as User Name",nonce="<wbr>7ea901fc58040251071d55446e5566<wbr>93",opaque="",stale=FALSE,<wbr>algorithm=MD5'</div><div> body: length 0</div></div><div><br></div><div><br></div><div>The issue is rtspsrc is not sending the authorisation details for rtsp commands thus it is failing. I tried using the propert user-id and user-pw for rtspsrc but no luck. </div><div>My doubt is can I make the rtspsrc to send the username and password for every rtsp command.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>
</div>
<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>