Results 1 to 2 of 2

Thread: Copying audio data from one live stream to another live stream

  1. #1

    Default Copying audio data from one live stream to another live stream

    I'd like to know if anyone has tried using the Publisher API (similar to the example shown at ) to read audio data from an existing live stream and copying it into another live stream. Specifically, I'm testing the use of a Stream instance created in server-side API, and change the audio track that is piped into the Stream instance from one source to another during a live broadcast. Would this possible? Many thanks in advance for any suggestions…


    P.S. I was thinking that I could offload this request to ffmpeg, as another forum user posted here:

    but I'd prefer to use an existing Wowza API if possible.

  2. #2



    This is possible and you would need to use the Publisher API. You can extract packets using the getPlayPackets() you can then check which ones are audio and copy them to a new stream along with any video. You may need to alter timecodes so audio/video packets align correctly but can be done.

    There is a post in the Showcase section which generates an audio stream from an audio/video stream.


Similar Threads

  1. How to attach data to a live stream?
    By ripleyXLR8 in forum Live Streaming and Encoders
    Replies: 1
    Last Post: 04-26-2014, 04:37 PM
  2. How to get codec payload/stream data for live audio stream?
    By tomwg123 in forum Server-side Modules and Code Samples Discussion
    Replies: 5
    Last Post: 08-20-2012, 07:37 PM
  3. Replies: 2
    Last Post: 03-15-2012, 08:48 AM
  4. live Stream count transfered data
    By egon128 in forum Live Streaming and Encoder Discussion
    Replies: 6
    Last Post: 11-27-2011, 03:57 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