Shaka Packager SDK
Public Member Functions | Static Public Member Functions | List of all members
shaka::UdpOptions Class Reference

Options parsed from UDP url string of the form: udp://ip:port[?options]. More...

#include <udp_options.h>

Public Member Functions

const std::string & address () const
 
uint16_t port () const
 
bool reuse () const
 
const std::string & interface_address () const
 
unsigned timeout_us () const
 
const std::string & source_address () const
 
bool is_source_specific_multicast () const
 
int buffer_size () const
 

Static Public Member Functions

static std::unique_ptr< UdpOptionsParseFromString (std::string_view udp_url)
 

Detailed Description

Options parsed from UDP url string of the form: udp://ip:port[?options].

Definition at line 13 of file udp_options.h.

Member Function Documentation

◆ ParseFromString()

std::unique_ptr< UdpOptions > shaka::UdpOptions::ParseFromString ( std::string_view  udp_url)
static

Parse from UDP url.

Parameters
udp_urlis the url of the form udp://ip:port[?options]
Returns
a UdpOptions object on success, nullptr otherwise.

Definition at line 84 of file udp_options.cc.


The documentation for this class was generated from the following files: