RTSP/RTP Wowza V3.05 Streaming IP 264 Camera Live Video stops and starts

We have an issue with a IP 264 camera stream.

We publish the stream using the stream manager and then run the Live Video Client example.

We have a camera.stream file in the content folder which is recognised correctly.

rtsp://admin:9999@192.168.1.253:8557/PSIA/Streaming/channels/2?videoCodecType=H.264

The video is displayed and plays perfectly for 25 secs then stops. Wowza then restarts the process after 10 secs and the video then starts to play again. The process is repeated thereafter.

There is a comment in a tutorial that setting the property value below would help sort this issue but does not seem to be the case.

rtspValidationFrequency

0

Integer

Any help would be greatfully appreciated.

Regards

Howard

Application.xml

true

live

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

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

cupertinostreamingpacketizer,smoothstreamingpacketizer,sanjosestreamingpacketizer

flushInterval

25

Integer

onFlushNotifyClients

true

Boolean

enableDynamicStreamMarkers

true

Boolean

${SourceStreamName}.xml,transrate.xml

${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles

${com.wowza.wms.context.VHostConfigHome}/transcoder/templates

0

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

append

cupertinostreaming,smoothstreaming,sanjosestreaming

-1

*

*

*

*

digest

none

senderreport

12000

75

90000

0

0.0.0.0

127.0.0.1

*

interleave

rtpIgnoreProfileLevelId

true

Boolean

debugRTSPSession

true

Boolean

rtspValidationFrequency

0

Integer

sanjoseChunkDurationTarget

10000

Integer

sanjoseMaxChunkCount

10

Integer

sanjosePlaylistChunkCount

4

Integer

sanjoseRepeaterChunkCount

4

Integer

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

Server log

INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bit

rate[live/definst/camera.stream]: 7680792

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:0 count:30 duration:1019

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:1 count:30 duration:1001

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:2 count:30 duration:1110

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:3 count:30 duration:1203

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:4 count:30 duration:1200

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/came

ra.stream]: Add chunk: id:1 a/v/k:0/241/8 duration:9135

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:5 count:30 duration:1200

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/ca

mera.stream]: Add chunk: id:1 a/v/k:0/240/8 duration:9135

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:6 count:30 duration:1201

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:7 count:30 duration:1201

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:8 count:30 duration:1200

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:9 count:30 duration:1205

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:10 count:30 duration:1198

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/ca

mera.stream]: Add chunk: id:2 a/v/k:0/270/9 duration:10810

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/came

ra.stream]: Add chunk: id:2 a/v/k:0/271/9 duration:10810

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/came

ra.stream]: Add chunk: id:3 a/v/k:0/241/8 duration:9608

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/ca

mera.stream]: Add chunk: id:3 a/v/k:0/240/8 duration:9608

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/ca

mera.stream]: Add chunk: id:4 a/v/k:0/240/8 duration:9610

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/came

ra.stream]: Add chunk: id:4 a/v/k:0/241/8 duration:9610

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/came

ra.stream]: Add chunk: id:5 a/v/k:0/271/9 duration:10808

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/ca

mera.stream]: Add chunk: id:5 a/v/k:0/270/9 duration:10808

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/came

ra.stream]: Add chunk: id:6 a/v/k:0/241/8 duration:9610

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/ca

mera.stream]: Add chunk: id:6 a/v/k:0/240/8 duration:9610

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose

INFO server comment - RTPSessionTracker.remove[rtsp://192.168.1.253:8557/PSIA/St

reaming/channels/2?videoCodecType=H.264]: 1:true

INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[live/definst/c

amera.stream]: Destroy live stream packetizer: cupertinostreamingpacketizer

INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[live/definst/c

amera.stream]: Destroy live stream packetizer: smoothstreamingpacketizer

INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[live/definst/c

amera.stream]: Destroy live stream packetizer: sanjosestreamingpacketizer

INFO server comment - RTPMediaCaster.streamTimeout[26953436:live/definst:camer

a.stream]: timeout:12000 diff:12012 reason:101

INFO server comment - RTPMediaCaster.resetConnection[26953436:live/definst:cam

era.stream]:

INFO server comment - RTPMediaCaster.closeRTPSession[26953436:live/definst:cam

era.stream]

INFO stream unpublish camera.stream -

INFO stream destroy camera.stream -

INFO server comment - RTPMediaCaster.Reconnector[26953436:live/definst:camera.

stream]: start: 3

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect

: hostname:192.168.1.253 port:8557 timeout:4 rtspBindIpAddress:null path:/PSIA/S

treaming/channels/2?videoCodecType=H.264

ERROR server comment - MediaCasterConnection.connect: Failed to connect[192.168.

1.253:8557]: org.apache.mina.common.RuntimeIOException: java.net.SocketException

: Invalid argument: sun.nio.ch.Net.setIntOption

WARN server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP

/RTP re-streaming. Cannot connect to server: rtsp://admin:9999@192.168.1.253:855

7/PSIA/Streaming/channels/2?videoCodecType=H.264

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect

: hostname:192.168.1.253 port:8557 timeout:4 rtspBindIpAddress:null path:/PSIA/S

treaming/channels/2?videoCodecType=H.264

ERROR server comment - MediaCasterConnection.connect: Failed to connect[192.168.

1.253:8557]: org.apache.mina.common.RuntimeIOException: java.net.SocketException

: Invalid argument: sun.nio.ch.Net.setIntOption

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect

: hostname:192.168.1.253 port:8557 timeout:4 rtspBindIpAddress:null path:/PSIA/S

treaming/channels/2?videoCodecType=H.264

ERROR server comment - MediaCasterConnection.connect: Failed to connect[192.168.

1.253:8557]: org.apache.mina.common.RuntimeIOException: java.net.SocketException

: Invalid argument: sun.nio.ch.Net.setIntOption

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect

: hostname:192.168.1.253 port:8557 timeout:4 rtspBindIpAddress:null path:/PSIA/S

treaming/channels/2?videoCodecType=H.264

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send(open

): command:DESCRIBE:rtsp://192.168.1.253:8557/PSIA/Streaming/channels/2?videoCod

ecType=H.264

DESCRIBE rtsp://192.168.1.253:8557/PSIA/Streaming/channels/2?videoCodecType=H.26

4 RTSP/1.0

CSeq: 1

Accept: application/sdp

User-Agent: Wowza Media Server Pro (Wowza Media Server 3 Developer Edition (Expi

res: Aug 18, 2012) 3.0.5 build1220)

INFO server comment - RTPSessionTracker.add[rtsp://192.168.1.253:8557/PSIA/Strea

ming/channels/2?videoCodecType=H.264]: 2

INFO server comment - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

content-type: application/sdp

response: OK

protocol: RTSP/1.0

cseq: 1

status: 200

content-length: 630

content-base: rtsp://192.168.1.253:8557/PSIA/Streaming/channels/2?videoCodecType

=H.264/

date: Sat, Jan 01 2000 04:09:38 GMT

uri: RTSP/1.0 200 OK

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processRe

sponse: command:DESCRIBE response:RTSP/1.0 200 OK status:200 handled:false

INFO server comment - v=0

o=- 946695117639732 1 IN IP4 192.168.1.253

s=RTSP/RTP stream from IPNC

i=2?videoCodecType=H.264

t=0 0

a=tool:LIVE555 Streaming Media v2010.07.29

a=type:broadcast

a=control:*

a=range:npt=0-

a=x-qt-text-nam:RTSP/RTP stream from IPNC

a=x-qt-text-inf:2?videoCodecType=H.264

m=video 0 RTP/AVP 96

c=IN IP4 0.0.0.0

b=AS:12000

a=rtpmap:96 H264/90000

a=fmtp:96 packetization-mode=1;profile-level-id=64001F;sprop-parameter-sets=Z2QA

KK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J

8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQDwBE/LKkAAAMAeAAAHCBgQAAehIAAAiVRb3vheEQjUAAAAAE=

,aO48sA==

a=control:track1

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

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processRe

sponse: SETUP: rtsp://192.168.1.253:8557/PSIA/Streaming/channels/2?videoCodecTyp

e=H.264/track1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: com

mand:SETUP

SETUP rtsp://192.168.1.253:8557/PSIA/Streaming/channels/2?videoCodecType=H.264/t

rack1 RTSP/1.0

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

CSeq: 2

INFO server comment - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

response: OK

protocol: RTSP/1.0

session: 00E07F0E

transport: RTP/AVP/TCP;unicast;destination=192.168.1.64;source=192.168.1.253;int

erleaved=0-1

cseq: 2

status: 200

date: Sat, Jan 01 2000 04:09:38 GMT

uri: RTSP/1.0 200 OK

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processRe

sponse: command:SETUP response:RTSP/1.0 200 OK status:200 handled:false

INFO server comment - v=0

o=- 946695117639732 1 IN IP4 192.168.1.253

s=RTSP/RTP stream from IPNC

i=2?videoCodecType=H.264

t=0 0

a=tool:LIVE555 Streaming Media v2010.07.29

a=type:broadcast

a=control:*

a=range:npt=0-

a=x-qt-text-nam:RTSP/RTP stream from IPNC

a=x-qt-text-inf:2?videoCodecType=H.264

m=video 0 RTP/AVP 96

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

b=AS:12000

a=rtpmap:96 H264/90000

a=fmtp:96 packetization-mode=1;profile-level-id=64001F;sprop-parameter-sets=Z2QA

KK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J

8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQDwBE/LKkAAAMAeAAAHCBgQAAehIAAAiVRb3vheEQjUAAAAAE=

,aO48sA==

a=control:track1

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPD

ata: sessionId:00E07F0E sessionTimeout:0

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/

definst]: RTSP/RTP re-streaming. Success, received SDP data.

INFO stream create - -

INFO stream stop camera.stream -

INFO stream publish camera.stream -

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionSt

art: PLAY: rtsp://192.168.1.253:8557/PSIA/Streaming/channels/2?videoCodecType=H.

264

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processRe

sponse: PLAY: rtsp://192.168.1.253:8557/PSIA/Streaming/channels/2?videoCodecType

=H.264/

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: com

mand:PLAY

PLAY rtsp://192.168.1.253:8557/PSIA/Streaming/channels/2?videoCodecType=H.264/ R

TSP/1.0

Session: 00E07F0E

CSeq: 3

Range: npt=0.000-

INFO server comment - RTPMediaCaster.Reconnector[26953436:live/definst:camera.

stream]: done: 3

INFO server comment - *** RTSPMessageReceive ***

RTSP/1.0 200 OK

response: OK

protocol: RTSP/1.0

range: npt=0.000-

session: 00E07F0E

cseq: 3

status: 200

date: Sat, Jan 01 2000 04:09:38 GMT

uri: RTSP/1.0 200 OK

rtp-info: url=rtsp://192.168.1.253:8557/PSIA/Streaming/channels/2?videoCodecType

=H.264/track1;seq=54732;rtptime=342096584

INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.processRe

sponse: command:PLAY response:RTSP/1.0 200 OK status:200 handled:false

INFO server comment - senderReport[RTP-Info]: track1

INFO server comment - firstPacket: TCP:$0

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/camera.str

eam]: chunkDurationTarget: 10000

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/camera.str

eam]: chunkDurationTolerance: 500

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/camera.str

eam]: playlistChunkCount:4

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: sanjosestreamingpacketizer:camera.stream

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/camera.s

tream]: chunkDurationTarget: 10000

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/camera.s

tream]: chunkDurationTolerance: 500

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/camera.s

tream]: audioGroupCount: 3

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/camera.s

tream]: playlistChunkCount:3

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: cupertinostreamingpacketizer:camera.stream

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: smoothstreamingpacketizer:camera.stream

INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[live/_defi

nst_/camera.stream]

INFO server comment - SanJosePacketHandler.startStream[live/definst/camera.str

eam]

INFO server comment - CupertinoPacketHandler.startStream[live/definst/camera.s

tream]

INFO server comment - LiveStreamPacketizerSanJose.handlePacket[live/definst/ca

mera.stream]: Video codec: H264

INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/

camera.stream]: Video codec:H264 isCompatible:true

INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/

camera.stream][avc1.100.40]: H.264 (Video may not be playable on older iPhone an

d iPod touch devices where Baseline/Level 3.0 or lower is required) Video info:

{H264CodecConfigInfo: codec:H264, profile:High, level:4.0, frameSize:1920x1080,

displaySize:1920x1080, frameRate:30.0, crop: l:0 r:0 t:0 b:4}

INFO server comment - firstPacket: TCP:$1

INFO stream play camera.stream -

INFO server comment - LiveStreamPacketizerSmoothStreaming.handlePacket[live/_def

inst_/camera.stream]: Fragment durations: [1.0,1.0,0.9]

INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bit

rate[live/definst/camera.stream]: 7936866

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:0 count:30 duration:1020

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:1 count:30 duration:1004

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:2 count:30 duration:995

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:3 count:30 duration:1001

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:4 count:30 duration:999

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/came

ra.stream]: Add chunk: id:1 a/v/k:0/61/2 duration:2236

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/ca

mera.stream]: Add chunk: id:1 a/v/k:0/60/2 duration:2236

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:5 count:30 duration:1014

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:6 count:30 duration:1202

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:7 count:30 duration:1201

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/came

ra.stream]: Add chunk: id:2 a/v/k:0/270/8 duration:5785

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:8 count:30 duration:1200

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/ca

mera.stream]: Add chunk: id:2 a/v/k:0/269/8 duration:5785

INFO stream stop camera.stream -

INFO stream destroy camera.stream -

INFO session disconnect 1287708849 -

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:9 count:30 duration:1202

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/camera.stream]: Add chunk: type:video id:10 count:30 duration:1200

Can you put this camera on a public IP? If so, send a URL to support@wowza.com. And zip up the conf folder along with the current access and error logs. Restart Wowza first so we can see startup lines. Include a link to this thread for reference

Richard