SpeechEncoderEncodeToFrame Method |
Encodes an array of PCM data to the selected codec and stores it in an RTP Frame.
Note: The size of the input data is dependent on the value of MaximumInputDataLength
Namespace: StreamCoders.EncoderAssembly: MediaSuite (in MediaSuite.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic RtpFrame EncodeToFrame(
byte[] buffer
)
Public Function EncodeToFrame (
buffer As Byte()
) As RtpFrame
public:
RtpFrame^ EncodeToFrame(
array<unsigned char>^ buffer
)
member EncodeToFrame :
buffer : byte[] -> RtpFrame
Parameters
- buffer
- Type: SystemByte
[in,out] If non-null, the buffer.
Return Value
Type:
RtpFrame
null if it fails, else.
See Also