예제 #1
0
        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));
        }
예제 #2
0
        public bool SendVideoFrame(int friendNumber, ToxAvVideoFrame frame)
        {
            var error = ToxAvErrorSendFrame.Ok;

            return(SendVideoFrame(friendNumber, frame, out error));
        }
예제 #3
0
 public VideoFrameEventArgs(int friendNumber, ToxAvVideoFrame frame)
     : base(friendNumber)
 {
     Frame = frame;
 }