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: http://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.