C# Class Xamarin.Forms.Conference.WebRTC.Droid.VP8.Vp8Codec

Inheritance: VideoCodec
Exibir arquivo Open project: QuickBlox/quickblox-dotnet-sdk

Public Methods

Method Description
Decode ( byte encodedFrame ) : VideoBuffer

Decodes an encoded frame.

DecoderNeedsKeyFrame ( ) : bool

Gets whether the decoder needs a keyframe. This is checked after every failed Decode operation.

Depacketize ( RTPPacket packet ) : byte[]

Depacketizes a packet.

Destroy ( ) : void

Destroys the codec.

Encode ( VideoBuffer frame ) : byte[]

Encodes a frame.

Packetize ( byte encodedFrame ) : RTPPacket[]

Packetizes an encoded frame.

ProcessRTCP ( RTCPPacket packets ) : void

Processes RTCP packets.

Vp8Codec ( ) : System

Method Details

Decode() public method

Decodes an encoded frame.
public Decode ( byte encodedFrame ) : VideoBuffer
encodedFrame byte The encoded frame.
return VideoBuffer

DecoderNeedsKeyFrame() public method

Gets whether the decoder needs a keyframe. This is checked after every failed Decode operation.
public DecoderNeedsKeyFrame ( ) : bool
return bool

Depacketize() public method

Depacketizes a packet.
public Depacketize ( RTPPacket packet ) : byte[]
packet RTPPacket The packet.
return byte[]

Destroy() public method

Destroys the codec.
public Destroy ( ) : void
return void

Encode() public method

Encodes a frame.
public Encode ( VideoBuffer frame ) : byte[]
frame VideoBuffer The video buffer.
return byte[]

Packetize() public method

Packetizes an encoded frame.
public Packetize ( byte encodedFrame ) : RTPPacket[]
encodedFrame byte The encoded frame.
return RTPPacket[]

ProcessRTCP() public method

Processes RTCP packets.
public ProcessRTCP ( RTCPPacket packets ) : void
packets RTCPPacket The packets to process.
return void

Vp8Codec() public method

public Vp8Codec ( ) : System
return System