mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 22:28:07 +00:00
Change of mediastream2 API.
This commit is contained in:
parent
aef56a9c3a
commit
3bf2dea300
1 changed files with 3 additions and 3 deletions
|
|
@ -559,7 +559,7 @@ void linphone_call_enable_video(LinphoneCall *call, bool_t enabled)
|
|||
call->params = *params;
|
||||
update_local_media_description(lc, call);
|
||||
linphone_call_init_video_stream(call);
|
||||
video_stream_start_ice_gathering(call->videostream);
|
||||
video_stream_prepare_video(call->videostream);
|
||||
linphone_core_gather_ice_candidates(lc, call);
|
||||
} else {
|
||||
if (linphone_call_get_state(call) == LinphoneCallUpdatedByRemote) {
|
||||
|
|
@ -1504,9 +1504,9 @@ void linphone_call_start_media_streams(LinphoneCall *call, bool_t all_inputs_mut
|
|||
}
|
||||
|
||||
void linphone_call_start_media_streams_for_ice_gathering(LinphoneCall *call){
|
||||
audio_stream_start_ice_gathering(call->audiostream);
|
||||
audio_stream_prepare_sound(call->audiostream, NULL, NULL);
|
||||
if (call->videostream) {
|
||||
video_stream_start_ice_gathering(call->videostream);
|
||||
video_stream_prepare_video(call->videostream);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue