RTSP link works on VLC but not on Set-Top-Box

solved…

Hello,

By means of your valuable help, I am able to play my rtsp link with VLC in my house PC.

Many thanks to all supporters. My trial will be expired this month & I hope i would be get rid of all problems until then.

When it comes to my issue, I am looking for a solution to play my stream content at my set-top-box.

When I open rtsp://wowza_ip:1935/live/myStream.sdp file in VLC, it plays okay.

The main problem is that I can’t get displaying the same stream content in my set-top-box at my house_ip.

In another thread I learnt that I should add below code into RTP properties in wowza_directory/conf/live/Application.xml

<Property>
    <Name>rtpDePacketizerWrapper</Name>
    <Value>com.wowza.wms.rtp.depacketizer.RTPDePacketizer[B][COLOR="#FF0000"]Wrap  perReChunkMPEGTS[/COLOR][/B]</Value>
</Property>

I supposed that there was a mistake with give above code, there was blank between Wrapper word so I pasted it as shown below

<Property>
    <Name>rtpDePacketizerWrapper</Name>
    <Value>com.wowza.wms.rtp.depacketizer.RTPDePacketizer[COLOR="#FF0000"][B]WrapperReChunkMPEGTS[/B][/COLOR]</Value>
</Property>

Saved it into wowza_directory/conf/live/Application.xml

Also changed related ip address lines as mentioned in related thread:

			<RTSPBindIpAddress>127.0.0.1</RTSPBindIpAddress>
			<RTSPConnectionIpAddress>wowza_dynamic_ip</RTSPConnectionIpAddress>
			<RTSPOriginIpAddress>wowza_dynamic_ip</RTSPOriginIpAddress>

I saved it and rebooted the server. Then started publishing the stream via streammanager page.

I zapped to my rtsp://wowza_ip:1935/live/myStream.sdp in my set-top-box nothing come out on my tv screen but I can see that my box is connected to server. Also it takes data from wowza server.

When I check error logs, I did not see anything new.

In access log file, what i saw was:

2013-10-04 23:02:07 CEST connect rtsp INFO 200 2063446339 - _defaultVHost_ live _definst_ 160.78 wowza_ip 1935 rtsp://wowza_ip:1935/live/myStream.sdp 212.253.101.242 rtsp - - 2063446339 0 0 - - - - - - - - - - rtsp://wowza_ip:1935/live/myStream.sdp rtsp://wowza_ip:1935/live/myStream.sdp - rtsp://wowza_ip:1935/live/myStream.sdp -
2013-10-04 23:02:07 CEST create stream INFO 200 - - _defaultVHost_ live _definst_ 0.0 wowza_ip 1935 rtsp://wowza_ip:1935/live/myStream.sdp 212.253.101.242 rtsp - - 2063446339 0 0 8 0 0 0 myStream.sdp - - - - - rtsp://wowza_ip:1935/live/myStream.sdp rtsp://wowza_ip:1935/live/myStream.sdp - rtsp://wowza_ip:1935/live/myStream.sdp -
2013-10-04 23:02:07 CEST describe rtsp INFO 200 2063446339 - _defaultVHost_ live _definst_ 65.093 wowza_ip 1935 rtsp://wowza_ip:1935/live/myStream.sdp 212.253.101.242 rtsp - - 2063446339 0 0 - - - - myStream.sdp - - - - - rtsp://wowza_ip:1935/live/myStream.sdp rtsp://wowza_ip:1935/live/myStream.sdp - rtsp://wowza_ip:1935/live/myStream.sdp -
2013-10-04 23:02:09 CEST comment server INFO 200 - RTCPHandler.sendFirstRTCPRR[4039070917,5007,/source_ip:62127] - - - 163.24 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:09 CEST comment server INFO 200 - UDPTransport.firstPacket: bind:/wowza_ip:5007 msg:/source_ip:62127 - - - 163.241 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPMediaCaster.streamTimeout[507672317:live/_definst_:myStream.sdp]: timeout:12000 diff:12012 reason:101 - - - 170.827 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPMediaCaster.resetConnection[507672317:live/_definst_:myStream.sdp]:  - - - 170.839 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPMediaCaster.closeRTPSession[507672317:live/_definst_:myStream.sdp] - - - 170.839 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPUDPTransport.unbind[live/_definst_]: /wowza_ip:5004 sent:0 recv:476 - - - 170.839 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPUDPTransport.unbind[live/_definst_]: /wowza_ip:5005 sent:3 recv:3 - - - 170.839 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPUDPTransport.unbind[live/_definst_]: /wowza_ip:5006 sent:0 recv:892 - - - 170.84 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPUDPTransport.unbind[live/_definst_]: /wowza_ip:5007 sent:2 recv:2 - - - 170.84 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:17 CEST unpublish stream INFO 200 myStream.sdp - _defaultVHost_ live _definst_ 12.413 - 80 null 127.0.0.1 rtsp - known 1015303123 1170279 0 7 0 1170279 0 myStream.sdp - - - - - null null - null -
2013-10-04 23:02:17 CEST destroy stream INFO 200 myStream.sdp - _defaultVHost_ live _definst_ 12.414 - 80 null 127.0.0.1 rtsp - known 1015303123 1170279 0 7 0 1170279 0 myStream.sdp - - - - - null null - null -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPMediaCaster.Reconnector[507672317:live/_definst_:myStream.sdp]: start: 7 - - - 170.841 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: /usr/local/WowzaMediaServer/content/myStream.sdp - - - 170.942 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:17 CEST create stream INFO 200 - - _defaultVHost_ live _definst_ 0.001 - 80 null 127.0.0.1 rtsp - known 613075340 0 0 9 0 0 0 myStream.sdp - - - - - null null - null -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPUDPTransport.bind[live/_definst_]: /wowza_ip:5004 _defaultVHost_ live _definst_ 170.95 - 80 null 127.0.0.1 rtsp - known 613075340 0 0 - - - - - - - - - - - - - null -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPUDPTransport.bind[live/_definst_]: /wowza_ip:5005 _defaultVHost_ live _definst_ 170.952 - 80 null 127.0.0.1 rtsp - known 613075340 0 0 - - - - - - - - - - - - - null -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPUDPTransport.bind[live/_definst_]: /wowza_ip:5006 _defaultVHost_ live _definst_ 170.954 - 80 null 127.0.0.1 rtsp - known 613075340 0 0 - - - - - - - - - - - - - null -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPUDPTransport.bind[live/_definst_]: /wowza_ip:5007 _defaultVHost_ live _definst_ 170.956 - 80 null 127.0.0.1 rtsp - known 613075340 0 0 - - - - - - - - - - - - - null -
2013-10-04 23:02:17 CEST publish stream INFO 200 myStream.sdp - _defaultVHost_ live _definst_ 0.01 - 80 null 127.0.0.1 rtsp - known 613075340 0 0 9 0 0 0 myStream.sdp - - - - - null null - null -
2013-10-04 23:02:17 CEST comment server INFO 200 - RTPMediaCaster.Reconnector[507672317:live/_definst_:myStream.sdp]: done: 7 - - - 170.957 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:17 CEST comment server INFO 200 - UDPTransport.firstPacket: bind:/wowza_ip:5006 msg:/source_ip:62126 - - - 170.961 - - - - - - - - - - - - - - - - - - - - - - - - -
2013-10-04 23:02:17 CEST comment server INFO 200 - UDPTransport.firstPacket: bind:/wowza_ip:5004 msg:/source_ip:62124 - - - 170.969 - - - - - - - - - - - - - - - - - - - - - - - - -

Can anybody advise me what to do ?

Thanks in advance

Tinkerbell

solved…

many thanks

Tinkerbell

What is the manufacturer and model of the set top box? Perhaps someone has experience of this device, so worth mentioning here.

It really depends on what exactly your set top box supports.

Have you tried adding the following properties to the RTP/Properties container in [install-dir]/conf/[application]/Application.xml ?

<Property>
    <Name>forceMPEGTSOut</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
</Property>
<Property>
    <Name>rtpWrapMPEGTS</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
</Property>

You can also turn on RTSP debugging to debug the server/player side:

To enable the extra logging for the RTSP handshake between Wowza Media Server and the RTSP streaming clients, you must add the debugRTSPSession property to the RTP/Properties container in [install-dir]/conf/[application]/Application.xml

<Property>
    <Name>debugRTSPSession</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
</Property>

You can post any output here.

Best regards,

Daren

Hi,

Saw that you edited the original post and added “Solved”. Is this issue now resolved?

If so, any info you may want to share regarding the resolution?

Daren

Hello Daren,

All Enigma-2 based set-top-boxes are okay for me. For example Dreambox 800HD or Gigablue 800HD.

I have experienced that some RTSP streams can be played with these boxes.

I checked their parameters in VLC, video encoder/decoder shows : H264-MPEG4

Video comes out with 4-5seconds delay on tv screen, but as a result it plays.

Maybe I am doing something wrong with mine.

About those given above codes, I will give it a go once again.

Regards

Tinkerbell

Here you are:

access.log

2013-10-05	03:27:50	CEST	comment	server	INFO	200	-	--------- IN ---------
GET_PARAMETER rtsp://wowza_ip:1935/live/myStream.sdp RTSP/1.0
session: 1716752291
cseq: 6
date: Sat, 05 Oct 2013 01:46:54 GMT
	-	-	-	1138.468	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-10-05	03:27:50	CEST	comment	server	INFO	200	-	--------- OUT ---------
RTSP/1.0 200 OK
Session: 1716752291;timeout=60
Supported: play.basic, con.persistent
Cseq: 6
Server: Wowza Media Server 3.6.2 build5334
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Cache-Control: no-cache
	-	-	-	1138.469	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-10-05	03:28:46	CEST	comment	server	INFO	200	-	--------- IN ---------
GET_PARAMETER rtsp://wowza_ip:1935/live/myStream.sdp RTSP/1.0
session: 1716752291
cseq: 7
date: Sat, 05 Oct 2013 01:47:50 GMT
	-	-	-	1193.589	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-10-05	03:28:46	CEST	comment	server	INFO	200	-	--------- OUT ---------
RTSP/1.0 200 OK
Session: 1716752291;timeout=60
Supported: play.basic, con.persistent
Cseq: 7
Server: Wowza Media Server 3.6.2 build5334
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Cache-Control: no-cache
	-	-	-	1193.589	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-

error.log

#Version: 1.0
#Start-Date: 2013-10-05 03:08:52 CEST
#Software: Wowza Media Server 3.6.2 build5334
#Date: 2013-10-05
#Fields: x-severity	x-category	x-event	date	time	c-client-id	c-ip	c-port	cs-bytes	sc-bytes	x-duration	x-sname	x-stream-id	x-spos	sc-stream-bytes	cs-stream-bytes	x-file-size	x-file-length	x-ctx	x-comment
WARN	server	comment	2013-10-05	03:24:52	-	-	-	-	-	959.748	-	-	-	-	-	-	-	-	LiveStreamPacketizerSmoothStreaming.handlePacket[live/_definst_/myStream.sdp]: Fragment duration greater than suggested range of 1-4 seconds. Adjust keyframe interval accordingly: Fragment durations: [7.0,4.0,8.6]

regards

Tinkerbell

Hi,

Saw that yuo edited the original post and added “Solved”. Is this issue now resolved?

If so, any info you may want to share regarding the resolution?

Daren

Hello,

Unfortunately I could not found a solution with Wowza but I installed another software into the server. It accepts RTP-Mpeg stream-input then it gives output in HTTP. I am not sure if it would be the fair spitting-out company name. For that reason I did not mention it.

If it’s okay for you, I can share this info under this topic so that many board members would be informed.

PS: I am unable to mark the main topic title as “[solved]”

Regards

Tinkerbell

Apologies for dredging up an old thread. However, I’d be interested to hear if Wowza can now support RTSP for enigma2 based set top boxes (as clients)?

Anyone got an update on this?