MillicastSDK 2.0.0
|
Option specific to the publisher. More...
#include <publisher.h>
Public Attributes | ||
struct { | ||
std::optional< std::string > source_id | ||
} | multisource | |
struct { | ||
std::optional< std::string > video | ||
std::optional< std::string > audio | ||
} | codecs | |
bool | simulcast {false} | |
Enable simulcast (for VP8 and H264 only) | ||
std::optional< ScalabilityMode > | svc_mode | |
BitrateSettings | bitrate_settings | |
bool | record_stream {false} | |
std::optional< int > | priority | |
Public Attributes inherited from millicast::ClientOption | ||
std::optional< bool > | stereo | |
std::optional< bool > | dtx | |
int | stats_delay_ms {3000} | |
std::optional< DegradationPreferences > | degradation | |
std::string | rtc_event_log_output_path | |
Option specific to the publisher.
std::optional<std::string> millicast::PublisherOption::audio |
The audio codec to use (opus by default)
BitrateSettings millicast::PublisherOption::bitrate_settings |
Control the minimum and maximum bitrate
struct { ... } millicast::PublisherOption::codecs |
struct { ... } millicast::PublisherOption::multisource |
std::optional<int> millicast::PublisherOption::priority |
Priority of published stream
bool millicast::PublisherOption::record_stream {false} |
Control whether stream should be recorded
bool millicast::PublisherOption::simulcast {false} |
Enable simulcast (for VP8 and H264 only)
std::optional<std::string> millicast::PublisherOption::source_id |
The source id/name you want to give to your publisher.
std::optional<ScalabilityMode> millicast::PublisherOption::svc_mode |
Setting a scalability mode will enable SVC
std::optional<std::string> millicast::PublisherOption::video |
The video codec to use (VP8 by default)