Intel® Collaboration Suite for WebRTC  version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for Windows*
owt::base::LocalCustomizedStreamParameters Class Referencefinal

This class contains parameters and methods that needed for creating a local customized stream. When a stream is created, it will not be impacted if these parameters are changed. More...

#include <owt/base/localcamerastreamparameters.h>

Public Member Functions

 LocalCustomizedStreamParameters (bool audio_enabled, bool video_enabled)
 Initialize a LocalCustomizedStreamParameters for YUV input. More...
 
void Resolution (int width, int height)
 Set the video resolution. If the resolution specified is not supported on current device, creation will failed. More...
 
void Fps (int fps)
 Set the frame rate. If the frame rate specified is not supported on current device, creation will failed. More...
 
void Bitrate (int bitrate_kbps)
 Set the bitrate of encoded frame. More...
 

Detailed Description

This class contains parameters and methods that needed for creating a local customized stream. When a stream is created, it will not be impacted if these parameters are changed.

Constructor & Destructor Documentation

◆ LocalCustomizedStreamParameters()

owt::base::LocalCustomizedStreamParameters::LocalCustomizedStreamParameters ( bool  audio_enabled,
bool  video_enabled 
)
inline

Initialize a LocalCustomizedStreamParameters for YUV input.

Parameters
audio_enabledIndicates if audio is enabled for this stream.
video_anabledIndicates if video is enabled for this stream.

Member Function Documentation

◆ Bitrate()

void owt::base::LocalCustomizedStreamParameters::Bitrate ( int  bitrate_kbps)
inline

Set the bitrate of encoded frame.

Parameters
bitrate_kbpsThe bitrate expected for the encoded stream.

◆ Fps()

void owt::base::LocalCustomizedStreamParameters::Fps ( int  fps)
inline

Set the frame rate. If the frame rate specified is not supported on current device, creation will failed.

Parameters
fpsThe frame rate of the video.

◆ Resolution()

void owt::base::LocalCustomizedStreamParameters::Resolution ( int  width,
int  height 
)
inline

Set the video resolution. If the resolution specified is not supported on current device, creation will failed.

Parameters
widthThe width of the video.
heightThe height of the video.