enable preview for ios

This commit is contained in:
Jehan Monnier 2011-07-13 18:20:58 +02:00
parent c22169c221
commit 8dde32f19c
2 changed files with 7 additions and 1 deletions

View file

@ -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