Пример #1
0
        private async void _NicoLiveCommentClient_Connected(object sender, CommentServerConnectedEventArgs e)
        {
            await HohoemaApp.UIDispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, async() =>
            {
                if (LivePlayerType == Live.LivePlayerType.Aries)
                {
                    await CloseRtmpConnection();
                }
                else
                {
                    await ClearLeoPlayer();
                }

                /*
                 * if (reason == NicoLiveDisconnectReason.Close)
                 * {
                 *  await StartNextLiveSubscribe(DefaultNextLiveSubscribeDuration);
                 * }
                 */
            });
        }
Пример #2
0
 private void _NicoLiveCommentClient_Connected(object sender, CommentServerConnectedEventArgs e)
 {
 }