mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 13:08:08 +00:00
Fix crash when leaving linphone-daemon without stopping active stream.
This commit is contained in:
parent
99cf5ab3d5
commit
665fd8693b
1 changed files with 1 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ void AudioStreamStartCommand::exec(Daemon *app, const char *args) {
|
|||
AudioStream *stream = audio_stream_new(local_port, local_port + 1, linphone_core_ipv6_enabled(app->getCore()));
|
||||
if (audio_stream_start_now(stream, &av_profile, addr, port, port + 1, payload_type, jitt, play_card, capture_card, echo_canceller) != 0) {
|
||||
app->sendResponse(Response("Error during audio stream creation."));
|
||||
return;
|
||||
}
|
||||
ostringstream ostr;
|
||||
ostr << "Id: " << app->updateAudioStreamId(stream) << "\n";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue