iVideoWindow in WPF Lync 2013 SDK UI Suppressed


scenario: mvvm wpf client.

i never worked ivideowindow before.

i have following event , 2 properties hold ivideowindow (receiving,streaming);

what need props display videos in wpf, guess binding out of question ?

p.s.: searched allot wpf example displaying lync video streaming in wpf. no luck.

/// on private void videochannel_statechanged(object sender, channelstatechangedeventargs e)         {             var vc = (videochannel)sender;              if (e.newstate == channelstate.send)             {                 videostreaming = vc.rendervideowindow;                                             }else if(e.newstate == channelstate.receive)             {                 videoreceiving = vc.rendervideowindow;             } }          public videowindow _videostreaming { get; set; }         public videowindow videostreaming         {                         {                 return this._videostreaming;             }             set             {                 this._videostreaming = value;                  this.onpropertychanged("videostreaming");             }         }          public videowindow _videoreceiving { get; set; }         public videowindow videoreceiving         {                         {                 return this._videoreceiving;             }             set             {                 this._videoreceiving = value;                  this.onpropertychanged("videoreceiving");             }         }



solved disabling windows 7 uac , checked "allow unsafe code" in solution.

took me while find this. time thinking i'm doing wrong.


Lync Server  ,  Unified Communications  >  Microsoft Lync Client Development



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'