Audio capture and encoder settings for a stream. More...
#include <src/audio.h>
Public Types | |
| enum | flags_e : int { HIGH_QUALITY , HOST_AUDIO , CUSTOM_SURROUND_PARAMS , CONTINUOUS_AUDIO , MAX_FLAGS } |
| Boolean audio feature flags. More... | |
Public Attributes | |
| int | channels |
| Number of audio channels requested by the client. | |
| stream_params_t | customStreamParams |
| Custom Opus layout used when CUSTOM_SURROUND_PARAMS is enabled. | |
| std::bitset< MAX_FLAGS > | flags |
| Enabled audio feature flags. | |
| bool | high_quality_dolby {false} |
| Higher bitrate for Dolby only; ignored for Opus. | |
| int | mask |
| Speaker mask describing the requested channel layout. | |
| int | packetDuration |
| Packet duration in milliseconds requested by the client. | |
| bool | use_ac3 {false} |
| Encode audio as AC-3 instead of Opus for this streaming session. | |
| bool | use_eac3 {false} |
| Encode audio as E-AC-3 instead of Opus for this streaming session. | |
Audio capture and encoder settings for a stream.
| enum audio::config_t::flags_e : int |