diff options
author | Kevin Harwell <kharwell@digium.com> | 2017-05-15 13:26:50 -0500 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2017-05-17 17:41:11 -0500 |
commit | a60d1f3974e0f250925cae8237ea5dc40d564ccd (patch) | |
tree | f49a61768b2a95f84fb1b1e065963c34ede629c8 /tests/test_time.c | |
parent | 51375686f7c42f14b979b8e70bc5a8c7c32da890 (diff) |
app_stream_echo: Added a multi-stream echo application
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
Diffstat (limited to 'tests/test_time.c')
0 files changed, 0 insertions, 0 deletions