Wowza Community

RTMP timestamp values on live streaming

Hi,

I am trying to send h264+mp3 stream from our own encoder software to wowza over RTMP packets. I was setting timestamp values for RTMP packets without considering actual timestamp values from video and audio packets (using 1 clock, set before packet send) and everything was working fine.

Now I am setting timestamp value properly and Wowza is throwing “Data format incorrect” errors

for video: starting from 0 and increases 40 for every frame ( each rtmp message has one frame ) [ 25fps ]

for audio: actually same as video.

here is the log:

012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	open	-	-	-	2527.565	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	INFO	200	-	handshake0: 1537	-	-	-	2527.565	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	Handshake[1]: length:1633	-	-	-	2527.566	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	Handshake[2]: length:97	-	-	-	2527.566	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	cmd: connect	-	-	-	2527.567	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	queryStr: 	-	-	-	2527.567	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	  connect: connectapp=live	-	-	-	2527.567	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	  connect: connecttype=nonprivate	-	-	-	2527.568	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	  connect: connecttcUrl=rtmp://localhost/live	-	-	-	2527.568	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	connect-pending	session	INFO	100	127.0.0.1	-	_defaultVHost_	live	_definst_	0.003	[any]	1935	rtmp://localhost/live	127.0.0.1	rtmp	-	unknown	663227137	3170	3073	-	-	-	-	-	-	-	-	-	-	-	-	-	rtmp://localhost/live	-
2012-08-28	11:22:07	EEST	connect	session	INFO	200	127.0.0.1	-	_defaultVHost_	live	_definst_	0.003	[any]	1935	rtmp://localhost/live	127.0.0.1	rtmp	-	unknown	663227137	3170	3073	-	-	-	-	-	-	-	-	-	-	-	-	-	rtmp://localhost/live	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	cmd: releaseStream	-	-	-	2527.57	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	cmd: FCPublish	-	-	-	2527.571	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	cmd: createStream	-	-	-	2527.571	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	LiveReceiver.onFlushNotifyClients[live/_definst_/]: false	-	-	-	2527.572	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	LiveReceiver.flushInterval[live/_definst_/]: 75	-	-	-	2527.572	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	LiveReceiver.verboseDebug[live/_definst_/]: false	-	-	-	2527.572	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	create	stream	INFO	200	-	-	_defaultVHost_	live	_definst_	0.0	[any]	1935	rtmp://localhost/live	127.0.0.1	rtmp	-	unknown	663227137	3289	3565	1	0	0	0	-	-	-	-	-	-	rtmp://localhost/live	rtmp://localhost/live	-	rtmp://localhost/live	-
2012-08-28	11:22:07	EEST	comment	server	DEBUG	200	-	cmd: publish	-	-	-	2527.573	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:07	EEST	publish	stream	INFO	200	myStream	-	_defaultVHost_	live	_definst_	0.002	[any]	1935	rtmp://localhost/live	127.0.0.1	rtmp	-	unknown	663227137	3339	3606	1	0	0	0	myStream	-	-	-	-	-	rtmp://localhost/live/myStream	rtmp://localhost/live/myStream	-	rtmp://localhost/live	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92149644>92149719 || rt:1346142129068>1346142129143	-	-	-	2529.203	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSanJose.init[live/_definst_/myStream]: chunkDurationTarget: 10000	-	-	-	2529.203	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92149644>92149719 || rt:1346142129068>1346142129143	-	-	-	2529.203	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSanJose.init[live/_definst_/myStream]: chunkDurationTolerance: 500	-	-	-	2529.203	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSanJose.init[live/_definst_/myStream]: playlistChunkCount:4	-	-	-	2529.204	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:myStream	-	-	-	2529.204	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	SanJosePacketHandler.startStream[live/_definst_/myStream]	-	-	-	2529.204	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerCupertino.init[live/_definst_/myStream]: chunkDurationTarget: 10000	-	-	-	2529.205	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSanJose.handlePacket[live/_definst_/myStream]: Audio codec: MP3	-	-	-	2529.205	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerCupertino.init[live/_definst_/myStream]: chunkDurationTolerance: 500	-	-	-	2529.205	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerCupertino.init[live/_definst_/myStream]: audioGroupCount: 3	-	-	-	2529.205	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerCupertino.init[live/_definst_/myStream]: playlistChunkCount:3	-	-	-	2529.205	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:myStream	-	-	-	2529.206	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	CupertinoPacketHandler.startStream[live/_definst_/myStream]	-	-	-	2529.206	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: smoothstreamingpacketizer:myStream	-	-	-	2529.206	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerCupertino.handlePacket[live/_definst_/myStream]: Audio codec:MP3 isCompatible:true	-	-	-	2529.206	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.startStream[live/_definst_/myStream]	-	-	-	2529.207	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerCupertino.handlePacket[live/_definst_/myStream][mp4a.40.34]: MP3 Audio	-	-	-	2529.207	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92149684>92149719 || rt:1346142129107>1346142129143	-	-	-	2529.242	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][true,false,75]: tc:92149724>92149719 || rt:1346142129147>1346142129143	-	-	-	2529.282	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92149764>92149799 || rt:1346142129187>1346142129222	-	-	-	2529.322	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][true,false,75]: tc:92149804>92149799 || rt:1346142129227>1346142129222	-	-	-	2529.362	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92149806>92149879 || rt:1346142129241>1346142129302	-	-	-	2529.376	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSanJose.handlePacket[live/_definst_/myStream]: Video codec: H264	-	-	-	2529.376	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92149806>92149879 || rt:1346142129242>1346142129302	-	-	-	2529.377	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerCupertino.handlePacket[live/_definst_/myStream]: Video codec:H264 isCompatible:true	-	-	-	2529.376	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerCupertino.handlePacket[live/_definst_/myStream][avc1.77.30]: H.264 (Video may not be playable on older iPhone and iPod touch devices where Baseline/Level 3.0 or lower is required) Video info: {H264CodecConfigInfo: codec:H264, profile:Main, level:3.0, frameSize:720x576, displaySize:720x576, frameRate:25.0, mbAFF:true}	-	-	-	2529.378	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92149844>92149879 || rt:1346142129260>1346142129302	-	-	-	2529.395	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92149846>92149879 || rt:1346142129262>1346142129302	-	-	-	2529.397	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][true,false,75]: tc:92149884>92149879 || rt:1346142129324>1346142129302	-	-	-	2529.459	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92149886>92149959 || rt:1346142129324>1346142129399	-	-	-	2529.459	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92149924>92149959 || rt:1346142129342>1346142129399	-	-	-	2529.477	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92149926>92149959 || rt:1346142129343>1346142129399	-	-	-	2529.478	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.handlePacket[live/_definst_/myStream]: Fragment durations: [0.0,0.0,0.0]	-	-	-	2529.478	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bitrate[live/_definst_/myStream]: 4450733	-	-	-	2529.478	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/myStream]: Add chunk: type:video id:0 count:1 duration:40	-	-	-	2529.478	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][true,false,75]: tc:92149964>92149959 || rt:1346142129398>1346142129399	-	-	-	2529.533	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92149966>92150039 || rt:1346142129399>1346142129473	-	-	-	2529.534	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/myStream]: Add chunk: type:video id:1 count:1 duration:40	-	-	-	2529.534	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150004>92150039 || rt:1346142129420>1346142129473	-	-	-	2529.555	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150006>92150039 || rt:1346142129442>1346142129473	-	-	-	2529.577	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/myStream]: Add chunk: type:video id:2 count:1 duration:40	-	-	-	2529.577	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][true,false,75]: tc:92150044>92150039 || rt:1346142129475>1346142129473	-	-	-	2529.61	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/myStream]: Add chunk: id:1 mode:TS a/v/k:3/5/5 duration:362	-	-	-	2529.611	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/myStream]: Add chunk: id:1 a/v/k:11/6/5 duration:362	-	-	-	2529.611	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150046>92150119 || rt:1346142129485>1346142129550	-	-	-	2529.62	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/myStream]: Add chunk: type:video id:3 count:1 duration:40	-	-	-	2529.621	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150084>92150119 || rt:1346142129518>1346142129550	-	-	-	2529.653	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150086>92150119 || rt:1346142129525>1346142129550	-	-	-	2529.66	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/myStream]: Add chunk: type:video id:4 count:1 duration:40	-	-	-	2529.677	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][true,false,75]: tc:92150124>92150119 || rt:1346142129549>1346142129550	-	-	-	2529.684	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150126>92150199 || rt:1346142129550>1346142129624	-	-	-	2529.685	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/myStream]: Add chunk: type:video id:5 count:1 duration:40	-	-	-	2529.685	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150164>92150199 || rt:1346142129591>1346142129624	-	-	-	2529.726	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150166>92150199 || rt:1346142129592>1346142129624	-	-	-	2529.727	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/myStream]: Add chunk: type:video id:6 count:1 duration:40	-	-	-	2529.727	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][true,false,75]: tc:92150204>92150199 || rt:1346142129622>1346142129624	-	-	-	2529.757	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150206>92150279 || rt:1346142129668>1346142129697	-	-	-	2529.803	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150244>92150279 || rt:1346142129668>1346142129697	-	-	-	2529.803	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/myStream]: Add chunk: type:video id:7 count:1 duration:40	-	-	-	2529.804	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150246>92150279 || rt:1346142129678>1346142129697	-	-	-	2529.813	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/myStream]: Add chunk: type:video id:8 count:1 duration:40	-	-	-	2529.813	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][true,false,75]: tc:92150284>92150279 || rt:1346142129712>1346142129697	-	-	-	2529.848	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150286>92150359 || rt:1346142129723>1346142129787	-	-	-	2529.858	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/myStream]: Add chunk: type:video id:9 count:1 duration:40	-	-	-	2529.858	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150324>92150359 || rt:1346142129751>1346142129787	-	-	-	2529.886	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150326>92150359 || rt:1346142129763>1346142129787	-	-	-	2529.898	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	INFO	200	-	LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/myStream]: Add chunk: type:video id:10 count:1 duration:40	-	-	-	2529.898	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][true,false,75]: tc:92150364>92150359 || rt:1346142129798>1346142129787	-	-	-	2529.933	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150366>92150439 || rt:1346142129806>1346142129873	-	-	-	2529.941	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150404>92150439 || rt:1346142129834>1346142129873	-	-	-	2529.969	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150406>92150439 || rt:1346142129844>1346142129873	-	-	-	2529.979	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][true,false,75]: tc:92150444>92150439 || rt:1346142129879>1346142129873	-	-	-	2530.014	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150446>92150519 || rt:1346142129880>1346142129954	-	-	-	2530.015	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150484>92150519 || rt:1346142129921>1346142129954	-	-	-	2530.06	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150486>92150519 || rt:1346142129926>1346142129954	-	-	-	2530.061	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][true,false,75]: tc:92150524>92150519 || rt:1346142129940>1346142129954	-	-	-	2530.075	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	LiveReceiver.checkFlush[live/_definst_/myStream][false,false,75]: tc:92150564>92150599 || rt:1346142129981>1346142130015	-	-	-	2530.116	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	ERROR	500	-	Zero sized function (client:663227137:unknown): type:20 size:0:	-	-	-	2530.117	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	ERROR	500	-	Data format incorrect, killing client connection.	-	-	-	2530.118	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	unpublish	stream	INFO	200	myStream	-	_defaultVHost_	live	_definst_	2.546	[any]	1935	rtmp://localhost/live	127.0.0.1	rtmp	-	unknown	663227137	174708	3764	1	0	169513	0	myStream	-	-	-	-	-	rtmp://localhost/live/myStream	rtmp://localhost/live/myStream	-	rtmp://localhost/live	-
2012-08-28	11:22:09	EEST	destroy	stream	INFO	200	myStream	-	_defaultVHost_	live	_definst_	2.547	[any]	1935	rtmp://localhost/live	127.0.0.1	rtmp	-	unknown	663227137	174708	3764	1	0	169513	0	myStream	-	-	-	-	-	rtmp://localhost/live/myStream	rtmp://localhost/live/myStream	-	rtmp://localhost/live	-
2012-08-28	11:22:09	EEST	disconnect	session	INFO	200	663227137	-	_defaultVHost_	live	_definst_	2.555	[any]	1935	rtmp://localhost/live	127.0.0.1	rtmp	-	unknown	663227137	174708	3764	-	-	-	-	-	-	-	-	-	-	-	-	-	rtmp://localhost/live	-
2012-08-28	11:22:09	EEST	comment	server	ERROR	500	-	Zero sized function (client:663227137:unknown): type:20 size:0:	_defaultVHost_	live	_definst_	2530.122	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	ERROR	500	-	Data format incorrect, killing client connection.	_defaultVHost_	live	_definst_	2530.122	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	ERROR	500	-	Zero sized function (client:663227137:unknown): type:20 size:0:	_defaultVHost_	live	_definst_	2530.123	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	ERROR	500	-	Data format incorrect, killing client connection.	_defaultVHost_	live	_definst_	2530.123	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	ERROR	500	-	Zero sized function (client:663227137:unknown): type:20 size:0:	_defaultVHost_	live	_definst_	2530.124	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	ERROR	500	-	Data format incorrect, killing client connection.	_defaultVHost_	live	_definst_	2530.124	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	ERROR	500	-	Zero sized function (client:663227137:unknown): type:20 size:0:	_defaultVHost_	live	_definst_	2530.124	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	ERROR	500	-	Data format incorrect, killing client connection.	_defaultVHost_	live	_definst_	2530.125	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	ERROR	500	-	Zero sized function (client:663227137:unknown): type:20 size:0:	_defaultVHost_	live	_definst_	2530.125	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	ERROR	500	-	Data format incorrect, killing client connection.	_defaultVHost_	live	_definst_	2530.125	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:09	EEST	comment	server	DEBUG	200	-	sessionClosed: send close	_defaultVHost_	live	_definst_	2530.129	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:22	EEST	comment	server	INFO	200	-	MediaStreamMap.removeLiveStreamPacketizer[live/_definst_/myStream]: Destroy live stream packetizer: smoothstreamingpacketizer	-	-	-	2542.27	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:22	EEST	comment	server	INFO	200	-	MediaStreamMap.removeLiveStreamPacketizer[live/_definst_/myStream]: Destroy live stream packetizer: cupertinostreamingpacketizer	-	-	-	2542.272	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:22:22	EEST	comment	server	INFO	200	-	MediaStreamMap.removeLiveStreamPacketizer[live/_definst_/myStream]: Destroy live stream packetizer: sanjosestreamingpacketizer	-	-	-	2542.322	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2012-08-28	11:23:10	EEST	app-stop	application	INFO	200	_definst_	live/_definst_	-	-	-	2590.616	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-

By the way,

If I only publish audio or video, there is no problem. Sending them together results in data format incorrect

Try 128kbs for the 44100Hz MP3

Try the adding the SortBuffer at the top of this guide

https://www.wowza.com/docs/troubleshoot-live-streaming

Richard

For MP3 try a sample rate of 44100Hz and 96kbps.

For MP3 try a sample rate of 44100Hz and 96kbps.

Still same.

Besides, it works fine if there is no video stream being sent together with audio. Doesn’t that mean audio and video data is individually correct? When I sent them together, wowza shutdowns connection, may be some kind of sync issue?

OK, I have found the problem. It looks like Wowza doesn’t accept rtmp packets if they are not in order (timestamp value) and sometimes my audio timestamps gets ahead of video timestamps which breaks timestamp order.

Should I have to reorder my packets before sending Wowza or is there a functionality, may be a configuration in your product to reorder them?