Shaka Packager SDK
Public Member Functions | Protected Member Functions | List of all members
shaka::UdpFile Class Reference

Implements UdpFile, which receives UDP unicast and multicast streams. More...

#include <udp_file.h>

Inheritance diagram for shaka::UdpFile:

Public Member Functions

 UdpFile (const char *address_and_port)
 
File implementation overrides.
bool Close () override
 
int64_t Read (void *buffer, uint64_t length) override
 
int64_t Write (const void *buffer, uint64_t length) override
 
void CloseForWriting () override
 
int64_t Size () override
 
bool Flush () override
 
bool Seek (uint64_t position) override
 
bool Tell (uint64_t *position) override
 

Protected Member Functions

bool Open () override
 

Detailed Description

Implements UdpFile, which receives UDP unicast and multicast streams.

Definition at line 26 of file udp_file.h.

Constructor & Destructor Documentation

◆ UdpFile()

shaka::UdpFile::UdpFile ( const char *  address_and_port)
explicit
Parameters
file_nameC string containing the address of the stream to receive. It should be of the form "<ip_address>:<port>".

Definition at line 58 of file udp_file.cc.


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