<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: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">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">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)'</div><div>   key: 'ClientChallenge', value: '9e26d33f2984236010ef6253fb1887f7'</div><div>   key: 'CompanyID', value: 'KnKV4M4I/B2FjJ1TToLycw=='</div><div>   key: 'GUID', value: '00000000-0000-0000-0000-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_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="7ea901fc58040251071d55446e556693",opaque="",stale=FALSE,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>