Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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. |
Результат | AudioBuffer |
public Depacketize ( RTPPacket packet ) : byte[] | ||
packet | RTPPacket | The packet. |
Результат | byte[] |
public Encode ( AudioBuffer frame ) : byte[] | ||
frame | AudioBuffer | The frame. |
Результат | byte[] |
public Packetize ( byte encodedFrame ) : RTPPacket[] | ||
encodedFrame | byte | The encoded frame. |
Результат | RTPPacket[] |
public ProcessRTCP ( RTCPPacket packets ) : void | ||
packets | RTCPPacket | The packets to process. |
Результат | void |