Skip to main content

Interface: AudioCapture

Extends

  • AudioMedia

Properties

activity

readonly activity: Activity

Inherited from

AudioMedia.activity

Defined in

Odin/odin-typescript/node_modules/@4players/odin-common/lib/plugin/api.d.ts:62


apm?

readonly optional apm: ApmConfig

Defined in

Odin/odin-typescript/node_modules/@4players/odin-common/lib/plugin/api.d.ts:84


customType?

readonly optional customType: string

Inherited from

AudioMedia.customType

Defined in

Odin/odin-typescript/node_modules/@4players/odin-common/lib/plugin/api.d.ts:57


vad?

readonly optional vad: VadConfig

Defined in

Odin/odin-typescript/node_modules/@4players/odin-common/lib/plugin/api.d.ts:83


volume

readonly volume: Volume

Inherited from

AudioMedia.volume

Defined in

Odin/odin-typescript/node_modules/@4players/odin-common/lib/plugin/api.d.ts:61

Methods

close()

close(): void

Returns

void

Inherited from

AudioMedia.close

Defined in

Odin/odin-typescript/node_modules/@4players/odin-common/lib/plugin/api.d.ts:58


setApm()

setApm(config): Promise<void>

Parameters

config: ApmConfig

Returns

Promise<void>

Defined in

Odin/odin-typescript/node_modules/@4players/odin-common/lib/plugin/api.d.ts:86


setDevice()

setDevice(device): Promise<void>

Parameters

device: DeviceParameters

Returns

Promise<void>

Defined in

Odin/odin-typescript/node_modules/@4players/odin-common/lib/plugin/api.d.ts:87


setVad()

setVad(config): void

Parameters

config: VadConfig

Returns

void

Defined in

Odin/odin-typescript/node_modules/@4players/odin-common/lib/plugin/api.d.ts:85


setVolume()

setVolume(value): Promise<void>

Parameters

value: Volume

Returns

Promise<void>

Inherited from

AudioMedia.setVolume

Defined in

Odin/odin-typescript/node_modules/@4players/odin-common/lib/plugin/api.d.ts:63