RTSP android device

Hi Guys

please send me application.xml file in vod application which i see on rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov

i cannot playback my video on android device :frowning:

thanks & brgs

Iā€™m able to view the stream on my Android device via rtsp. Does your device come back with an error? What do the logs say?

That IP address is not reachable from my location using port 1935. I also tried ports 80 and 554.

I can ping 14.161.10.182, so the server is reachable, which means you either donā€™t have Wowza running, or port 1935 is blocked by a firewall, or you have not mapped port 1935 in your network to the server running Wowza. If Wowza is connected to a router you have to ā€œport forwardā€ port 1935 in your router. You should find the necessary steps for your router at portforward.com

Richard

I am able to play that stream in VLC now.

With RTSP playback (m3u8 playback is HTTP) there is a 10 second delay that is caused by the player failing over from UDP to TCP. I can tell because of the 10 second delay and that there are duplicate audio and video info blocks in Tools > Codec info, which is what VLC displays in this case.

The solution is to properly configure for RTSP streaming and open all UDP ports. Follow these two guides carefully:

ā€™

https://www.wowza.com/docs/how-to-set-up-an-application-for-rtsp-rtp-streaming

https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback

Keep checking VLC Tools > Codec info as you are testing.

Richard

This works for me: rtsp://123.30.182.75:554/vod/mp4:bird.mp4

Richard

It is probably an encoding problem. Take a look at the file encoding examples in this guide

Richard

Just to be clear, it sounds as though that the following Wowza rtsp url will playback on your Android device:

rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov

And now you are trying to get your own Wowza instance to stream and playback via rtsp but havenā€™t been successful in doing so. If this is correct, are you trying to use the same file, BigBuckBunny_115k.mov, from your server?

Iā€™d first suggest upgrading to the latest version of Wowza.

Iā€™m able to view the stream on my Android device via rtsp. Does your device come back with an error? What do the logs say?

Hi Matt

when i playback on android, i get issuse ā€œcan not play this videoā€. the logs donā€™t have anything error. Here is my application.xml in video application:

[QUOTE=

true

default

${com.wowza.wms.context.VHostConfigHome}/content

${com.wowza.wms.context.VHostConfigHome}/keys

cupertinostreaming,smoothstreaming,sanjosestreaming

-1

*

*

*

*

digest

none

senderreport

12000

75

90000

0

0.0.0.0

127.0.0.1

*

rtpDePacketizerWrapper

com.wowza.wms.rtp.depacketizer.RTPDePacketizerWrapperPacketSorter

rtpDePacketizerPacketSorterBufferTime

500

Integer

rtpDePacketizerPacketSorterFlushTime

10

Integer

rtpDePacketizerPacketSorterLogPacketLoss

true

Boolean

logIncompleteMPEGTSVideoFrames

true

Boolean

forceMPEGTSOut

true

Boolean

rtpWrapMPEGTS

true

Boolean

debugRTSPSession

true

Boolean

base

Base

com.wowza.wms.module.ModuleCore

properties

Properties

com.wowza.wms.module.ModuleProperties

logging

Client Logging

com.wowza.wms.module.ModuleClientLogging

flvplayback

FLVPlayback

com.wowza.wms.module.ModuleFLVPlayback

Log error:

#Start-Date: 2013-10-14 17:21:44 ICT

#Software: Wowza Media Server 2.2.4 build27452

#Date: 2013-10-14

#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-14 17:23:40 - - - - - 115.87 - - - - - - - -

help me :frowning:

thanks

I still playback rtsp link with vlc play. So why?

yes. my android device can playback the wowza rtsp url

rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov

i trying to use BigBuckBunny_115k.mov from your server to test my wowza instance, but havenā€™nt been successfull :frowning:

when i used my android device to playback, i recived more log:

INFO server comment - --------- IN --------- DESCRIBE rtsp://192.168.1.100:1935/video/mp4:sample.mp4 RTSP/1.0 cseq: 1 accept: application/sdp INFO rtsp connect 75739843 - INFO stream create - - INFO server comment - DESCRIBE: v=0 o=- 75739843 75739843 IN IP4 127.0.0.1 s=WowzaMediaServer c=IN IP4 0.0.0.0 t=0 0 a=sdplang:en a=range:npt=0- 596.458 a=control:* m=video 0 RTP/AVP 98 a=rtpmap:98 MP2T/90000 a=control:mpegts-transport INFO rtsp describe 75739843 - 76 3d 30 0d 0a 6f 3d 2d 20 37 35 37 33 39 38 34 v=0ā€¦o=- 7573984 33 20 37 35 37 33 39 38 34 33 20 49 4e 20 49 50 3 757398 43 IN IP 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73 3d 57 4 127.0. 0.1ā€¦s=W 6f 77 7a 61 4d 65 64 69 61 53 65 72 76 65 72 0d owzaMedi aServer. 0a 63 3d 49 4e 20 49 50 34 20 30 2e 30 2e 30 2e .c=IN IP 4 0.0.0. 30 0d 0a 74 3d 30 20 30 0d 0a 61 3d 73 64 70 6c 0ā€¦t=0 0 ā€¦a=sdpl 61 6e 67 3a 65 6e 0d 0a 61 3d 72 61 6e 67 65 3a ang:enā€¦ a=range: 6e 70 74 3d 30 2d 20 35 39 36 2e 34 35 38 0d 0a npt=0- 5 96.458ā€¦ 61 3d 63 6f 6e 74 72 6f 6c 3a 2a 0d 0a 6d 3d 76 a=contro l:*ā€¦m=v 69 64 65 6f 20 30 20 52 54 50 2f 41 56 50 20 39 ideo 0 R TP/AVP 9 38 0d 0a 61 3d 72 74 70 6d 61 70 3a 39 38 20 4d 8ā€¦a=rtp map:98 M 50 32 54 2f 39 30 30 30 30 0d 0a 61 3d 63 6f 6e P2T/9000 0ā€¦a=con 74 72 6f 6c 3a 6d 70 65 67 74 73 2d 74 72 61 6e trol:mpe gts-tran 73 70 6f 72 74 0d 0a sportā€¦ INFO server comment - --------- OUT --------- RTSP/1.0 200 OK Content-Base: rtsp://192.168.1.100:1935/video/mp4:sample.mp4/ Date: Tue, 15 Oct 2013 07:31:05 ICT Session: 75739843;timeout=60 Expires: Tue, 15 Oct 2013 07:31:05 ICT Cseq: 1 Content-Type: application/sdp Server: Wowza Media Server 2.2.4 build27452 Cache-Control: no-cache INFO stream unpublish - - INFO stream destroy - - INFO rtsp disconnect 75739843 - INFO application app-stop definst video/definst

Could you test my link with android ?

rtsp://14.161.10.182:1935/myapp/definst/mp4:1.mp4

send me report time lantency ?

RTSP that its too slow, i think wowza need improve RTSP protocol for VOD. i used M3u8 to play video.

That IP address is not reachable from my location using port 1935. I also tried ports 80 and 554.

I can ping 14.161.10.182, so the server is reachable, which means you either donā€™t have Wowza running, or port 1935 is blocked by a firewall, or you have not mapped port 1935 in your network to the server running Wowza. If Wowza is connected to a router you have to ā€œport forwardā€ port 1935 in your router. You should find the necessary steps for your router at portforward.com

Richard

Okay, i have set port 554 in Vhost, but i suggested my friend check rtsp://123.30.182.75/vod/definst/mp4:bird.mp4 in VLC itā€™s cant play ? why not play ?

OKay, after i set rtsp successful but in VLC player start play very fast about 2s, but android only audio not show video ? How to config to show video ?