Versions in this module Expand all Collapse all v0 v0.0.1 Dec 8, 2023 Changes in this version + const CODEC_ID_AAC + const CODEC_ID_MP3 + const CODEC_ID_OPUS + const CODEC_ID_PCM_ALAW + const CODEC_ID_PCM_MULAW + const CODEC_NAME_AAC + const CODEC_NAME_ALAW + const CODEC_NAME_DECODER_H264 + const CODEC_NAME_DECODER_H265 + const CODEC_NAME_DECODER_MP3 + const CODEC_NAME_ENCODER_MP3 + const CODEC_NAME_ENCODER_X264 + const CODEC_NAME_ENCODER_X265 + const CODEC_NAME_FDK_AAC + const CODEC_NAME_OPEN_H264 + const CODEC_NAME_OPUS + const CODEC_NAME_ULAW + const CODEC_NAME_VP8 + const CODEC_NAME_VP9 + var Swig_escape_always_false bool + var Swig_escape_val interface + func AudioDecoderCreate(arg1 string, arg2 int, arg3 int, arg4 int, arg5 int) (_swig_ret uintptr) + func AudioDecoderCreateById(arg1 int, arg2 int, arg3 int, arg4 int, arg5 int) (_swig_ret uintptr) + func AudioDecoderDecode(arg1 uintptr, arg2 *byte, arg3 uint, arg4 uint) (_swig_ret uint) + func AudioDecoderFree(arg1 uintptr) + func AudioDecoderGetFrame(arg1 uintptr, arg2 AudioDataST) (_swig_ret int) + func AudioEncoderCreate(arg1 string, arg2 int, arg3 int, arg4 int, arg5 int) (_swig_ret uintptr) + func AudioEncoderCreateById(arg1 int, arg2 int, arg3 int, arg4 int, arg5 int) (_swig_ret uintptr) + func AudioEncoderEncode(arg1 uintptr, arg2 *byte, arg3 int) (_swig_ret uint) + func AudioEncoderFree(arg1 uintptr) + func AudioEncoderGetEncodeData(arg1 uintptr, arg2 AudioDataST) (_swig_ret int) + func DeleteAudioDataST(arg1 AudioDataST) + func DeleteVideoDataST(arg1 VideoDataST) + func FdkAacDecoderCreate(arg1 int, arg2 uint, arg3 *byte, arg4 uint) (_swig_ret uintptr) + func FdkAacDecoderDecode(arg1 uintptr, arg2 *byte, arg3 uint, arg4 *byte, arg5 int) (_swig_ret int) + func FdkAacDecoderFree(arg1 uintptr) + func OnCodecLog(logWrite CodecLogWrite) + func SetCodecLog(arg1 _swig_fnptr) + func Swig_free(arg1 uintptr) + func Swig_malloc(arg1 int) (_swig_ret uintptr) + func VideoDecoderCreate(arg1 string, arg2 uint) (_swig_ret uintptr) + func VideoDecoderDecode(arg1 uintptr, arg2 *byte, arg3 uint, arg4 uint) (_swig_ret uint) + func VideoDecoderFree(arg1 uintptr) + func VideoDecoderGetFrame(arg1 uintptr, arg2 VideoDataST) (_swig_ret int) + func VideoEncoderCreate(arg1 string, arg2 int, arg3 int, arg4 int, arg5 int, arg6 int, arg7 int) (_swig_ret uintptr) + func VideoEncoderEncode(arg1 uintptr, arg2 *byte, arg3 uint) (_swig_ret uint) + func VideoEncoderForceKeyFrame(arg1 uintptr) + func VideoEncoderFree(arg1 uintptr) + func VideoEncoderGetEncodeData(arg1 uintptr, arg2 VideoDataST) (_swig_ret int) + type AudioDataST interface + GetChannels func() (_swig_ret int) + GetData func() (_swig_ret *byte) + GetDataLength func() (_swig_ret uint) + GetFormat func() (_swig_ret int) + GetSampleRate func() (_swig_ret int) + GetTimestamp func() (_swig_ret uint) + SetChannels func(arg2 int) + SetData func(arg2 *byte) + SetDataLength func(arg2 uint) + SetFormat func(arg2 int) + SetSampleRate func(arg2 int) + SetTimestamp func(arg2 uint) + SwigIsAudioDataST func() + Swigcptr func() uintptr + func NewAudioDataST() (_swig_ret AudioDataST) + type CodecLogWrite func(level int, data string) + type SwigcptrAudioDataST uintptr + func (arg1 SwigcptrAudioDataST) GetChannels() (_swig_ret int) + func (arg1 SwigcptrAudioDataST) GetData() (_swig_ret *byte) + func (arg1 SwigcptrAudioDataST) GetDataLength() (_swig_ret uint) + func (arg1 SwigcptrAudioDataST) GetFormat() (_swig_ret int) + func (arg1 SwigcptrAudioDataST) GetSampleRate() (_swig_ret int) + func (arg1 SwigcptrAudioDataST) GetTimestamp() (_swig_ret uint) + func (arg1 SwigcptrAudioDataST) SetChannels(arg2 int) + func (arg1 SwigcptrAudioDataST) SetData(arg2 *byte) + func (arg1 SwigcptrAudioDataST) SetDataLength(arg2 uint) + func (arg1 SwigcptrAudioDataST) SetFormat(arg2 int) + func (arg1 SwigcptrAudioDataST) SetSampleRate(arg2 int) + func (arg1 SwigcptrAudioDataST) SetTimestamp(arg2 uint) + func (p SwigcptrAudioDataST) SwigIsAudioDataST() + func (p SwigcptrAudioDataST) Swigcptr() uintptr + type SwigcptrVideoDataST uintptr + func (arg1 SwigcptrVideoDataST) GetData() (_swig_ret *byte) + func (arg1 SwigcptrVideoDataST) GetDataLength() (_swig_ret uint) + func (arg1 SwigcptrVideoDataST) GetFormat() (_swig_ret int) + func (arg1 SwigcptrVideoDataST) GetHeight() (_swig_ret int) + func (arg1 SwigcptrVideoDataST) GetKeyFrame() (_swig_ret int) + func (arg1 SwigcptrVideoDataST) GetPicType() (_swig_ret int) + func (arg1 SwigcptrVideoDataST) GetTimestamp() (_swig_ret uint) + func (arg1 SwigcptrVideoDataST) GetWidth() (_swig_ret int) + func (arg1 SwigcptrVideoDataST) SetData(arg2 *byte) + func (arg1 SwigcptrVideoDataST) SetDataLength(arg2 uint) + func (arg1 SwigcptrVideoDataST) SetFormat(arg2 int) + func (arg1 SwigcptrVideoDataST) SetHeight(arg2 int) + func (arg1 SwigcptrVideoDataST) SetKeyFrame(arg2 int) + func (arg1 SwigcptrVideoDataST) SetPicType(arg2 int) + func (arg1 SwigcptrVideoDataST) SetTimestamp(arg2 uint) + func (arg1 SwigcptrVideoDataST) SetWidth(arg2 int) + func (p SwigcptrVideoDataST) SwigIsVideoDataST() + func (p SwigcptrVideoDataST) Swigcptr() uintptr + type VideoDataST interface + GetData func() (_swig_ret *byte) + GetDataLength func() (_swig_ret uint) + GetFormat func() (_swig_ret int) + GetHeight func() (_swig_ret int) + GetKeyFrame func() (_swig_ret int) + GetPicType func() (_swig_ret int) + GetTimestamp func() (_swig_ret uint) + GetWidth func() (_swig_ret int) + SetData func(arg2 *byte) + SetDataLength func(arg2 uint) + SetFormat func(arg2 int) + SetHeight func(arg2 int) + SetKeyFrame func(arg2 int) + SetPicType func(arg2 int) + SetTimestamp func(arg2 uint) + SetWidth func(arg2 int) + SwigIsVideoDataST func() + Swigcptr func() uintptr + func NewVideoDataST() (_swig_ret VideoDataST)