Kurento / kurento

Kurento WebRTC Media Server
Apache License 2.0
304 stars 58 forks source link

Some rtsp urls cannot play video #31

Open 623459817 opened 1 year ago

623459817 commented 1 year ago

Prerequisites

These are MANDATORY, otherwise the issue will be automatically closed.

Issue description

Cannot play rtsp video. log20230418.log

Context

Cannot play rtsp video,But it can be played in vlc. vlc setting :Tools->Preferences->Input / Codecs->Live555 stream transport->RTP over RTSP (TCP). Local test URL : rtsp://192.168.2.6:9100/dss/monitor/param/cameraid=1substream=1?token=t1

How to reproduce?

Some urls require selecting rtp over rtsp (TCP) 233524989-ebdbb50b-1050-4251-a80d-f5b663655e1a.png

Expected & current behavior

(Optional) Possible solution

Info about your environment

About Kurento Media Server

About your Application Server

About end-user clients

Run these commands

cat /etc/lsb-release
kurento-media-server --version
dpkg -l | grep -Pi 'kurento|kms-|gst.*1.5|nice'
j1elo commented 1 year ago

The log is saying:

error: Unauthorized (401)

So my first guess is that maybe the issue is that the RTSP server is rejecting connection attempts from Kurento

623459817 commented 1 year ago

This rtsp url can be played in vlc player, but you need to modify the configuration of vlc player.to set [ Live555 stream transport] to [ RTP over RTSP ( TCP )], if not modified vlc player will popup a window prompting that the rtsp url needs authentication