summaryrefslogtreecommitdiff
path: root/main/cli.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-10-25 22:31:33 +0000
committerJoshua Colp <jcolp@digium.com>2017-10-30 17:10:03 -0500
commit4c535f5c30f7271f89d236f98fdfba101d73ff34 (patch)
tree6d867aa49526eadf221b08bb4d1542b4c22a1f4e /main/cli.c
parentbe5b7b2076a577c2a994e752b152c5242fb29ce7 (diff)
core / pjsip: Add support for grouping streams together.
In WebRTC streams (or media tracks in their world) can be grouped together using the mslabel. This informs the browser that each should be synchronized with each other. This change extends the stream API so this information can be stored with streams. The PJSIP support has been extended to use the mslabel to determine grouped streams and store this association on the streams. Finally when creating the SDP the group information is used to cause each media stream to use the same mslabel. ASTERISK-27379 Change-Id: Id6299aa031efe46254edbdc7973c534d54d641ad
Diffstat (limited to 'main/cli.c')
-rw-r--r--main/cli.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/cli.c b/main/cli.c
index ef86e256a..d9aab85cb 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -1690,10 +1690,12 @@ static char *handle_showchan(struct ast_cli_entry *e, int cmd, struct ast_cli_ar
"Name: %s\n"
" Type: %s\n"
" State: %s\n"
+ " Group: %d\n"
" Formats: %s\n",
ast_stream_get_name(stream),
ast_codec_media_type2str(ast_stream_get_type(stream)),
ast_stream_state2str(ast_stream_get_state(stream)),
+ ast_stream_get_group(stream),
ast_format_cap_get_names(ast_stream_get_formats(stream), &codec_buf)
);
}