예제 #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)
 {
 }