Versions in this module Expand all Collapse all v0 v0.1.0 Oct 19, 2021 Changes in this version + const SendTimecodeEmpty + const SendTimecodeSynthesize + var FourCCTypeBGRA = [4]byte + var FourCCTypeBGRX = [4]byte + var FourCCTypeUYVA = [4]byte + var FourCCTypeUYVY = [4]byte + func DestroyAndUnload() + func IsSupportedCPU() bool + func LoadAndInitialize(path string) error + func Version() string + type AudioFrameV2 struct + ChannelStride int32 + Data *float32 + Metadata *byte + NumChannels int32 + NumSamples int32 + SampleRate int32 + Timecode int64 + Timestamp int64 + func NewAudioFrameV2() *AudioFrameV2 + func (af *AudioFrameV2) SetDefault() + type Error struct + func (e *Error) Timeout() bool + type FindCreateSettings struct + type FindInstance struct + func NewFindInstanceV2(settings *FindCreateSettings) *FindInstance + func (inst *FindInstance) Destroy() + func (inst *FindInstance) GetCurrentSources() []*Source + func (inst *FindInstance) WaitForSources(timeoutInMs uint32) (int, error) + type FrameFormat int32 + const FrameFormatField0 + const FrameFormatField1 + const FrameFormatInterleaved + const FrameFormatProgressive + type FrameType int32 + const FrameTypeAudio + const FrameTypeError + const FrameTypeMetadata + const FrameTypeNone + const FrameTypeStatusChange + const FrameTypeVideo + type MetadataFrame struct + Data *byte + Length int32 + Timecode int64 + func NewMetadataFrame() *MetadataFrame + func (mf *MetadataFrame) SetDefault() + type ObjectPool struct + func NewObjectPool() *ObjectPool + func (p *ObjectPool) NewFindCreateSettings(showLocalSources bool, groups, ips string) *FindCreateSettings + func (p *ObjectPool) NewSendCreateSettings(name, groups string, clockVideo, clockAudio bool) *SendCreateSettings + func (p *ObjectPool) Register(o interface{}) + func (p *ObjectPool) Release(o interface{}) + type RecvBandwidth int32 + const RecvBandwidthAudioOnly + const RecvBandwidthHighest + const RecvBandwidthLowest + const RecvBandwidthMetadataOnly + type RecvColorFormat int32 + const RecvColorFormatBGRXBGRA + const RecvColorFormatFastest + const RecvColorFormatRGBXRGBA + const RecvColorFormatUYVYBGRA + const RecvColorFormatUYVYRGBA + type RecvCreateSettings struct + AllowVideoFields bool + Bandwidth RecvBandwidth + ColorFormat RecvColorFormat + SourceToConnectTo Source + func NewRecvCreateSettings() *RecvCreateSettings + func (s *RecvCreateSettings) SetDefault() + type RecvInstance struct + func NewRecvInstanceV2(settings *RecvCreateSettings) *RecvInstance + func (inst *RecvInstance) CaptureV2(vf *VideoFrameV2, af *AudioFrameV2, mf *MetadataFrame, timeoutInMs uint32) FrameType + func (inst *RecvInstance) Destroy() + func (inst *RecvInstance) FreeAudioV2(af *AudioFrameV2) + func (inst *RecvInstance) FreeMetadataV2(mf *MetadataFrame) + func (inst *RecvInstance) FreeVideoV2(vf *VideoFrameV2) + func (inst *RecvInstance) GetNumConnections(timeoutInMs uint32) (int, error) + func (inst *RecvInstance) SendMetadata(mf *MetadataFrame) bool + func (inst *RecvInstance) SetTally(tally *Tally) bool + type SendCreateSettings struct + type SendInstance struct + func NewSendInstance(settings *SendCreateSettings) *SendInstance + func (inst *SendInstance) Destroy() + func (inst *SendInstance) GetNumConnections(timeoutInMs uint32) (int, error) + func (inst *SendInstance) SendVideoV2(frame *VideoFrameV2) + type Source struct + func (s *Source) Address() string + func (s *Source) Name() string + type Tally struct + OnPreview bool + OnProgram bool + type VideoFrameV2 struct + Data *byte + FourCC [4]byte + FrameFormatType FrameFormat + FrameRateD int32 + FrameRateN int32 + LineStride int32 + Metadata *byte + PictureAspectRatio float32 + Timecode int64 + Timestamp int64 + Xres int32 + Yres int32 + func NewVideoFrameV2() *VideoFrameV2 + func (vf *VideoFrameV2) ReadData() []byte + func (vf *VideoFrameV2) SetDefault()