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(uint friendNumber, ToxAvVideoFrame frame, out ToxAvErrorSendFrame error) { ThrowIfDisposed(); error = ToxAvErrorSendFrame.Ok; return(ToxAvFunctions.Video.SendFrame(AvHandle, friendNumber, frame.Width, 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(uint friendNumber, ToxAvVideoFrame frame) : base(friendNumber) { this.Frame = frame; }