Hololens/Lib/Cameras.cs
//#############################################################################################
/// <summary>
/// Start video capture.
/// By default, if the callback is enabled, _imageElement is updated.
/// </summary>
Start video capture.
By default, if the callback is enabled, _imageElement is updated.
Start video capture . By default if the callback is enabled _imageElement is updated .
public async Task Start()
        {
            if (!_running)
            {
                _mediaFrameReader = await _mediaCapture.CreateFrameReaderAsync(_frameSource, MediaEncodingSubtypes.Argb32);
                await _mediaFrameReader.StartAsync();
                _running = true;
            }
        }
public async Task Start ( ) { if ( ! _running ) { _mediaFrameReader = await _mediaCapture . CreateFrameReaderAsync ( _frameSource , MediaEncodingSubtypes . Argb32 ) ; await _mediaFrameReader . StartAsync ( ) ; _running = true ; } }
Start video capture.
Start video capture .
// create and start the reader