mediasfu-reactnative
Version:
MediaSFU Prebuilt React Native SDK
27 lines • 891 B
JavaScript
/**
* Screen parameters configuration object.
*
* @constant
* @type {ScreenParamsType}
*
* @property {Array<Object>} encodings - Array of encoding settings.
* @property {string} encodings[].rid - The RTP stream identifier.
* @property {number} encodings[].maxBitrate - Maximum bitrate for the encoding.
* @property {string} encodings[].priority - Priority of the encoding.
* @property {string} encodings[].networkPriority - Network priority of the encoding.
*
* @property {Object} codecOptions - Codec options for the screen parameters.
* @property {number} codecOptions.videoGoogleStartBitrate - Initial bitrate for the video codec.
*/
export const screenParams = {
encodings: [
{
rid: 'r0',
maxBitrate: 3000000,
},
],
codecOptions: {
videoGoogleStartBitrate: 1000,
},
};
//# sourceMappingURL=screenParams.js.map