MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
millicast::PublisherOption Struct Reference

Option specific to the publisher. More...

#include <publisher.h>

Inheritance diagram for millicast::PublisherOption:
Inheritance graph
[legend]
Collaboration diagram for millicast::PublisherOption:
Collaboration graph
[legend]

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< ScalabilityModesvc_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< DegradationPreferencesdegradation
 
std::string rtc_event_log_output_path
 

Detailed Description

Option specific to the publisher.

Member Data Documentation

◆ audio

std::optional<std::string> millicast::PublisherOption::audio

The audio codec to use (opus by default)

◆ bitrate_settings

BitrateSettings millicast::PublisherOption::bitrate_settings

Control the minimum and maximum bitrate

◆ [struct]

struct { ... } millicast::PublisherOption::codecs

◆ [struct]

struct { ... } millicast::PublisherOption::multisource

◆ priority

std::optional<int> millicast::PublisherOption::priority

Priority of published stream

◆ record_stream

bool millicast::PublisherOption::record_stream {false}

Control whether stream should be recorded

◆ simulcast

bool millicast::PublisherOption::simulcast {false}

Enable simulcast (for VP8 and H264 only)

◆ source_id

std::optional<std::string> millicast::PublisherOption::source_id

The source id/name you want to give to your publisher.

◆ svc_mode

std::optional<ScalabilityMode> millicast::PublisherOption::svc_mode

Setting a scalability mode will enable SVC

◆ video

std::optional<std::string> millicast::PublisherOption::video

The video codec to use (VP8 by default)


The documentation for this struct was generated from the following file: