mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-31 02:09:22 +00:00
Fix compilation error due to change in ms2 API.
This commit is contained in:
parent
c6d1e72369
commit
445bd2c495
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ void AudioStreamStartCommand::exec(Daemon *app, const char *args) {
|
|||
MSSndCardManager *manager = ms_snd_card_manager_get();
|
||||
MSSndCard *capture_card = ms_snd_card_manager_get_card(manager, linphone_core_get_capture_device(app->getCore()));
|
||||
MSSndCard *play_card = ms_snd_card_manager_get_card(manager, linphone_core_get_playback_device(app->getCore()));
|
||||
AudioStream *stream = audio_stream_new(local_port, false);
|
||||
AudioStream *stream = audio_stream_new(local_port, local_port + 1, false);
|
||||
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."));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue