No Audio from AAC/H.264 IP Camera(RTSP)

I’m having some problems getting the audio from an IP camera to be streamed in my Wowza server(2.0).Below is my steps:

step1:

Use LiveVideoStreaming\client\live.html

server:rtmp://127.0.0.1/live

stream:rtsp://192.168.0.220/ch03

the console shows that the stream is normally started. (I can see the video but no audio).

step2:Using VLC, I attempted to access the video stream directly in the IP camera using the same text script written in my stream file. I can access the video and the audio.

Why is this?

Whether I need to change something in APPLICATION.XML???

Bellow is my application.xml:

<Root>
	<Application>
		<!-- Uncomment to set application level timeout values
		<ApplicationTimeout>60000</ApplicationTimeout>
		<PingTimeout>12000</PingTimeout>
		<ValidationFrequency>8000</ValidationFrequency>
		<MaximumPendingWriteBytes>0</MaximumPendingWriteBytes>
		<MaximumSetBufferTime>60000</MaximumSetBufferTime>
		<MaximumStorageDirDepth>25</MaximumStorageDirDepth>
		-->
		<Connections>
			<AutoAccept>true</AutoAccept>
			<AllowDomains></AllowDomains>
		</Connections>
		<!--
			StorageDir path variables
			
			${com.wowza.wms.AppHome} - Application home directory
			${com.wowza.wms.ConfigHome} - Configuration home directory
			${com.wowza.wms.context.VHost} - Virtual host name
			${com.wowza.wms.context.VHostConfigHome} - Virtual host config directory
			${com.wowza.wms.context.Application} - Application name
			${com.wowza.wms.context.ApplicationInstance} - Application instance name
			
		-->
		<Streams>
			<StreamType>rtp-live-lowlatency</StreamType>
			<StorageDir>${com.wowza.wms.context.VHostConfigHome}/content</StorageDir>
			<Properties>
				<!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
				
				<Property>
					<Name>sortPackets</Name>
					<Value>true</Value>
					<Type>Boolean</Type>
				</Property>
				<Property>
					<Name>sortBufferSize</Name>
					<Value>0</Value>
					<Type>Integer</Type>
				</Property>
			</Properties>
		</Streams>
		<SharedObjects>
			<StorageDir></StorageDir>
		</SharedObjects>
		<Client>
			<IdleFrequency>-1</IdleFrequency>
			<Access>
				<StreamReadAccess>*</StreamReadAccess>
				<StreamWriteAccess>*</StreamWriteAccess>
				<StreamAudioSampleAccess></StreamAudioSampleAccess>
				<StreamVideoSampleAccess></StreamVideoSampleAccess>
				<SharedObjectReadAccess>*</SharedObjectReadAccess>
				<SharedObjectWriteAccess>*</SharedObjectWriteAccess>
			</Access>
		</Client>
		<RTP>
			<!-- RTP/Authentication/Methods defined in Authentication.xml. Default setup includes; none, basic, digest -->
			<Authentication>
				<Method>digest</Method>
			</Authentication>
			<!-- RTP/AVSyncMethod. Valid values are: senderreport, systemclock, rtptimecode -->
			<AVSyncMethod>senderreport</AVSyncMethod>
			<MaxRTCPWaitTime>12000</MaxRTCPWaitTime>
			<Properties>
				<!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->
				<!--
				<Property>
					<Name></Name>
					<Value></Value>
				</Property>
				-->
			</Properties>
		</RTP>
		<MediaCaster>
			<Properties>
				<!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
				
				<Property>
					<Name>forceInterleaved</Name>
					<Value>true</Value>
					<Type>Boolean</Type>
				</Property>
				
			</Properties>
		</MediaCaster>
		<MediaReader>
			<Properties>
				<!-- Properties defined here will override any properties defined in conf/MediaReaders.xml for any MediaReaders loaded by this applications -->
				<!--
				<Property>
					<Name></Name>
					<Value></Value>
				</Property>
				-->
			</Properties>
		</MediaReader>
		<Repeater>
			<OriginURL></OriginURL>
			<QueryString></QueryString>
		</Repeater> 
		<Modules>
<Module>
	<Name>ModuleLiveStreamRecord</Name>
	<Description>ModuleLiveStreamRecord</Description>
	<Class>com.wowza.wms.plugin.livestreamrecord.ModuleLiveStreamRecord</Class>
</Module>
			<Module>
				<Name>base</Name>
				<Description>Base</Description>
				<Class>com.wowza.wms.module.ModuleCore</Class>
			</Module>
			<Module>
				<Name>properties</Name>
				<Description>Properties</Description>
				<Class>com.wowza.wms.module.ModuleProperties</Class>
			</Module>
			<Module>
				<Name>logging</Name>
				<Description>Client Logging</Description>
				<Class>com.wowza.wms.module.ModuleClientLogging</Class>
			</Module>
			<Module>
				<Name>flvplayback</Name>
				<Description>FLVPlayback</Description>
				<Class>com.wowza.wms.module.ModuleFLVPlayback</Class>
			</Module>
      <Module>
        <Name>ModuleMediaCasterStreamManager</Name>
        <Description>ModuleMediaCasterStreamManager</Description>
        <Class>com.wowza.wms.plugin.mediacasterstreammanager.ModuleMediaCasterStreamManager</Class>
      </Module>
    </Modules>
		<Properties>
			<!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
			<!--
			<Property>
				<Name></Name>
				<Value></Value>
			</Property>	-->
      <Property>
        <Name>mediaCasterStreamManagerPassword</Name>
        <Value>#%$de@vf^</Value>
      </Property>      		
		</Properties>
	</Application>
</Root>

There is any way to solve this problem?

Can you help me? Thanks.

I have poor English,Sorry.

Which IP camera is it? I have seen at least one model recently where audio was not supported in Wowza.

Richard

Are you sure it is MPEG2-AAC or is it MPEG2-AC3. These are different formats. In fact I am not sure I have heard of MPEG2-AAC. MPEG2-AC3 is not support by Flash or Wowza.

Charlie

AAC-LC

Charlie

Most likely packet loss. See this forum post (#2):

http://community.wowza.com/t/-/57

Charlie

This ip camrea not famous,It is made in China.

MPEG2-AAC audio.

In VLC it is normal(both video and audio).

Weather audio is standard AAC,the audio will be normal?

Whether I need to change something in APPLICATION.XML???

Thank you1

Which IP camera is it? I have seen at least one model recently where audio was not supported in Wowza.

Richard

This ip camrea not famous,It is made in China.

MPEG2-AAC audio.

In VLC it is normal(both video and audio).

Weather audio is standard AAC,the audio will be normal?

Whether I need to change something in APPLICATION.XML???

Thank you!!

AAC-LC,ER-AAC-LD,MPEG-2

Which audio compression algorithm support? (Can use in WMS)

Can you tell me?

Thank you!

Thank you very much!Now my camera can use in WMS(both video &audio).

I also want to ask any other audio compression algorithm can be support?Can you give me a list?

For example:1,AAC-LC,2,,3,,4,***?

Thanks.

Image half part clearly,The lower part Mosaic,WHY?

2010-09-29	15:34:29	CST	comment	server	INFO	200	-	RTPMediaCaster.shutdown[27735295:live/_definst_:udp://228.168.0.110:1024]: udp://228.168.0.110:1024	-	-	-	282.125	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:34:29	CST	comment	server	INFO	200	-	RTPMediaCaster.disconnect[27735295:live/_definst_:udp://228.168.0.110:1024]	-	-	-	282.125	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:34:29	CST	comment	server	INFO	200	-	RTPMediaCaster.closeRTPSession[27735295:live/_definst_:udp://228.168.0.110:1024]	-	-	-	282.125	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:34:29	CST	unpublish	stream	INFO	200	udp://228.168.0.110:1024	-	_defaultVHost_	live	_definst_	216.579	[any]	1935	rtmp://localhost/live	127.0.0.1	rtmp	file://C:\Program Files\Wowza Media Systems\Wowza Media Server 2.1.2\MediaCasterStreamManager\client\mediacasterstreammanager.swf	WIN 10,0,2,54	979570093	3973	3840	1	1543550	73595420	0	udp://228.168.0.110:1024	-	-	-	0	0.0	/udp://228.168.0.110:1024	/udp://228.168.0.110:1024	-	rtmp://localhost/live	-
2010-09-29	15:34:29	CST	destroy	stream	INFO	200	udp://228.168.0.110:1024	-	_defaultVHost_	live	_definst_	216.594	[any]	1935	rtmp://localhost/live	127.0.0.1	rtmp	file://C:\Program Files\Wowza Media Systems\Wowza Media Server 2.1.2\MediaCasterStreamManager\client\mediacasterstreammanager.swf	WIN 10,0,2,54	979570093	3973	3840	1	1543550	73595420	0	udp://228.168.0.110:1024	-	-	-	0	0.0	/udp://228.168.0.110:1024	/udp://228.168.0.110:1024	-	rtmp://localhost/live	-
2010-09-29	15:34:29	CST	comment	server	INFO	200	-	ModuleStreamStarter.stopMediaCasterStream: Stream stopped: udp://228.168.0.110:1024	_defaultVHost_	live	_definst_	282.14	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:34:29	CST	comment	server	INFO	200	-	RTPMulticastListener.run(stop)	-	-	-	282.171	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:34:32	CST	comment	server	WARN	200	-	RTPPacket.write: Bad packet: Incomplete NAL Units.	-	-	-	285.812	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:15	CST	comment	server	INFO	200	-	MediaStreamMediaCasterPlay: close	-	-	-	448.234	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:15	CST	stop	stream	INFO	200	udp://228.168.0.110:1024	-	_defaultVHost_	rtplive	_definst_	419.531	[any]	1935	rtmp://localhost/rtplive	127.0.0.1	rtmp	file://C:\Program Files\Wowza Media Systems\Wowza Media Server 2.1.2\examples\LiveVideoStreaming\client\live.swf	WIN 10,0,2,54	1994354443	4201	125845737	1	412999	0	125717913	udp://228.168.0.110:1024	-	-	-	-	-	rtmp://localhost/rtplive/udp://228.168.0.110:1024	rtmp://localhost/rtplive/udp://228.168.0.110:1024	-	rtmp://localhost/rtplive	-
2010-09-29	15:37:15	CST	destroy	stream	INFO	200	udp://228.168.0.110:1024	-	_defaultVHost_	rtplive	_definst_	419.531	[any]	1935	rtmp://localhost/rtplive	127.0.0.1	rtmp	file://C:\Program Files\Wowza Media Systems\Wowza Media Server 2.1.2\examples\LiveVideoStreaming\client\live.swf	WIN 10,0,2,54	1994354443	4201	125845737	1	-	0	125717913	udp://228.168.0.110:1024	-	-	-	-	-	rtmp://localhost/rtplive/udp://228.168.0.110:1024	rtmp://localhost/rtplive/udp://228.168.0.110:1024	-	rtmp://localhost/rtplive	-
2010-09-29	15:37:15	CST	disconnect	session	INFO	200	1994354443	-	_defaultVHost_	rtplive	_definst_	420.063	[any]	1935	rtmp://localhost/rtplive	127.0.0.1	rtmp	file://C:\Program Files\Wowza Media Systems\Wowza Media Server 2.1.2\examples\LiveVideoStreaming\client\live.swf	WIN 10,0,2,54	1994354443	4201	125845737	-	-	-	-	-	-	-	-	-	-	-	-	-	rtmp://localhost/rtplive	-
2010-09-29	15:37:25	CST	comment	server	INFO	200	-	RTPMediaCaster.shutdown[29045356:rtplive/_definst_:udp://228.168.0.110:1024]: udp://228.168.0.110:1024	-	-	-	458.359	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:25	CST	comment	server	INFO	200	-	RTPMediaCaster.disconnect[29045356:rtplive/_definst_:udp://228.168.0.110:1024]	-	-	-	458.359	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:25	CST	comment	server	INFO	200	-	RTPMediaCaster.closeRTPSession[29045356:rtplive/_definst_:udp://228.168.0.110:1024]	-	-	-	458.359	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:25	CST	unpublish	stream	INFO	200	udp://228.168.0.110:1024	-	_defaultVHost_	rtplive	_definst_	429.484	-	80	null	127.0.0.1	rtsp	-	known	364383731	145957184	0	1	1719765	145957184	0	udp://228.168.0.110:1024	-	-	-	-	-	null	null	-	null	-
2010-09-29	15:37:25	CST	destroy	stream	INFO	200	udp://228.168.0.110:1024	-	_defaultVHost_	rtplive	_definst_	429.484	-	80	null	127.0.0.1	rtsp	-	known	364383731	145957184	0	1	0	145957184	0	udp://228.168.0.110:1024	-	-	-	-	-	null	null	-	null	-
2010-09-29	15:37:25	CST	comment	server	INFO	200	-	RTPMulticastListener.run(stop)	-	-	-	458.39	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:32	CST	connect-pending	session	INFO	100	127.0.0.1	-	_defaultVHost_	rtplive	_definst_	0.016	[any]	1935	rtmp://localhost/rtplive	127.0.0.1	rtmp	file://C:\Program Files\Wowza Media Systems\Wowza Media Server 2.1.2\examples\LiveVideoStreaming\client\live.swf	WIN 10,0,2,54	1485666080	3558	3073	-	-	-	-	-	-	-	-	-	-	-	-	-	rtmp://localhost/rtplive	-
2010-09-29	15:37:32	CST	connect	session	INFO	200	127.0.0.1	-	_defaultVHost_	rtplive	_definst_	0.016	[any]	1935	rtmp://localhost/rtplive	127.0.0.1	rtmp	file://C:\Program Files\Wowza Media Systems\Wowza Media Server 2.1.2\examples\LiveVideoStreaming\client\live.swf	WIN 10,0,2,54	1485666080	3558	3073	-	-	-	-	-	-	-	-	-	-	-	-	-	rtmp://localhost/rtplive	-
2010-09-29	15:37:32	CST	create	stream	INFO	200	-	-	_defaultVHost_	rtplive	_definst_	0.0	[any]	1935	rtmp://localhost/rtplive	127.0.0.1	rtmp	file://C:\Program Files\Wowza Media Systems\Wowza Media Server 2.1.2\examples\LiveVideoStreaming\client\live.swf	WIN 10,0,2,54	1485666080	3612	3411	1	0	0	0	-	-	-	-	-	-	rtmp://localhost/rtplive	rtmp://localhost/rtplive	-	rtmp://localhost/rtplive	-
2010-09-29	15:37:32	CST	comment	server	INFO	200	-	MediaStreamMediaCasterPlay: startPlay	-	-	-	465.687	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:32	CST	comment	server	INFO	200	-	RTPMediaCaster.create[27525703]	-	-	-	465.687	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:32	CST	comment	server	INFO	200	-	RTPMediaCaster.init[27525703]	-	-	-	465.687	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:32	CST	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[27525703:rtplive/_definst_:udp://228.168.0.110:1024]: start: 1	-	-	-	465.687	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:32	CST	comment	server	INFO	200	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/_definst_]: URI: udp://228.168.0.110:1024	-	-	-	465.781	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:32	CST	create	stream	INFO	200	-	-	_defaultVHost_	rtplive	_definst_	0.0	-	80	null	127.0.0.1	rtsp	-	known	1909329467	0	0	2	0	0	0	udp://228.168.0.110:1024	-	-	-	-	-	null	null	-	null	-
2010-09-29	15:37:32	CST	publish	stream	INFO	200	udp://228.168.0.110:1024	-	_defaultVHost_	rtplive	_definst_	0.0	-	80	null	127.0.0.1	rtsp	-	known	1909329467	0	0	2	0	0	0	udp://228.168.0.110:1024	-	-	-	-	-	null	null	-	null	-
2010-09-29	15:37:32	CST	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[27525703:rtplive/_definst_:udp://228.168.0.110:1024]: done: 1	-	-	-	465.781	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:32	CST	comment	server	INFO	200	-	MulticastTransport.bind: 228.168.0.110/1024	-	-	-	465.781	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:32	CST	comment	server	INFO	200	-	MulticastTransport.firstPacket: 228.168.0.110/1024	-	-	-	465.796	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:32	CST	comment	server	INFO	200	-	RTPDePacketizerMPEGTS.handleRTPPacket: videoPID[H264]: 0x64	-	-	-	465.796	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:32	CST	comment	server	INFO	200	-	RTPDePacketizerMPEGTS.handleRTPPacket: audioPID[AAC]: 0x66	-	-	-	465.796	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:37:37	CST	play	stream	INFO	200	udp://228.168.0.110:1024	-	_defaultVHost_	rtplive	_definst_	4.344	[any]	1935	rtmp://localhost/rtplive	127.0.0.1	rtmp	file://C:\Program Files\Wowza Media Systems\Wowza Media Server 2.1.2\examples\LiveVideoStreaming\client\live.swf	WIN 10,0,2,54	1485666080	3698	3620	1	0	0	0	udp://228.168.0.110:1024	-	-	-	-	-	rtmp://localhost/rtplive/udp://228.168.0.110:1024	rtmp://localhost/rtplive/udp://228.168.0.110:1024	-	rtmp://localhost/rtplive	-
2010-09-29	15:40:48	CST	comment	server	WARN	200	-	RTPPacket.write: Bad packet: Incomplete NAL Units.	-	-	-	661.906	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:43:14	CST	comment	server	WARN	200	-	RTPPacket.write: Bad packet: Incomplete NAL Units.	-	-	-	807.468	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:43:42	CST	comment	server	WARN	200	-	RTPPacket.write: Bad packet: Incomplete NAL Units.	-	-	-	835.796	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:45:27	CST	comment	server	WARN	200	-	RTPPacket.write: Bad packet: Incomplete NAL Units.	-	-	-	940.921	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:45:52	CST	comment	server	WARN	200	-	RTPPacket.write: Bad packet: Incomplete NAL Units.	-	-	-	965.187	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:46:12	CST	comment	server	WARN	200	-	RTPPacket.write: Bad packet: Incomplete NAL Units.	-	-	-	985.39	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:48:13	CST	comment	server	WARN	200	-	RTPPacket.write: Bad packet: Incomplete NAL Units.	-	-	-	1106.718	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-29	15:48:25	CST	comment	server	WARN	200	-	RTPPacket.write: Bad packet: Incomplete NAL Units.	-	-	-	1118.843	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-

Thank you!