/// <summary>
        /// 附加信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void AddScreenFontTSMenuItem_Click(object sender, EventArgs e)
        {
            int ret  = -1;
            var rect = new Rect {
                X = 10, Y = 10, Width = panel1.Width, Height = panel1.Height
            };
            var panelSize = this.panel1.ClientSize;

            EasyPlayer_RTMP.NetSDK.PlayerSdk.EASY_PALYER_OSD fontInfo = new EasyPlayer_RTMP.NetSDK.PlayerSdk.EASY_PALYER_OSD
            {
                alpha       = 255,
                size        = 35,
                color       = (uint)ToArgb(Color.Red),
                shadowcolor = (uint)ToArgb(Color.Black),
                stOSD       = "这是EasyPlayer-RTMP-Win播放器 \r\n的字幕叠加接口的效果!!!\r\n以\"\\r\\n\"为换行结束符号\r\n注意:每行的长度不能超过128个字节\r\n总的OSD长度不能超过1024个字节",
                rect        = new EasyPlayer_RTMP.NetSDK.PlayerSdk.tagRECT {
                    left = (int)rect.X, top = (int)rect.Y, right = (int)rect.Width, bottom = (int)rect.Height
                }
            };

            var checkState = (sender as ToolStripMenuItem).CheckState;

            if (checkState == CheckState.Unchecked)
            {
                ret = PlayerSdk.EasyPlayer_ShowOSD(channelID, fontInfo);
                (sender as ToolStripMenuItem).CheckState = CheckState.Checked;
            }
            if (checkState == CheckState.Checked)
            {
                ret = PlayerSdk.EasyPlayer_ShowOSD(channelID, fontInfo, false);
                (sender as ToolStripMenuItem).CheckState = CheckState.Unchecked;
            }
        }
 public int showOSD(OSD messageOsd)
 {
     PlayerSdk.EASY_PALYER_OSD osd = messageOsd2Osd(messageOsd);
     return(PlayerSdk.EasyPlayer_ShowOSD(channelId, 1, osd));
 }