new Easyrtc_Rates()
Provides methods for building SDP filters. SDP filters can be used
to control bit rates.
- Source:
Methods
(static) easyrtc.buildLocalSdpFilter(options) → {function}
This function returns an sdp filter function.
Parameters:
Name | Type | Description |
---|---|---|
options |
A map that optionally includes values for the following keys: audioRecvCodec, audioRecvBitrate, videoRecvBitrate, videoRecvCodec |
- Source:
Returns:
which takes an SDP string and returns a modified SDP string.
- Type
- function
(static) easyrtc.buildRemoteSdpFilter(options) → {function}
This function returns an sdp filter function.
Parameters:
Name | Type | Description |
---|---|---|
options |
A map that optionally includes values for the following keys: stereo, audioSendCodec, audioSendBitrate, videoSendBitrate, videoSendInitialBitRate, videoRecvCodec |
- Source:
Returns:
which takes an SDP string and returns a modified SDP string.
- Type
- function