Results 1 to 8 of 8

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

  1. #1
    Join Date
    Jan 2013
    Posts
    27

    Default 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
    Last edited by pnethaga; 04-19-2013 at 03:06 PM.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    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

  3. #3
    Join Date
    Jan 2013
    Posts
    27

    Default

    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

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    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

  5. #5
    Join Date
    Jan 2013
    Posts
    27

    Default

    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.
    Last edited by pnethaga; 04-20-2013 at 09:38 PM.

  6. #6
    Join Date
    Jan 2013
    Posts
    27

    Default

    any help?

  7. #7
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    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

  8. #8
    Join Date
    Jan 2013
    Posts
    27

    Default

    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/broa...roadcaster-dl/

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

Similar Threads

  1. Transcoder not working and stop working live streaming
    By silas_i in forum AddOn: Transcoder
    Replies: 5
    Last Post: 03-18-2013, 04:55 PM
  2. stream from mpeg ts encoder: video not working, audio OK
    By ghost_rider in forum Live Streaming and Encoder Discussion
    Replies: 5
    Last Post: 11-28-2012, 09:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •