mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 04:28:10 +00:00
implement lanscape mode for IOS video
This commit is contained in:
parent
cbdd8325df
commit
c51752fe70
3 changed files with 8 additions and 2 deletions
|
|
@ -3498,7 +3498,12 @@ void linphone_core_set_native_preview_window_id(LinphoneCore *lc, unsigned long
|
|||
void linphone_core_use_preview_window(LinphoneCore *lc, bool_t yesno){
|
||||
lc->use_preview_window=yesno;
|
||||
}
|
||||
|
||||
/**
|
||||
*returns current device orientation
|
||||
*/
|
||||
int linphone_core_get_device_rotation(LinphoneCore *lc ) {
|
||||
return lc->device_rotation;
|
||||
}
|
||||
/**
|
||||
* Tells the core the device current orientation. This can be used by capture filters
|
||||
* on mobile devices to select between portrait/landscape mode and to produce properly
|
||||
|
|
|
|||
|
|
@ -934,6 +934,7 @@ unsigned long linphone_core_get_native_preview_window_id(const LinphoneCore *lc)
|
|||
void linphone_core_set_native_preview_window_id(LinphoneCore *lc, unsigned long id);
|
||||
|
||||
void linphone_core_use_preview_window(LinphoneCore *lc, bool_t yesno);
|
||||
int linphone_core_get_device_rotation(LinphoneCore *lc );
|
||||
void linphone_core_set_device_rotation(LinphoneCore *lc, int rotation);
|
||||
|
||||
/*play/record support: use files instead of soundcard*/
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 5ee91bbafef99fea6e56a31714af4eceaf0d6553
|
||||
Subproject commit 4ae0903143af9ab2d149909e8ac66ca600119e4a
|
||||
Loading…
Add table
Reference in a new issue