public bool SendVideoFrame(int friendNumber, ToxAvVideoFrame frame, out ToxAvErrorSendFrame error) { ThrowIfDisposed(); error = ToxAvErrorSendFrame.Ok; return(ToxAvFunctions.VideoSendFrame(_toxAv, ToxTools.Map(friendNumber), (ushort)frame.Width, (ushort)frame.Height, frame.Y, frame.U, frame.V, ref error)); }
public bool SendVideoFrame(int friendNumber, ToxAvVideoFrame frame) { var error = ToxAvErrorSendFrame.Ok; return(SendVideoFrame(friendNumber, frame, out error)); }
public VideoFrameEventArgs(int friendNumber, ToxAvVideoFrame frame) : base(friendNumber) { Frame = frame; }