]> sjero.net Git - linphone/blobdiff - coreapi/linphonecore.c
Merge remote-tracking branch 'origin/master' into dev_videoios
[linphone] / coreapi / linphonecore.c
index cce64048ee8d1facb5b68b6073c8f10cc13e502d..12f985c2fbfad2ece7964defc977917bedee4f8e 100644 (file)
@@ -3507,7 +3507,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