Show / Hide Table of Contents

Class RTCPBye

RTCP Goodbye packet as defined in RFC3550. The BYE packet indicates that one or more sources are no longer active.

Inheritance
System.Object
RTCPBye
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 RTCPBye

Constructors

| Improve this Doc View Source

RTCPBye(Byte[])

Create a new RTCP Goodbye packet from a serialised byte array.

Declaration
public RTCPBye(byte[] packet)
Parameters
Type Name Description
System.Byte[] packet

The byte array holding the Goodbye packet.

| Improve this Doc View Source

RTCPBye(UInt32, String)

Creates a new RTCP Bye payload.

Declaration
public RTCPBye(uint ssrc, string reason)
Parameters
Type Name Description
System.UInt32 ssrc

The synchronisation source of the RTP stream being closed.

System.String reason

Optional reason for closing. Maximum length is 255 bytes (note bytes not characters).

Fields

| Improve this Doc View Source

Header

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

MAX_REASON_BYTES

Declaration
public const int MAX_REASON_BYTES = 255
Field Value
Type Description
System.Int32
| Improve this Doc View Source

MIN_PACKET_SIZE

Declaration
public const int MIN_PACKET_SIZE = 8
Field Value
Type Description
System.Int32
| Improve this Doc View Source

SSRC_SIZE

Declaration
public const int SSRC_SIZE = 4
Field Value
Type Description
System.Int32

Properties

| Improve this Doc View Source

Reason

Declaration
public string Reason { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SSRC

Declaration
public uint SSRC { get; }
Property Value
Type Description
System.UInt32

Methods

| Improve this Doc View Source

GetBytes()

Gets the raw bytes for the Goodbye packet.

Declaration
public byte[] GetBytes()
Returns
Type Description
System.Byte[]

A byte array.

Extension Methods

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