OptionalcodecOptionalsampleDefines the audio sampling rate (Hz) used for the stream. For calls that traverse the PSTN, audio is typically sampled at 8 kHz, so using a higher value will not improve perceived quality. Higher sample rates can be useful for non-PSTN scenarios (for example, SIP/streaming paths), but will increase bandwidth usage and processing load.
OptionalversionDefines the version of the stream protocol.
Defines the audio codec/format used for the stream audio payload. Currently, only
PCMis supported (uncompressed raw audio). UsesampleRateto configure the sampling rate for the stream.