Method | Description | |
---|---|---|
Decode ( byte encodedFrame ) : AudioBuffer |
Decodes an encoded frame.
|
|
Depacketize ( RTPPacket packet ) : byte[] |
Depacketizes a packet.
|
|
Destroy ( ) : void |
Destroys the codec.
|
|
Encode ( AudioBuffer frame ) : byte[] |
Encodes a frame.
|
|
OpusCodec ( ) : System |
Initializes a new instance of the OpusCodec class.
|
|
Packetize ( byte encodedFrame ) : RTPPacket[] |
Packetizes an encoded frame.
|
|
ProcessRTCP ( RTCPPacket packets ) : void |
Processes RTCP packets.
|
Method | Description | |
---|---|---|
Decode ( byte encodedFrame, bool fec ) : AudioBuffer | ||
DecodeFEC ( byte encodedFrame ) : AudioBuffer | ||
DecodeNormal ( byte encodedFrame ) : AudioBuffer | ||
DecodePLC ( ) : AudioBuffer |
public Decode ( byte encodedFrame ) : AudioBuffer | ||
encodedFrame | byte | The encoded frame. |
return | AudioBuffer |
public Depacketize ( RTPPacket packet ) : byte[] | ||
packet | RTPPacket | The packet. |
return | byte[] |
public Encode ( AudioBuffer frame ) : byte[] | ||
frame | AudioBuffer | The frame. |
return | byte[] |
public Packetize ( byte encodedFrame ) : RTPPacket[] | ||
encodedFrame | byte | The encoded frame. |
return | RTPPacket[] |
public ProcessRTCP ( RTCPPacket packets ) : void | ||
packets | RTCPPacket | The packets to process. |
return | void |