Example #1
0
        private void SetupVoipContext()
        {
            if (_voipChannel == null)
            {
                var renderResolver = new Func <IVideoRenderHelper>(() => new VideoRenderHelper());

                var voipCoordinator = new VoipCoordinator();
                _voipContext = new VoipContext(this, null, renderResolver, voipCoordinator);
                _voipChannel = new VoipChannel(this, null, _voipContext);
            }
            if (_mediaSettingsChannel == null)
            {
                _mediaSettingsChannel = new MediaSettingsChannel(this, null, _voipContext);
            }
        }
Example #2
0
 public MediaSettingsChannel(VoipContext voipContext)
 {
     _voipContext = voipContext;
 }
Example #3
0
 public async Task EnterState(VoipContext context)
 {
     Context = context;
     await OnEnteringState();
 }
Example #4
0
 public async Task EnterState(VoipContext context)
 {
     Context = context;
     await OnEnteringState();
 }