public void TestToxAvVideoBitrateChange() { int bitrate = 2000; var error = ToxAvErrorSetBitrate.Ok; bool result = _toxAv1.SetVideoBitrate(0, bitrate, out error); if (!result || error != ToxAvErrorSetBitrate.Ok) { Assert.Fail("Failed to set video bitrate, error: {0}, result: {1}", error, result); } }