Show / Hide Table of Contents

Class RTPPacket

Inheritance
System.Object
RTPPacket
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class RTPPacket

Constructors

| Improve this Doc View Source

RTPPacket()

Declaration
public RTPPacket()
| Improve this Doc View Source

RTPPacket(Byte[])

Declaration
public RTPPacket(byte[] packet)
Parameters
Type Name Description
System.Byte[] packet
| Improve this Doc View Source

RTPPacket(Int32)

Declaration
public RTPPacket(int payloadSize)
Parameters
Type Name Description
System.Int32 payloadSize

Fields

| Improve this Doc View Source

Header

Declaration
public RTPHeader Header
Field Value
Type Description
RTPHeader
| Improve this Doc View Source

Payload

Declaration
public byte[] Payload
Field Value
Type Description
System.Byte[]

Methods

| Improve this Doc View Source

GetBytes()

Declaration
public byte[] GetBytes()
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

TryParse(ReadOnlySpan<Byte>, RTPPacket, out Int32)

Declaration
public static bool TryParse(ReadOnlySpan<byte> buffer, RTPPacket packet, out int consumed)
Parameters
Type Name Description
System.ReadOnlySpan<System.Byte> buffer
RTPPacket packet
System.Int32 consumed
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryParse(ReadOnlySpan<Byte>, out RTPPacket, out Int32)

Declaration
public static bool TryParse(ReadOnlySpan<byte> buffer, out RTPPacket packet, out int consumed)
Parameters
Type Name Description
System.ReadOnlySpan<System.Byte> buffer
RTPPacket packet
System.Int32 consumed
Returns
Type Description
System.Boolean

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX