+int linphone_core_get_camera_sensor_rotation(LinphoneCore *lc) {
+#ifdef VIDEO_ENABLED
+ LinphoneCall *call = linphone_core_get_current_call(lc);
+ if ((call != NULL) && (call->videostream != NULL)) {
+ return video_stream_get_camera_sensor_rotation(call->videostream);
+ }
+#endif
+ return -1;
+}
+