mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
enable preview for ios
This commit is contained in:
parent
c22169c221
commit
8dde32f19c
2 changed files with 7 additions and 1 deletions
|
|
@ -3422,7 +3422,13 @@ unsigned long linphone_core_get_native_preview_window_id(const LinphoneCore *lc)
|
|||
* If not set the core will create its own window.
|
||||
**/
|
||||
void linphone_core_set_native_preview_window_id(LinphoneCore *lc, unsigned long id){
|
||||
#ifdef VIDEO_ENABLED
|
||||
lc->preview_window_id=id;
|
||||
LinphoneCall *call=linphone_core_get_current_call(lc);
|
||||
if (call!=NULL && call->videostream){
|
||||
video_stream_set_native_preview_window_id(call->videostream,id);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 3d8b6a5f9b974440046430ec1998bab623c07366
|
||||
Subproject commit a9038f2d00e9713edeb4dd1e8916d42f5e3543d3
|
||||
Loading…
Add table
Reference in a new issue