DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Member Functions | List of all members
shaka::media::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
< UdpOptions
ParseFromString (base::StringPiece udp_url)
 

Detailed Description

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

Definition at line 16 of file udp_options.h.

Member Function Documentation

std::unique_ptr< UdpOptions > shaka::media::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 73 of file udp_options.cc.


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