RTSP Authentication

Sorry, we have a direct peering with the video-provider on an non-public IP.

The RTSP URL is like: rtsp://user:passwd@10.0.20/channel01 saved into a contents/mystream.stream file.

There is no chance to get an connection via Internet.

Thanks, your are really fast! I’ll check it on monday and give response.

Hi Charlie ,

It#s working a bit better now. In stead of “Unauthorized”, I get a “Bad Request” Response, because the server from our Video-Supplier does not understand

“RTP/AVP/UDP”. It want to see “RTP/AVP”. Our Video-Supplier will update their server to understand “RTP/AVP/UDP”.

If it’s possible, to configure Wowza to request “RTP/AVP”, it could save me some time.

Regards

adorn

Hi Charlie,

TEARDOWN needs also an Auth-String:

PLAY rtsp://10.0.0.20/channel01 RTSP/1.0

Session: 00010000

CSeq: 6

Range: npt=0.000-

User-Agent: Wowza Media Server Pro (Wowza Media Server 2 Perpetual 2.2.3.09 build27256)

Authorization: Basic ABCDEFGHIJKLMNOP=

RTSP/1.0 200 OK

CSeq: 6

Session: 00010000

Range: npt=now-

TEARDOWN rtsp://10.110.46.13/channel01 RTSP/1.0

Session: 00010000

CSeq: 7

User-Agent: Wowza Media Server Pro (Wowza Media Server 2 Perpetual 2.2.3.09 build27256)

RTSP/1.0 401 Unauthorized

CSeq: 7

WWW-Authenticate: Basic realm="/"

Wowza closes the UDP-Port, but there are still incomming RTP-Packages.

Regards

adorn

Still the same Problem :frowning:

Argh… Wrong ClassPath in Eclipse Now the Terdown is working:

TEARDOWN rtsp://10.0.0.2/channel01 RTSP/1.0

Session: 00010000

CSeq: 5

Authorization: Basic ABCDEFGHIJKLMNOP=

User-Agent: Wowza Media Server Pro (Wowza Media Server 2 Perpetual 2.2.4.02 build27517)

I still get no video to screen.

My console Out:

INFO stream create - -

Start Streamiglz1.stream[]

INFO server comment - RTPMediaCaster.create[11600861]

INFO server comment - RTPMediaCaster.init[11600861]

INFO server comment - RTPMediaCaster.Reconnector[11600861:strassefrei/definst:iglz1.stream]: start: 1

INFO server comment - RTPSessionTracker.add[rtsp://10.0.0.2/channel01]: 1

ERROR server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: CSeq less than zero

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:00010000 sessionTimeout:30000

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[strassefrei/definst]: RTSP/RTP re-streaming. Success, received SDP data.

INFO server comment - onStreamCreate: streamMap:[]

INFO stream create - -

INFO server comment - RTPUDPTransport.bind[strassefrei/definst]: 0.0.0.0/0.0.0.0:49998

INFO server comment - RTPUDPTransport.bind[strassefrei/definst]: 0.0.0.0/0.0.0.0:49999

INFO stream publish iglz1.stream -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://10.0.0.2/channel01

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://10.0.0.2/channel01

INFO server comment - RTPMediaCaster.Reconnector[11600861:strassefrei/definst:iglz1.stream]: done: 1

INFO server comment - LivePlayer.play[strassefrei/definst/iglz1.stream]: Dynamic Stream Markers are on.

INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:49998 msg:/10.0.0.2:56808

stream allready started

INFO server comment - LivePlayer.play[strassefrei/definst/iglz1.stream]: Dynamic Stream Markers are on.

stream allready started

INFO server comment - LivePlayer.play[strassefrei/definst/iglz1.stream]: Dynamic Stream Markers are on.

INFO server comment - RTPMediaCaster.streamTimeout[11600861:strassefrei/definst:iglz1.stream]: timeout:12000 diff:12500 reason:101

INFO server comment - RTPMediaCaster.resetConnection[11600861:strassefrei/definst:iglz1.stream]:

INFO server comment - RTPMediaCaster.closeRTPSession[11600861:strassefrei/definst:iglz1.stream]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO server comment - RTPSessionTracker.remove[rtsp://10.0.0.2/channel01]: 0:true

INFO server comment - RTPUDPTransport.unbind[strassefrei/definst]: 0.0.0.0/0.0.0.0:49998

INFO server comment - RTPUDPTransport.unbind[strassefrei/definst]: 0.0.0.0/0.0.0.0:49999

INFO stream unpublish iglz1.stream -

INFO server comment - onStreamDestroy: streamMap:[iglz1.stream]

INFO stream destroy iglz1.stream -

regards

adorn

Thanks for your fast reply!

The RTP Traffic is reaching Wowza (See:INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:49998 msg:/10.0.0.2:56808

stream allready started). But I can’t see any RTCP traffic on wireshark.