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
 

Static Public Member Functions

static std::unique_ptr< UdpOptionsParseFromString (base::StringPiece udp_url)
 

Detailed Description

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

Definition at line 15 of file udp_options.h.

Member Function Documentation

◆ ParseFromString()

std::unique_ptr< UdpOptions > shaka::UdpOptions::ParseFromString ( base::StringPiece  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 72 of file udp_options.cc.


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