You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] SDK audio defaults differ from WebSocket protocol defaults #92
The SDK uses different default audio parameters than the raw RTMS WebSocket protocol. While the SDK defaults provide better quality (OPUS, 48kHz, Stereo, AUDIO_MULTI_STREAMS), this can cause confusion when users expect the WebSocket defaults.
Parameter
SDK Default
WebSocket Default
Codec
OPUS (4)
L16 (1)
Sample Rate
48kHz (3)
16kHz (1)
Channel
Stereo (2)
Mono (1)
Data Option
AUDIO_MULTI_STREAMS (2)
AUDIO_MIXED_STREAM (1)
Duration
20ms
20ms
Frame Size
960
320
Proposed Solution for v2.0
Align SDK defaults with WebSocket protocol defaults for consistency:
Codec: L16 (1)
Sample Rate: 16kHz (1)
Channel: Mono (1)
Data Option: AUDIO_MIXED_STREAM (1)
Frame Size: 320
Users who want the current SDK defaults (higher quality, per-speaker attribution) would need to explicitly configure them.
Workaround (v1.x)
Users can configure audio params to match WebSocket defaults:
Activity