|
group2 0.1.0
CSE 125 Group 2
|
Classes | |
| struct | ClientVoiceFrame |
| struct | ClientVoiceFrameView |
| struct | ServerVoiceFrame |
Functions | |
| std::vector< std::uint8_t > | encodeClientFrame (std::uint16_t sequence, std::uint8_t frameMs, std::span< const std::uint8_t > opus) |
| std::vector< std::uint8_t > | encodeServerFrame (ClientId speaker, std::uint16_t sequence, std::uint8_t frameMs, std::span< const std::uint8_t > opus) |
| std::optional< ClientVoiceFrame > | decodeClientFrame (std::span< const std::uint8_t > payload) |
| std::optional< ClientVoiceFrameView > | decodeClientFrameView (std::span< const std::uint8_t > payload) |
| std::optional< ServerVoiceFrame > | decodeServerFrame (std::span< const std::uint8_t > payload) |
Variables | |
| constexpr int | k_sampleRate = 48000 |
| constexpr int | k_channels = 1 |
| constexpr std::uint8_t | k_frameMs = 20 |
| constexpr std::uint16_t | k_maxOpusBytes = 512 |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |