/// <summary>
 /// 设置推流器推流结果回调函数
 /// </summary>
 /// <param name="ctx">推流器指针</param>
 /// <param name="cb">回调函数指针,不得为null</param>
 /// <param name="user_data">用户数据指针</param>
 public static void mk_pusher_set_on_result(System.IntPtr ctx, on_mk_push_event cb, System.IntPtr user_data)
 {
     if (LibraryConst.IsWindows)
     {
         mk_pusher_windows.mk_pusher_set_on_result(ctx, cb, user_data);
     }
     else
     {
         mk_pusher_unix.mk_pusher_set_on_result(ctx, cb, user_data);
     }
 }
 internal static extern void mk_pusher_set_on_shutdown(System.IntPtr ctx, on_mk_push_event cb, System.IntPtr user_data);
 internal static extern void mk_pusher_set_on_shutdown(IntPtr mk_pusher, on_mk_push_event callback, IntPtr user_data);