C# (CSharp) NewTOAPIA.Net.Rtp RtpPacket - 4 exemples trouvés. Ce sont les exemples réels les mieux notés de NewTOAPIA.Net.Rtp.RtpPacket extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Associées
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