Exemplo n.º 1
0
 public VoipChannel(IHub hub, CoreDispatcher dispatcher,
                    VoipContext context)
 {
     _hub       = hub;
     Dispatcher = dispatcher;
     Context    = context;
 }
Exemplo n.º 2
0
 public VoipChannel(IHub hub, CoreDispatcher dispatcher,
                    VoipContext context)
 {
     _hub = hub;
     Dispatcher = dispatcher;
     Context = context;
 }
Exemplo n.º 3
0
 public MediaSettingsChannel(VoipContext voipContext)
 {
     _voipContext = voipContext;
 }
Exemplo n.º 4
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);
            }
        }
Exemplo n.º 5
0
 public WebRTCSettingsService(VoipContext voipContext)
 {
     _voipContext = voipContext;
 }