/* Send RTP packet over the network */ public void Send(int length) { UpdateSequence(); /*byte[] sendBuffer = new byte[length]; * System.Array.Copy(buffer,sendBuffer,length); * connection.Send(sendBuffer,length);*/ upack.SetData(buffer, 0, length); upack.Length = length; usock.Send(upack); if (upts) { upts = false; buffer[1] -= 0x80; } }