private async Task OpenChannels() { InputChannel = new InputChannel( await StartChannelAsync(ServiceType.SystemInput)); /* * InputTvRemoteChannel fails when connecting non-authenticated * (Either a bug or feature from Microsoft!) * Simply disabling it for now - it serves no use anyways atm * InputTvRemoteChannel = new InputTVRemoteChannel( * await StartChannelAsync(ServiceType.SystemInputTVRemote)); */ MediaChannel = new MediaChannel( await StartChannelAsync(ServiceType.SystemMedia)); TextChannel = new TextChannel( await StartChannelAsync(ServiceType.SystemText)); BroadcastChannel = new BroadcastChannel( await StartChannelAsync(ServiceType.SystemBroadcast)); if (this.connectedAuthenticated) { InputTvRemoteChannel = new InputTVRemoteChannel( await StartChannelAsync(ServiceType.SystemInputTVRemote) ); } }
private async Task OpenChannels() { InputChannel = new InputChannel( await StartChannelAsync(ServiceType.SystemInput)); MediaChannel = new MediaChannel( await StartChannelAsync(ServiceType.SystemMedia)); TextChannel = new TextChannel( await StartChannelAsync(ServiceType.SystemText)); BroadcastChannel = new BroadcastChannel( await StartChannelAsync(ServiceType.SystemBroadcast)); InputTvRemoteChannel = new InputTVRemoteChannel( await StartChannelAsync(ServiceType.SystemInputTVRemote)); }