Hololens/Lib/Cameras.cs
//#############################################################################################
/// <summary>
/// Return settings concerning MediaCapture object.
/// </summary>
/// <returns> MediaCaptureInitializationSettings object with mode ExclusiveControl for sharing mode, CPU for memory preference and Video for capture mode </returns>
Return settings concerning MediaCapture object.
Return settings concerning MediaCapture object .
private MediaCaptureInitializationSettings SettingsForMediaCapture()
        {
            return new MediaCaptureInitializationSettings()
            {
                SourceGroup = _selectedGroup,
                SharingMode = MediaCaptureSharingMode.ExclusiveControl,
                MemoryPreference = MediaCaptureMemoryPreference.Cpu,
                StreamingCaptureMode = StreamingCaptureMode.Video
            };
        }
private MediaCaptureInitializationSettings SettingsForMediaCapture ( ) { return new MediaCaptureInitializationSettings ( ) { SourceGroup = _selectedGroup , SharingMode = MediaCaptureSharingMode . ExclusiveControl , MemoryPreference = MediaCaptureMemoryPreference . Cpu , StreamingCaptureMode = StreamingCaptureMode . Video } ; }
Return settings concerning MediaCapture object.
Return settings concerning MediaCapture object .
MediaCaptureInitializationSettings object with mode ExclusiveControl for sharing mode, CPU for memory preference and Video for capture mode
MediaCaptureInitializationSettings object with mode ExclusiveControl for sharing mode CPU for memory preference and Video for capture mode