//停止播放(预览)重载无参 public static bool Stop1() { closeAllocion1();//每次播放结束会话 if (HkSDK.OpenSDK_StopRealPlay(SessionId, 0) == 0) { return(HkSDK.OpenSDK_StopRealPlay(SessionId, 0) == 0); } else { return(false); } }
//停止播放(预览) public static bool Stop(IntPtr SessionId) { closeAllocion(SessionId);//每次播放结束会话 return(HkSDK.OpenSDK_StopRealPlay(SessionId, 0) == 0); }