Class WebRTCStreamer#

Class Documentation#

class WebRTCStreamer#

Public Functions

WebRTCStreamer()#
~WebRTCStreamer()#
WebRTCStreamer(const WebRTCStreamer&) = delete#
WebRTCStreamer &operator=(const WebRTCStreamer&) = delete#
WebRTCStreamer(WebRTCStreamer&&) noexcept#
WebRTCStreamer &operator=(WebRTCStreamer&&) noexcept#
std::expected<void, WebRTCError> configure(const StreamConfig &config)#
std::expected<void, WebRTCError> start()#
std::expected<void, WebRTCError> stop()#
std::expected<void, WebRTCError> pause()#
std::expected<void, WebRTCError> resume()#
StreamState get_state() const#
bool is_streaming() const#
std::string get_producer_id() const#
void set_state_callback(StateCallback callback)#
void set_error_callback(ErrorCallback callback)#
std::expected<void, WebRTCError> set_bitrate(std::uint32_t bitrate_kbps)#

Public Static Functions

static std::expected<void, WebRTCError> initialize(int *argc = nullptr, char ***argv = nullptr)#
static void deinitialize()#
static std::vector<ElementLocation> locate_elements()#
static std::string bundled_plugin_dir()#