none
Obtain Video Resolution (VideoChannel Lync SDK 2013 - UI Supressed) RRS feed

  • General discussion

  • I am having trouble obtaining the actual video resolution from the VideoChannel.CaptureVideoWindow and 

    VideoChannel.RenderVideoWindow

    The both windows give me the same Width and Height which is not the actual video resolution. 

    I need the real video resolution to scale the window and avoid the black padding. 

    Image with padding example

    Any hints ? 

    public void videoChannel_StateChanged(object sender, ChannelStateChangedEventArgs e)
            {
                UI.Dispatcher.BeginInvoke(new MethodInvoker(delegate()
                {

     var videoCh = (VideoChannel)sender;

    ... ..... here I obtain videoCh.CaptureVideoWindow.Width and Height

    Tuesday, June 24, 2014 7:08 PM

All replies