Hello all,
I was trying out the playback security feature in the wowza streaming engine installed on my pc and I was unable to play the published stream and it showed this error :
[rtsp @ 0x7f0a5c009260] method DESCRIBE failed: 403 Forbidden=0/0
rtsp://wowza_ip:1935/live/myStream.sdp?wowzatokenhash=NTQ2MTJmMjMyNzMyMGYzNmVkYTlhOWQ3MDZkNTBiYjY5YjA4MmE0NWQ1MmQwMjI4MzdmOGJlNzA0ZTE3ZDAyOSAgLQ: Server returned 403 Forbidden (access denied)
I had generated the hash required using sha256sum available on ubuntu and then converted it to base-64 encoding using base64 command. Can anyone please tell me where I am going wrong ? Do I have to specify anything in the URL when I push the stream to the server ? I am pushing the stream using FFMPEG. It is an rtsp stream from an IP Camera.
Commands used :
ffmpeg -i rtsp://camera_ip/live.sdp -c copy -f rtsp rtsp://username:password@wowza_ip:1935/live/myStream.sdp (to push the stream to server)
ffplay -fflags nobuffer rtsp://wowza_ip:1935/live/myStream.sdp?wowzatokenhash=NTQ2MTJmMjMyNzMyMGYzNmVkYTlhOWQ3MDZkNTBiYjY5YjA4MmE0NWQ1MmQwMjI4MzdmOGJlNzA0ZTE3ZDAyOSAgLQ (to play it back)
Thanks in advance,
Adarsh