asterisk/tests
Kevin Harwell 7b0e3b92fd bridge_simple: Added support for streams
This patch is the first cut at adding stream support to the bridging framework.
Changes were made to the framework that allows mapping of stream topologies to
a bridge's supported media types.

The first channel to enter a bridge initially defines the media types for a
bridge (i.e. a one to one mapping is created between the bridge and the first
channel). Subsequently added channels merge their media types into the bridge's
adding to it when necessary. This allows channels with different sized
topologies to map correctly to each other according to media type. The bridge
drops any frame that does not have a matching index into a given write stream.

For now though, bridge_simple will align its two channels according to size or
first to join. Once both channels join the bridge the one with the most streams
will indicate to the other channel to update its streams to be the same as that
of the other. If both channels have the same number of streams then the first
channel to join is chosen as the stream base.

A topology change source was also added to a channel when a stream toplogy
change request is made. This allows subsystems to know whether or not they
initiated a change request. Thus avoiding potential recursive situations.

ASTERISK-26966 #close

Change-Id: I1eb5987921dd80c3cdcf52accc136393ca2d4163
2017-05-03 16:36:22 -05:00
..
Makefile Title update 2012-10-14 21:56:13 +00:00
test_abstract_jb.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_acl.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_ami_security_events.sh Add an API for reporting security events, and a security event logging module. 2009-07-11 19:15:03 +00:00
test_amihooks.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_aoc.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_app.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_ari.c ari: Implement 'debug all' and request/response logging 2017-01-23 10:25:58 -07:00
test_ari_model.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_ast_format_str_reduce.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_astobj2.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_astobj2_thrash.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_astobj2_weaken.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_bucket.c modules: change module LOAD_FAILUREs to LOAD_DECLINES 2017-04-12 15:57:21 -06:00
test_callerid.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_cdr.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_cel.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_channel.c channel: Remove old epoll support and fixed max number of file descriptors. 2017-03-27 19:54:44 +00:00
test_channel_feature_hooks.c modules: change module LOAD_FAILUREs to LOAD_DECLINES 2017-04-12 15:57:21 -06:00
test_config.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_core_codec.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_core_format.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_db.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_devicestate.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_dlinklists.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_dns.c tests_dns: Make DNS tests older nameser.h compatible 2016-12-08 07:22:33 +11:00
test_dns_naptr.c tests_dns: Make DNS tests older nameser.h compatible 2016-12-08 07:22:33 +11:00
test_dns_query_set.c tests_dns: Make DNS tests older nameser.h compatible 2016-12-08 07:22:33 +11:00
test_dns_recurring.c tests_dns: Make DNS tests older nameser.h compatible 2016-12-08 07:22:33 +11:00
test_dns_srv.c tests_dns: Make DNS tests older nameser.h compatible 2016-12-08 07:22:33 +11:00
test_endpoints.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_event.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_expr.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_file.c file.c/__ast_file_read_dirs: Fix issues on filesystems without d_type 2016-11-15 21:21:59 -05:00
test_format_cache.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_format_cap.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_func_file.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_gosub.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_hashtab_thrash.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_heap.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_http_media_cache.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_jitterbuf.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_json.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_linkedlists.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_locale.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_logger.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_media_cache.c modules: change module LOAD_FAILUREs to LOAD_DECLINES (14) 2017-04-12 15:57:39 -06:00
test_message.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_named_lock.c lock: Add named lock capability 2016-04-08 13:52:02 -05:00
test_netsock2.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_optional_api.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_pbx.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_poll.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_res_pjsip_scheduler.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_res_stasis.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_sched.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_scoped_lock.c ao2_iterator: Mini-audit of the ao2_iterator loops in the new code files. 2013-12-20 20:00:50 +00:00
test_sdp.c SDP API: Add SSRC-level attributes 2017-04-27 15:03:51 -05:00
test_security_events.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_skel.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_sorcery.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_sorcery_astdb.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_sorcery_memory_cache_thrash.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_sorcery_realtime.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_stasis.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_stasis_channels.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_stasis_endpoints.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_stream.c bridge_simple: Added support for streams 2017-05-03 16:36:22 -05:00
test_stringfields.c stringfields: Update extended string fields for master only. 2016-04-13 14:01:37 -06:00
test_strings.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_substitution.c LISTFILTER: Remove outdated ERROR message. 2017-01-22 17:56:15 -06:00
test_taskprocessor.c Multiple revisions 399887,400138,400178,400180-400181 2013-09-30 18:55:27 +00:00
test_threadpool.c Fix failing threadpool_auto_increment test. 2016-02-18 11:49:50 -06:00
test_time.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_uri.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_utils.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_uuid.c Add uuid wrapper API call ast_uuid_generate_str(). 2013-03-28 23:59:20 +00:00
test_vector.c vector: defaults and indexes 2017-04-26 13:23:39 -05:00
test_voicemail_api.c stream: Add stream topology to channel 2017-02-14 14:09:37 -07:00
test_websocket_client.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_xml_escape.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00