summaryrefslogtreecommitdiff
path: root/apps/confbridge
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-09-19 12:53:41 +0000
committerJoshua Colp <jcolp@digium.com>2017-09-19 07:56:00 -0500
commit6fd3db51e878f679851afd9e12c14dc5dc7d7276 (patch)
tree5718536a8401119cf84c893d491aba9c841aa5f8 /apps/confbridge
parent1199927fc09a57b90dd2426ae209666b3a838811 (diff)
app_confbridge: Only create a channel that records audio.
This change makes it so that the conference recorder channel that is created only contains audio formats and an audio stream. This is because the underlying application used by ConfBridge to record, MixMonitor, only allows recording audio. Having additional streams (and in particular a video stream) can result in clients needlessly renegotiating to add a video stream that will never receive video. Change-Id: I89d38aedc9205eca7741d5435e73e73bb9de97a0
Diffstat (limited to 'apps/confbridge')
-rw-r--r--apps/confbridge/conf_chan_record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/confbridge/conf_chan_record.c b/apps/confbridge/conf_chan_record.c
index 5d3a7dbbe..239fb912c 100644
--- a/apps/confbridge/conf_chan_record.c
+++ b/apps/confbridge/conf_chan_record.c
@@ -65,7 +65,7 @@ static struct ast_channel *rec_request(const char *type, struct ast_format_cap *
if (!capabilities) {
return NULL;
}
- ast_format_cap_append_by_type(capabilities, AST_MEDIA_TYPE_UNKNOWN);
+ ast_format_cap_append_by_type(capabilities, AST_MEDIA_TYPE_AUDIO);
chan = ast_channel_alloc(1, AST_STATE_UP, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0,
"CBRec/%s-%08x",