Skip to content
Snippets Groups Projects
  • Kevin Harwell's avatar
    a60d1f39
    app_stream_echo: Added a multi-stream echo application · a60d1f39
    Kevin Harwell authored
    If the channel does not have multi-stream support then this application acts
    just like app_echo. If it does have multi-stream support then each stream is
    echoed back to itself (one-to-one).
    
    If a "num" is specified, then a new topology is made that contains clones (from
    the channel's topology) of all media types that are not equal to the given
    "type". If the media type differs then the first stream matching the "type" is
    cloned into the new topology and then up to "num" - 1 of the same stream are
    also cloned into it. Any additional streams from the original topology matching
    the "type" are subsequently ignored (i.e. not added to the new topology).
    
    For this same case when a frame is read from a stream that frame is still
    echoed back like before, but now that frame is also echoed out to the
    additional streams that matched on the specified "type".
    
    ASTERISK-26997 #close
    
    Change-Id: I254144486734178e196c7f590a26ffc13543ff2c
    a60d1f39
    History
    app_stream_echo: Added a multi-stream echo application
    Kevin Harwell authored
    If the channel does not have multi-stream support then this application acts
    just like app_echo. If it does have multi-stream support then each stream is
    echoed back to itself (one-to-one).
    
    If a "num" is specified, then a new topology is made that contains clones (from
    the channel's topology) of all media types that are not equal to the given
    "type". If the media type differs then the first stream matching the "type" is
    cloned into the new topology and then up to "num" - 1 of the same stream are
    also cloned into it. Any additional streams from the original topology matching
    the "type" are subsequently ignored (i.e. not added to the new topology).
    
    For this same case when a frame is read from a stream that frame is still
    echoed back like before, but now that frame is also echoed out to the
    additional streams that matched on the specified "type".
    
    ASTERISK-26997 #close
    
    Change-Id: I254144486734178e196c7f590a26ffc13543ff2c