public void VideoEncoderListTest() { TestRuntime.AssertSystemVersion(PlatformName.iOS, 8, 0, throwIfOtherPlatform: false); TestRuntime.AssertSystemVersion(PlatformName.MacOSX, 10, 10, throwIfOtherPlatform: false); TestRuntime.AssertSystemVersion(PlatformName.TvOS, 10, 2, throwIfOtherPlatform: false); var encoders = VTVideoEncoder.GetEncoderList(); Assert.NotNull(encoders, "VTVideoEncoder.GetEncoderList () Should Not be null"); }
public void VideoEncoderListTest() { if (!TestRuntime.CheckSystemAndSDKVersion(8, 0)) { Assert.Ignore("Ignoring VideoToolbox tests: Requires iOS8+"); } var encoders = VTVideoEncoder.GetEncoderList(); Assert.NotNull(encoders, "VTVideoEncoder.GetEncoderList () Should Not be null"); }