audio is not working for live stream. (video is working)

Hi

We are trying to setup a live stream. Video is working fine but audio is not working. I have verified that encoder is publishing the stream correctly (Live preview available in the encoder to check the output stream). We are streaming the content through wowza and wowza is not playing the audio, But the video is working fine.

We have setup the live stream using sdp file

jwplayer(“player”).setup({

‘id’: ‘playerID’,

‘width’: ‘600’,

‘height’: ‘350’,

‘provider’: ‘rtmp’,

‘streamer’: ‘rtmp://[Ip address]:80/live’,

‘file’: ‘cds.sdp’,

sources: [{

file: “rtmp://[Ip address]:80/live/cds.sdp”

},{

file: “http://[Ip address]:80/live/cds.sdp/playlist.m3u8”,

provider: ‘video’

}]

});

this is the code which we are using. Any thoughts on what could be the issue. I have verified the ports on audio. they are open to UDP. The console shows the following when i start streaming in the streammanager with the sdp file

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

sdp]: Add chunk: id:8 a/v/k:0/301/10 duration:10000

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

s.sdp]: Add chunk: id:8 mode:TS[H264,AAC] a/v/k:0/300/10 duration:10000

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

sdp]: Add chunk: id:9 a/v/k:0/301/10 duration:10000

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

s.sdp]: Add chunk: id:9 mode:TS[H264,AAC] a/v/k:0/300/10 duration:10000

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

sdp]: Add chunk: id:10 a/v/k:0/300/10 duration:10000

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

s.sdp]: Add chunk: id:10 mode:TS[H264,AAC] a/v/k:0/299/10 duration:10000

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

s.sdp]: Add chunk: id:11 mode:TS[H264,AAC] a/v/k:0/300/10 duration:10000

Those lines show that no audio is being packetized (a/v/k:0/299/10) . Can you look above that, where packetizing begins and look for the audio related lines. The packetizer logs messages with details about the codec. It is probably not supported.

Richard

Strange, audio codec looks okay, but never gets packetized

INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/
cds.sdp]: Video codec:H264 isCompatible:true
INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/
cds.sdp]: Audio codec:AAC isCompatible:true
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/cd
s.sdp]: Add chunk: id:1 mode:TS[H264,AAC] a/v/k:0/210/7 duration:7333

What is the source? What version of Wowza are you using?

Can you play the source directly in VLC? Is the source on a public IP?

Richard

So what is the broadcaster, the source? Do you have a rtsp link to that source that we can test? If so, send email to support@wowza.com that include a link to this thread and the rtsp url of the source that we can try re-streaming.

Richard

right now i plugged in my iphone to play some audio files for the test purpose. I could play the live audio through the rtsp link given by the broadcaster (In VLC player–> “Open Media Stream” give the rtsp link there). But I am not able to play the audio using wowza.

This is the entire log

INFO stream publish cds.sdp -

INFO server comment - RTPMediaCaster.Reconnector[31952118:live/definst:cds.sdp

]: done: 1

INFO server comment - UDPTransport.firstPacket: bind:/129.110.166.21:5006 msg:/1

0.166.123.11:45452

INFO server comment - UDPTransport.firstPacket: bind:/129.110.166.21:6000 msg:/1

0.166.123.11:37645

INFO server comment - RTCPHandler.sendFirstRTCPRR[747665198,6001,/10.166.123.11:

37646]

INFO server comment - UDPTransport.firstPacket: bind:/129.110.166.21:6001 msg:/1

0.166.123.11:37646

INFO server comment - RTCPHandler.sendFirstRTCPRR[536813371,5007,/10.166.123.11:

45453]

INFO server comment - UDPTransport.firstPacket: bind:/129.110.166.21:5007 msg:/1

0.166.123.11:45453

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/cds.sdp]:

chunkDurationTarget: 10000

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/cds.sdp]:

chunkDurationTolerance: 500

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/cds.sdp]:

playlistChunkCount:4

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: sanjosestreamingpacketizer:cds.sdp

INFO server comment - SanJosePacketHandler.startStream[live/definst/cds.sdp]

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/cds.sdp]

: chunkDurationTarget: 10000

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

s.sdp]: Video codec: H264

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/cds.sdp]

: chunkDurationTolerance: 500

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

s.sdp]: Audio codec: AAC

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/cds.sdp]

: audioGroupCount: 3

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/cds.sdp]

: playlistChunkCount:3

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: cupertinostreamingpacketizer:cds.sdp

INFO server comment - CupertinoPacketHandler.startStream[live/definst/cds.sdp]

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: smoothstreamingpacketizer:cds.sdp

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

cds.sdp]: Video codec:H264 isCompatible:true

INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[live/_defi

nst_/cds.sdp]

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

cds.sdp]: Audio codec:AAC isCompatible:true

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

cds.sdp][avc1.77.32]: 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: {H264Co

decConfigInfo: codec:H264, profile:Main, level:3.2, frameSize:1280x720, displayS

ize:1280x720, frameRate:15.0, PAR:1:1}

INFO stream play cds.sdp -

INFO server comment - LiveStreamPacketizerSmoothStreaming.handlePacket[live/_def

inst_/cds.sdp]: Fragment durations: [1.0,1.0,1.0]

INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bit

rate[live/definst/cds.sdp]: 1995400

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:0 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:1 count:30 duration:1000

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream

packetizer: smoothstreamingpacketizer:cds.sdp

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

ds.sdp]: Destroy live stream packetizer: smoothstreamingpacketizer

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

s.sdp]: Add chunk: id:1 mode:TS[H264,AAC] a/v/k:0/210/7 duration:7333

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

sdp]: Add chunk: id:1 a/v/k:0/211/7 duration:7333

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

sdp]: Add chunk: id:2 a/v/k:0/301/10 duration:10000

INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[live/_defi

nst_/cds.sdp]

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:2 count:30 duration:1000

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

s.sdp]: Add chunk: id:2 mode:TS[H264,AAC] a/v/k:0/300/10 duration:10000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:3 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:4 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:5 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:6 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:7 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:8 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:9 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:10 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.handlePacket[live/_def

inst_/cds.sdp]: Fragment durations: [1.0,1.0,1.0]

INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bit

rate[live/definst/cds.sdp]: 2002386

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:0 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:1 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:2 count:30 duration:1000

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

s.sdp]: Add chunk: id:3 mode:TS[H264,AAC] a/v/k:0/300/10 duration:10000

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

sdp]: Add chunk: id:3 a/v/k:0/301/10 duration:10000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:3 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:4 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:5 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:6 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:7 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:8 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:9 count:30 duration:1000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi

nst_/cds.sdp]: Add chunk: type:video id:10 count:30 duration:1000

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

sdp]: Add chunk: id:4 a/v/k:0/301/10 duration:10000

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

s.sdp]: Add chunk: id:4 mode:TS[H264,AAC] a/v/k:0/300/10 duration:10000

for now i am testing in using audio from my iphone connected to broadcaster and broadcaster streaming to wowza using sdp file. we are using wowza 3.5. I am able to play the live stream in vlc from the rtsp link given by broadcaster (broadcaster ip address). But i am not able to play the same with rtsp link with wowza ip.

any help?

The broadcaster is not publicly available(public IP). Only wowza is available to public. So i dont think it will work for you even if i provide the rtsp link.

We are using DVI broadcaster DL.

http://www.epiphan.com/products/broadcasting/dvi-broadcaster-dl/

Can you please let me know any thing else that i can provide.