Results 1 to 5 of 5

Thread: Live Streaming of Audio Only starting with RTP/PCMA

  1. #1
    Join Date
    May 2013
    Posts
    4

    Default Live Streaming of Audio Only starting with RTP/PCMA

    First, please forgive me for being a newbie and for possibly posting in the wrong place. This forum was the best guess I came up with.

    I currently have a sender receiver pair coded to send audio only between two endpoints, as in an intercom. My encoding is non-wowza-standard; it is live microphone -> PCMA encode -> RTP payload -> UDP which is decoded on the other end as UDP -> RTP depayload ->PCMA decode -> speakers. The code is a Gstreamer pipeline on both ends. FWIW, I chose PCMA because all the applications that use it are LGPL. None of that nasty GPL virus!

    As far as I can tell, I could send this to Wowza (+ transcoder???) and the output stream would be converted to RTSP and AAC. Sadly, the Gstreamer FAAD AAC decoder is GPL and I am pretty much forbidden to use any GPL product.

    So, to get me started,
    WHich application should I go with: Live streaming and comment out the camera XML configuration? Transcoder and disable video (HOW?)

    Is there a way to have Wowza use my encoded stream?

    Thanks for any help. I'm not having much luck getting started and a leg up will be a big help. -- Wes

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

    Default

    Hi, welcome,

    First, follow the mpeg-ts tutorial to re-stream the udp:
    http://www.wowza.com/forums/content....based-encoder)

    Is the audio G.711?. If so, you can use the Wowza Transcoder which will transcode to AAC. The transcoded stream can be played back on rtsp and rtmp clients, and HLS, HDS and Smooth http clients.
    http://www.wowza.com/forums/content....live-streaming

    Use the /transcoder/templates/AudioOnly.xml template, but change the /Encode /Video /Codec to "Disable"

    Richard

  3. #3
    Join Date
    May 2013
    Posts
    4

    Default Live Streaming of Audio Only starting with RTP/PCMA

    Richard,

    Thank you for the starting point. Will head there straight away.

    First a follow up question:

    Quote Originally Posted by rrlanham View Post
    First, follow the mpeg-ts tutorial to re-stream the udp:
    http://www.wowza.com/forums/content....based-encoder)

    Does this mean the UDP will be restreamed as UDP or the RTP/PCMA inside will be extracted, converted and the whole lot restreamed as some other stgream type? RTSP/RTMP/etc.

    And to answer your question:

    Quote Originally Posted by rrlanham View Post
    Is the audio G.711?. If so, you can use the Wowza Transcoder which will transcode to AAC. The transcoded stream can be played back on rtsp and rtmp clients, and HLS, HDS and Smooth http clients.
    http://www.wowza.com/forums/content....live-streaming

    Use the /transcoder/templates/AudioOnly.xml template, but change the /Encode /Video /Codec to "Disable"

    Richard
    Yes. It is from the Gstreamer alawenc encoder. The alawenc webpage says:

    alawenc Convert 16bit PCM to 8bit A law

    Description

    This element encode alaw audio. Alaw coding is also known as G.711.

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

    Default

    Playback clients will use rtmp, rtsp or one of http streamtypes. If you want udp out, you can use the PushPublish addon

    http://www.wowza.com/forums/content....blishing-AddOn

    Richard

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

    Default

    Take a look at VLC for a test sender:

    http://www.wowza.com/forums/content....rver-(MPEG-TS)

    Richard

Similar Threads

  1. Delay in starting on-demand audio streaming
    By er.kmanoj in forum General Forum
    Replies: 2
    Last Post: 05-08-2014, 01:20 AM
  2. Audio introduce clicking noise after few minutes of live RTSP/RTP streaming
    By vinirshah in forum Live Streaming and Encoders
    Replies: 3
    Last Post: 04-23-2014, 06:09 AM
  3. No audio while re-streaming with RTP/RTCP
    By dr.gigabit in forum Live Streaming and Encoders
    Replies: 1
    Last Post: 03-04-2014, 07:04 PM

Posting Permissions

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