C# (CSharp) NewTOAPIA.Net.Rtp RtpPacket - 4개의 예제가 발견되었습니다. 이것들은 오픈소스 프로젝트에서 추출된 C# (CSharp)의 NewTOAPIA.Net.Rtp.RtpPacket에 대한 실세계 최고 등급의 예제들입니다. 예제들을 평가하여 예제의 품질 향상에 도움을 줄 수 있습니다.
관련
Related in langs
RtpPacket is based on RFC 1889. This class knows how to form a byte array for sending out over the network and how to turn a byte array into Rtp fields and a payload. It is meant to be used as a translation mechanism from bytes to structure and vice versa. This is a lower level class exposed only for use by applications that want intimate details about an individual Rtp packet or want to provide their own transport mechanism. Applications that simply want to send/receive real time data over IP Multicast should instead use RtpSender / RtpListener which handle all aspects of network transport and framing (AKA breaking/assembling large datasets into packet sized chunks). There is a small amount of Rtp protocol intelligence in the class when you use the Next methods. The Next methods assume you are working on RtpPackets in a series and will perform helper functions such as compare Sequence numbers for linearness and NextPayload increments the Sequence number between new packets. This implementation has no support for CSRC identifiers. The Rtp header has the following format: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P|X| CC |M| PT | sequence number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | timestamp | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | synchronization source (SSRC) identifier | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | contributing source (CSRC) identifiers (if mixers used) | | .... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ V = Version P = Padding X = Extensions CC = Count of Contributing Sources M = Marker PT = Payload Type