rtspsrc authorisation problem.
Miha Nedok
mike at mike.si
Mon Sep 26 13:23:10 UTC 2016
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-rtspsrc.html
Look at the params of rtspsrc, there is user-id and user-pw
On Mon, Sep 26, 2016 at 1:49 PM, Shrishty Deorari <
shrishty.deorari at vvdntech.com> wrote:
> Hi,
>
> I am using Bosch camera and facing and Issue while trying to access the
> H264 stream via gstreamer.
>
> Command I am using:
> gst-launch-1.0 rtspsrc location=<rtsp://usrname:password@<IP>> debug=1 !
> decodebin ! autovideosink
>
> The Result is:
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Progress: (open) Opening Stream
> Progress: (connect) Connecting to rtsp://service:@192.168.3.158
> Progress: (open) Retrieving server options
> RTSP request message 0x7fab7d8d3cc0
> request line:
> method: 'OPTIONS'
> * uri: 'rtsp://192.168.3.158 <http://192.168.3.158>' ------------->
> Not sending the authorisation details*
> version: '1.0'
> headers:
> key: 'User-Agent', value: 'RealMedia Player Version 6.0.9.1235
> (linux-2.0-libc6-i386-gcc2.95)'
> key: 'ClientChallenge', value: '9e26d33f2984236010ef6253fb1887f7'
> key: 'CompanyID', value: 'KnKV4M4I/B2FjJ1TToLycw=='
> key: 'GUID', value: '00000000-0000-0000-0000-000000000000'
> key: 'RegionData', value: '0'
> key: 'PlayerStarttime', value: '[28/03/2003:22:50:23 00:00]'
> key: 'ClientID', value: 'Linux_2.4_6.0.9.1235_play32_RN01_EN_586'
> body:
> RTSP response message 0x7fab7d8d3d20
> status line:
> code: '401'
> * reason: 'Unauthorized'*
> version: '1.0'
> headers:
> key: 'CSeq', value: '1'
> key: 'WWW-Authenticate', value: 'Digest realm="Use 'live' as User
> Name",nonce="7ea901fc58040251071d55446e556693",opaque="",stale=FALSE,
> algorithm=MD5'
> body: length 0
>
>
> 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.
> My doubt is can I make the rtspsrc to send the username and password for
> every rtsp command.
>
>
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160926/a20560a5/attachment.html>
More information about the gstreamer-devel
mailing list