Streaming to QuickTime and/or other RTSP Players

At present nDVR is only supported over the following HTTP streaming protocols:

  • Flash HTTP Dynamic Streaming (Flash HDS) Microsoft® Smooth Streaming

  • Apple HTTP Live Streaming (Apple HLS)

  • Microsoft Smooth Streaming

Salvadore

When I start the Wowza server on my mac I get these messages in the terminal

iMac-One:bin tgl$ ./startup.sh

Configure logging: file:///Library/WowzaMediaServer/conf/log4j.properties

INFO server server-start Wowza Media Server 3 Trial Edition (Expires: Jul 28, 2013) 3.6.2 build5334 -

INFO server comment - Server License Key: SVRT3-XXXXX-XXXXX-XXXXX-XXXXX-YWedU

INFO server comment - Maximum Connections: Unlimited

INFO server comment - Transcoder Streams Available: Transcoder Not Available (osx-64)

INFO server comment - nDVR Available: Yes

INFO server comment - DRM Available: Yes

INFO server comment - Hardware Available Processors: 4

INFO server comment - Hardware Physical Memory: 4425MB/8192MB

INFO server comment - Hardware Swap Space: 64MB/64MB

INFO server comment - Max File Descriptor Count: 10240

INFO server comment - Open File Descriptor Count: 72

INFO server comment - OS Name: Mac OS X

INFO server comment - OS Version: 10.7.4

INFO server comment - OS Architecture: x86_64

INFO server comment - Java Name: Java HotSpot™ 64-Bit Server VM

INFO server comment - Java Vendor: Apple Inc.

INFO server comment - Java Version: 1.6.0_45

INFO server comment - Java VM Version: 20.45-b01-451

INFO server comment - Java Spec Version: 1.6

INFO server comment - Java Home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

INFO server comment - Java Max Heap Size: 682MB

INFO server comment - Java Architecture: 64

INFO server comment - Java Locale[user.language]: en

INFO server comment - Java Locale[user.country]: US

INFO server comment - Java Locale[file.encoding]: MacRoman

INFO server comment - Java Timezone[user.timezone]: GMT+05:30

INFO server comment - Java Args[0]: -Xserver

INFO server comment - Java Args[1]: -Xmx768M

INFO server comment - Java Args[2]: -Dcom.sun.management.jmxremote=true

INFO server comment - Java Args[3]: -Dcom.wowza.wms.runmode=standalone

INFO server comment - Java Args[4]: -Dcom.wowza.wms.native.base=osx

INFO server comment - Java Args[5]: -Dcom.wowza.wms.AppHome=/Library/WowzaMediaServer

INFO server comment - Java Args[6]: -Dcom.wowza.wms.ConfigURL=

INFO server comment - Java Args[7]: -Dcom.wowza.wms.ConfigHome=/Library/WowzaMediaServer

INFO server comment - Server runmode: standalone

INFO server comment - Server native.platform: osx

INFO server comment - Server threads[h/t]: 10/10

INFO server comment - CMDInterface now listening: [any]:8083

INFO vhost vhost-start defaultVHost -

INFO server comment - defaultVHost threads[h/t]:120/80 home:/Library/WowzaMediaServer

INFO vhost comment defaultVHost Bind attempt ([any]:1935:4)

INFO vhost comment defaultVHost Bind successful ([any]:1935)

INFO vhost comment defaultVHost Bind attempt ([any]:5544:4)

INFO vhost comment defaultVHost Bind successful ([any]:5544)

INFO vhost comment defaultVHost Bind attempt ([any]:554:4)

WARN vhost comment defaultVHost Bind failed: ([any]:554): java.net.SocketException: Permission denied

INFO vhost comment defaultVHost Bind attempt ([any]:80:4)

WARN vhost comment defaultVHost Bind failed: ([any]:80): java.net.SocketException: Permission denied

INFO vhost comment defaultVHost Bind attempt ([any]:8086:1)

INFO vhost comment defaultVHost Bind successful ([any]:8086)

INFO server comment - Server.startShutdownHook: Start server shutdown hook

INFO server comment - Wowza Media Server is started!

INFO application app-start definst live/definst

INFO server comment - RTPMediaCaster.create[1905729203]

INFO server comment - RTPMediaCaster.init[1905729203]

I have checked the links posted for making changes in QT Player and VLC player but still I am getting these errors and Even though I am able to send the Video to Wowza server, it is not able to stream the video to any of the players.

Update:

After I start the video stream from this address in the Browser

localhost:8086/streammanager

I get the following message in the terminal:

INFO server comment - RTPMediaCaster.Reconnector[1440218161:live/definst:camera.stream]: start: 1

INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successfully started [live/definst]: flv:camera.stream

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

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:861021530 sessionTimeout:0

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

INFO stream create - -

INFO stream publish camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[1440218161:live/definst:camera.stream]: done: 1

INFO server comment - RTPMediaCaster.streamTimeout[1440218161:live/definst:camera.stream]: timeout:12000 diff:12027 reason:101

INFO server comment - RTPMediaCaster.resetConnection[1440218161:live/definst:camera.stream]:

INFO server comment - RTPMediaCaster.closeRTPSession[1440218161:live/definst:camera.stream]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO stream unpublish camera.stream -

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

INFO stream destroy camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[1440218161:live/definst:camera.stream]: start: 2

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

Can you please tell me what is going wrong over here and how to solve it?

Thanks.

Manas

Hi,

I tried the following URL (where 144.1.1.72 is the IP of the Mac system where Wowza is installed) in both VLC player and QuickTime Player on a windows system but all in vain:

rtsp://144.1.1.72:1935/live/definst/camera.stream

rtsp://144.1.1.72:1935/live/camera.stream

Here camera.stream is the stream that I am sending to wowza and live is the name of the application and it is in /[install-dir]/applications

camera.stream file is kept at /[install-dir]/applications/live

I also tried to play the stream on the same system on which Wowza is installed with the following URL in QT and VLC players:

rtsp://144.1.1.72:1935/live/definst/camera.stream

rtsp://144.1.1.72:1935/live/camera.stream

rtsp://localhost:1935/live/definst/camera.stream

rtsp://127.0.0.1:1935/live/definst/camera.stream

rtsp://localhost:1935/live/camera.stream

rtsp://127.0.0.1:1935/live/camera.stream

But in VLC player I don’t see anything happening and in QuickTime Player for a long time it says ‘Configuring’ but nothing happens while in the terminal you can see the stream getting timed out. Following are the messages that appear in Terminal.

INFO stream unpublish camera.stream -

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

INFO stream destroy camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[1580588181:live/definst:camera.stream]: start: 98

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

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:332266748 sessionTimeout:0

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

INFO stream create - -

INFO stream publish camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[1580588181:live/definst:camera.stream]: done: 98

^[[AINFO server comment - RTPMediaCaster.streamTimeout[1580588181:live/definst:camera.stream]: timeout:12000 diff:12022 reason:101

INFO server comment - RTPMediaCaster.resetConnection[1580588181:live/definst:camera.stream]:

INFO server comment - RTPMediaCaster.closeRTPSession[1580588181:live/definst:camera.stream]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO stream unpublish camera.stream -

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

INFO stream destroy camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[1580588181:live/definst:camera.stream]: start: 99

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

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:820697697 sessionTimeout:0

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

INFO stream create - -

INFO stream publish camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[1580588181:live/definst:camera.stream]: done: 99

I have not made any setting in Mac for playing RTSP in VLC and QT player but I had done that on Windows, still the video doesn’t get played in any of the players.

Please tell what is going wrong and what can I do to solve this.

Thanks,

Manas

Hi Manas,

Does it work if you put the camera.stream file in your content folder?

[install-dir]/content

Salvadore

Hi,

I have followed the following tutorial to stream the video.

https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming

At the URL http://localhost:8086/streammanager/index.html

only those names appear which are there in [install-dir]/applications. If I have to play a stream from [install-dir]/content, then how can I do that?

Please also let me know if I have to make any changes in the Application.xml file for this.

I play a stream in flash player through this file in wowza install directory - /examples/VideoOnDemandStreaming/FlashRTMPPlayer/player.html

So also tell me that if I play the stream from [install-dir]/content what should be filled in the fields ‘Server’ and ‘Stream’.

And also let me know if I have to play the stream in a VLC ot QuickTime player then what URL should be used.

Thanks,

Manas.

Hi,

Did you follow the instructions from this article? Stream from an IP camera over RTSP to Engine

What is your application StreamType? Are you using the StreamManager to publish the IP camera stream or you are using the rtp-live StreamType?

Using VLC or QuickTime, can you connect to your IP camera RTSP stream directly?

Regards.

Hi,

Yes, I followed the tutorial mentioned by you. My stream type is RTSP.

I am using stream manager which comes at this URL

Using VLC or QuickTime player I am able to see the video captured by my iPhone directly as the phone and the computer is connected to the same network on Wi-Fi. In VLC or QuickTime player I enter the following URL rtsp://144.1.1.137

and 144.1.1.137 is the IP of iPhone.

As you can see in the logs posted in my previous posts that Wowza server receives the stream sent from my phone. The problem occurs only while playing it on a player through Wowza server. Please tell me what can I do to play the video on any of the players.

Thanks,

Manas.

I thought you are trying to connect to an IP camera.

Are you using your iPhone to publish a stream to Wowza? or are you using Wowza to pull the stream from your iPhone?

Can you paste in the contents of your camera.stream file?

Regards,

Zoran

Hi,

My iPhone acts like an RTSP server and I so I think I should be using the camera.stream file to pull the stream to Wowza.

Following in the contents of my camera.stream file in BOLD:

rtsp://144.1.1.37

And as mentioned before, this is the same url which I use to play the video directly in VLC or QuickTime players when both, iPhone and the computer (on which I am playing the video) are connected to the same network through Wi-Fi.

Thanks,

Manas

Assuming that you have followed all the configuration instructions from the article you have mentioned, after placing your camera.stream file in the [install-dir]/content folder, you should connect to the StreamManager page and follow these steps (also described in the article you followed )

After the IP camera stream is successfully published, in the RTMP player you mentioned you will need to use this:

Server: rtmp://WowzaIP/live

Stream: camera.stream

To play the stream in VLC or QuickTime, you should use: rtsp://WowzaIP:1935/live/definst/camera.stream

Zoran

Hi,

I followed the steps mentioned by you and I selected ‘Media caster Type’ as ‘rtp’ and Stream Name as camera.stream and as soon as I press ok, the terminal shows that the stream is received but is also timed out and when I try to play the video in the Flash player as suggested by you I get these messages in the terminal through the whole process. I have highlighted the message in bold that appear when I click ‘Connect’ in the Flash PLayer.

INFO server comment - RTPMediaCaster.Reconnector[1198409461:live/definst:camera.stream]: done: 1

INFO server comment - RTPMediaCaster.streamTimeout[1198409461:live/definst:camera.stream]: timeout:12000 diff:12023 reason:101

INFO server comment - RTPMediaCaster.resetConnection[1198409461:live/definst:camera.stream]:

INFO server comment - RTPMediaCaster.closeRTPSession[1198409461:live/definst:camera.stream]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO stream unpublish camera.stream -

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

INFO stream destroy camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[1198409461:live/definst:camera.stream]: start: 2

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

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:1026413173 sessionTimeout:0

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

INFO stream create - -

INFO stream publish camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[1198409461:live/definst:camera.stream]: done: 2

INFO stream destroy camera.stream -

INFO session disconnect 152822890 -

INFO session connect-pending 0:0:0:0:0:0:0:1%0 -

INFO session connect 0:0:0:0:0:0:0:1%0 -

INFO stream create - -

INFO server comment - RTPMediaCaster.streamTimeout[1198409461:live/definst:camera.stream]: timeout:12000 diff:12022 reason:101

INFO server comment - RTPMediaCaster.resetConnection[1198409461:live/definst:camera.stream]:

INFO server comment - RTPMediaCaster.closeRTPSession[1198409461:live/definst:camera.stream]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO stream unpublish camera.stream -

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

INFO stream destroy camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[1198409461:live/definst:camera.stream]: start: 3

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

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:452456682 sessionTimeout:0

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

INFO stream create - -

INFO stream publish camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[1198409461:live/definst:camera.stream]: done: 3

INFO server comment - RTPMediaCaster.streamTimeout[1198409461:live/definst:camera.stream]: timeout:12000 diff:12024 reason:101

INFO server comment - RTPMediaCaster.resetConnection[1198409461:live/definst:camera.stream]:

INFO server comment - RTPMediaCaster.closeRTPSession[1198409461:live/definst:camera.stream]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO stream unpublish camera.stream -

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

INFO stream destroy camera.stream -

Please let me know what is going wrong.

Thanks,

Manas

It looks like Wowza is not able to connect to the RTSP source coming from your iPhone.

Can you try adding this property to your Application.xml configuration file for your “live” application in order to get some more debugging information? https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming#extraLog

Did you try publishing the stream to Wowza using the GoCoder iPhone App? You can get it from here: https://www.wowza.com/addons/gocoder

Zoran

Hi,

I have entered the properties which you mentioned to include in the xml file ([install-dir]/conf/live/Application.xml) at these links

https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming#extraLog

and

https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming#sdp

Then I tried to play the video on the same Mac on which the Wowza Server is installed through Flash player with the following details:

Server: rtmp://localhost/live

Stream: camera.stream

VLC Player:

URL: rtsp://localhost:1935/live/camera.stream

and again with

URL: rtsp://localhost:1935/live/definst/camera.stream

But it showed an error “Your input cannot be opened”.

If you need you can check the VLC logs and all other logs of terminal here

https://www.dropbox.com/sh/iehgrp8uzvnvc4t/8-X33qUlXG

I also tried in QuickTime player with the above mentioned URLs for VLC but it didn’t work.

These are the messages that appeared in terminal:

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send(open): command:OPTIONS:rtsp://144.1.1.137

OPTIONS rtsp://144.1.1.137 RTSP/1.0

CSeq: 1

User-Agent: Wowza Media Server Pro (Wowza Media Server 3 Trial Edition (Expires: Jul 28, 2013) 3.6.2 build5334)

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

INFO server comment - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

response: OK

protocol: RTSP/1.0

cseq: 1

status: 200

server: AVEncoderDemo/1.0

public: DESCRIBE, SETUP, TEARDOWN, PLAY, OPTIONS

uri: RTSP/1.0 200 OK

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: command:OPTIONS response:RTSP/1.0 200 OK status:200 handled:false

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: command:DESCRIBE

DESCRIBE rtsp://144.1.1.137 RTSP/1.0

Accept: application/sdp

CSeq: 2

INFO server comment - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

content-type: application/sdp

response: OK

protocol: RTSP/1.0

cseq: 2

status: 200

content-length: 421

content-base: rtsp://144.1.1.137/

date: 11 July 2013 11:47:35 AM IST

uri: RTSP/1.0 200 OK

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: command:DESCRIBE response:RTSP/1.0 200 OK status:200 handled:false

INFO server comment - v=0

o=- 855636226 855636226 IN IP4 144.1.1.137

s=Live stream from iOS

c=IN IP4 0.0.0.0

t=0 0

a=control:*

m=video 0 RTP/AVP 96

b=TIAS:691224

a=maxprate:73.0000

a=control:streamid=1

a=rtpmap:96 H264/90000

a=mimetype:string;“video/H264”

a=framesize:96 720-480

a=Width:integer;720

a=Height:integer;480i

a=fmtp:96 packetization-mode=1;profile-level-id=42001e;sprop-parameter-sets=Z0IAHo1oC0PaagwCDAQ=,aM4JyA==

INFO server comment - DESCRIBE: SDP: trackCount:1 trackNames:[streamid=1,header]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: command:SETUP

SETUP rtsp://144.1.1.137/streamid=1 RTSP/1.0

Transport: RTP/AVP/TCP;unicast;interleaved=0-1

CSeq: 3

INFO server comment - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

response: OK

protocol: RTSP/1.0

transport: RTP/AVP;unicast;client_port=0-1;server_port=6970-6971

session: 1749698586

cseq: 3

status: 200

uri: RTSP/1.0 200 OK

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: command:SETUP response:RTSP/1.0 200 OK status:200 handled:false

INFO server comment - v=0

o=- 855636226 855636226 IN IP4 144.1.1.137

s=Live stream from iOS

t=0 0

a=control:*

m=video 0 RTP/AVP 96

a=proto:RTP/AVP/TCP;interleaved=0-1

b=TIAS:691224

a=maxprate:73.0000

a=control:streamid=1

a=rtpmap:96 H264/90000

a=mimetype:string;“video/H264”

a=framesize:96 720-480

a=Width:integer;720

a=Height:integer;480i

a=fmtp:96 packetization-mode=1;profile-level-id=42001e;sprop-parameter-sets=Z0IAHo1oC0PaagwCDAQ=,aM4JyA==

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:1749698586 sessionTimeout:0

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

INFO stream create - -

INFO stream publish camera.stream -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: command:PLAY

PLAY rtsp://144.1.1.137/ RTSP/1.0

Session: 1749698586

CSeq: 4

Range: npt=0.000-

INFO server comment - RTPMediaCaster.Reconnector[1321288348:live/definst:camera.stream]: done: 1

INFO server comment - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

response: OK

protocol: RTSP/1.0

session: 1749698586

cseq: 4

status: 200

uri: RTSP/1.0 200 OK

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: command:PLAY response:RTSP/1.0 200 OK status:200 handled:false

INFO server comment - RTPMediaCaster.streamTimeout[1321288348:live/definst:camera.stream]: timeout:12000 diff:12025 reason:101

INFO server comment - RTPMediaCaster.resetConnection[1321288348:live/definst:camera.stream]:

INFO server comment - RTPMediaCaster.closeRTPSession[1321288348:live/definst:camera.stream]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: command:TEARDOWN

TEARDOWN rtsp://144.1.1.137 RTSP/1.0

Session: 1749698586

CSeq: 5

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO stream unpublish camera.stream -

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

INFO stream destroy camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[1321288348:live/definst:camera.stream]: start: 2

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect: hostname:144.1.1.137 port:554 timeout:4 rtspBindIpAddress:null path:

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send(open): command:OPTIONS:rtsp://144.1.1.137

OPTIONS rtsp://144.1.1.137 RTSP/1.0

CSeq: 1

User-Agent: Wowza Media Server Pro (Wowza Media Server 3 Trial Edition (Expires: Jul 28, 2013) 3.6.2 build5334)

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

INFO server comment - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

response: OK

protocol: RTSP/1.0

cseq: 1

status: 200

server: AVEncoderDemo/1.0

public: DESCRIBE, SETUP, TEARDOWN, PLAY, OPTIONS

uri: RTSP/1.0 200 OK

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: command:OPTIONS response:RTSP/1.0 200 OK status:200 handled:false

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: command:DESCRIBE

DESCRIBE rtsp://144.1.1.137 RTSP/1.0

Accept: application/sdp

CSeq: 2

INFO server comment - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

content-type: application/sdp

response: OK

protocol: RTSP/1.0

cseq: 2

status: 200

content-length: 423

content-base: rtsp://144.1.1.137/

date: 11 July 2013 11:47:48 AM IST

uri: RTSP/1.0 200 OK

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: command:DESCRIBE response:RTSP/1.0 200 OK status:200 handled:false

INFO server comment - v=0

o=- 1036140795 1036140795 IN IP4 144.1.1.137

s=Live stream from iOS

c=IN IP4 0.0.0.0

t=0 0

a=control:*

m=video 0 RTP/AVP 96

b=TIAS:691224

a=maxprate:73.0000

a=control:streamid=1

a=rtpmap:96 H264/90000

a=mimetype:string;“video/H264”

a=framesize:96 720-480

a=Width:integer;720

a=Height:integer;480i

a=fmtp:96 packetization-mode=1;profile-level-id=42001e;sprop-parameter-sets=Z0IAHo1oC0PaagwCDAQ=,aM4JyA==

INFO server comment - DESCRIBE: SDP: trackCount:1 trackNames:[streamid=1,header]

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: command:SETUP

SETUP rtsp://144.1.1.137/streamid=1 RTSP/1.0

Transport: RTP/AVP/TCP;unicast;interleaved=0-1

CSeq: 3

INFO server comment - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

response: OK

protocol: RTSP/1.0

transport: RTP/AVP;unicast;client_port=0-1;server_port=6970-6971

session: 463480570

cseq: 3

status: 200

uri: RTSP/1.0 200 OK

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: command:SETUP response:RTSP/1.0 200 OK status:200 handled:false

INFO server comment - v=0

o=- 1036140795 1036140795 IN IP4 144.1.1.137

s=Live stream from iOS

t=0 0

a=control:*

m=video 0 RTP/AVP 96

a=proto:RTP/AVP/TCP;interleaved=0-1

b=TIAS:691224

a=maxprate:73.0000

a=control:streamid=1

a=rtpmap:96 H264/90000

a=mimetype:string;“video/H264”

a=framesize:96 720-480

a=Width:integer;720

a=Height:integer;480i

a=fmtp:96 packetization-mode=1;profile-level-id=42001e;sprop-parameter-sets=Z0IAHo1oC0PaagwCDAQ=,aM4JyA==

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:463480570 sessionTimeout:0

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

INFO stream create - -

INFO stream publish camera.stream -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: command:PLAY

PLAY rtsp://144.1.1.137/ RTSP/1.0

Session: 463480570

CSeq: 4

Range: npt=0.000-

INFO server comment - RTPMediaCaster.Reconnector[1321288348:live/definst:camera.stream]: done: 2

NOTE: Since there is a restriction of the number of characters that I can enter here, I have kept the Wowza logs and complete files of other logs at the link mentioned below. If you are not getting a clear picture by looking at this small part of the log that I have pasted, please check out the following link for complete files.

https://www.dropbox.com/sh/iehgrp8uzvnvc4t/8-X33qUlXG

Please let me know if you need anything else to look into this.

Thanks and regards,

Manas.

Hi,

I’m sorry for the late reply.

Can you try forcing Wowza to connect over UDP to your RTSP server running on your iPhone? You can do that by editing your Application.xml file and changing the RTPTransportMode parameter from “interleave” to “udp”.

You can find the parameter in // section.

Regards.

Hi,

Thanks. The last change suggested by you worked.

Manas.

Hi,

Can you also guide me that how can I save the live RTSP video while it is being streamed live?

Thanks,

Manas

Manas,

The easiest way to do this is to start the stream with MediaCaster type “rtp-record”

Salvadore

Hi,

Thanks for the tip. I was able to save the live stream as suggested by you.

I also wanted to know how can I use nDVR Addon with my present setup. I checked the tutorial for using the nDVR Addon at this link https://www.wowza.com/docs/how-to-set-up-and-run-wowza-ndvr-for-live-streaming, but it says only about playback and publishing for HTTP streaming. Please tell me how can I use the nDVR Addon in my present setup.

Thanks and regards,

Manas