@mega-yfue/eufy-sdk / AudioCodec
Type Alias: AudioCodec
ts
type AudioCodec = "aac-lc" | "aac-eld" | "g711a";Elementary-stream audio codec of a LiveAudioFrame. The station declares it per frame as a byte in the CMD_AUDIO_FRAME header — unlike video, nothing is sniffed. These are the three values the v6 app accepts (AudioReader.setAudioSpecificConfig: 0 → mp4a.40.2, 2 → G.711 A-law, 7 → mp4a.40.39); it fails the stream on anything else.