Пример #1
0
 public VoipChannel(IHub hub, CoreDispatcher dispatcher,
                    VoipContext context)
 {
     _hub       = hub;
     Dispatcher = dispatcher;
     Context    = context;
 }
Пример #2
0
 public VoipChannel(IHub hub, CoreDispatcher dispatcher,
                    VoipContext context)
 {
     _hub = hub;
     Dispatcher = dispatcher;
     Context = context;
 }
Пример #3
0
 public MediaSettingsChannel(VoipContext voipContext)
 {
     _voipContext = voipContext;
 }
Пример #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);
            }
        }
Пример #5
0
 public WebRTCSettingsService(VoipContext voipContext)
 {
     _voipContext = voipContext;
 }