From 4c8545497eb976edf4d505b9d6ea6c792cb64393 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 14 Oct 2014 17:14:50 +0200 Subject: [PATCH] audio-stream-start should take into account the audio stream features configured. --- daemon/commands/audio-stream-start.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/commands/audio-stream-start.cc b/daemon/commands/audio-stream-start.cc index b2d31e5d9..63ee6cbc8 100644 --- a/daemon/commands/audio-stream-start.cc +++ b/daemon/commands/audio-stream-start.cc @@ -26,7 +26,7 @@ void AudioStreamStartCommand::exec(Daemon *app, const char *args) { PayloadType *oldpt=rtp_profile_get_payload(default_profile,payload_type); PayloadType *pt; AudioStream *stream = audio_stream_new(local_port, local_port + 1, linphone_core_ipv6_enabled(app->getCore())); - + audio_stream_set_features(stream,linphone_core_get_audio_features(app->getCore())); if (oldpt){ if (ptime>0){ char fmtp[256];