예제 #1
0
        public static libobs.obs_video_info GetVideoInfo()
        {
            libobs.obs_video_info ovi = new libobs.obs_video_info();
            bool ret = libobs.obs_get_video_info(ref ovi);

            if (!ret)
            {
                throw new ApplicationException("obs_get_video_info failed");
            }

            return(ovi);
        }
예제 #2
0
 public static bool ResetVideo(libobs.obs_video_info ovi)
 {
     return(libobs.obs_reset_video(ref ovi) == (int)ObsVideoErrorCode.Success);
 }