asterisk/tests
Joshua Colp 6cc890b880 channel: Add support for writing to a specific stream.
This change adds an ast_write_stream function which allows
writing a frame to a specific media stream. It also moves
ast_write() to using this underneath by writing media
frames provided to it to the default streams of the channel.
Existing functionality (such as audiohooks, framehooks, etc)
are limited to being applied to the default stream only.

Unit tests have also been added which test the behavior of
both non-multistream and multistream channels to confirm that
the write() and write_stream() callbacks are invoked
appropriately.

ASTERISK-26793

Change-Id: I4df20d1b65bd4d787fce0b4b478e19d2dfea245c
2017-02-23 18:31:15 +00: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 Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04: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_feature_hooks.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04: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 Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04: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_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 channel: Add support for writing to a specific stream. 2017-02-23 18:31:15 +00: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 Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04: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