Commit bbeb927a authored by Ghislain MARY's avatar Ghislain MARY

Prevent reconfiguring video stream two times in a row when rotating the device.

parent af7ce026
......@@ -184,8 +184,11 @@ namespace ms2_tester
if (MS2Tester.Instance.getOrientation() != degrees)
private ApplicationViewOrientation displayOrientation;
......@@ -26,6 +26,7 @@ namespace ms2_tester_runtime_component
void uninitVideo();
void startVideoStream(Platform::Object^ CaptureElement, Platform::Object^ MediaElement, Platform::String^ camera, Platform::String^ codec, Platform::String^ videoSize, unsigned int frameRate, unsigned int bitRate);
void stopVideoStream();
int getOrientation() { return _deviceRotation; }
void setOrientation(int degrees);
static property MS2Tester^ Instance
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment