Shaka Packager SDK
|
Implements UdpFile, which receives UDP unicast and multicast streams. More...
#include <udp_file.h>
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 |
Implements UdpFile, which receives UDP unicast and multicast streams.
Definition at line 26 of file udp_file.h.
|
explicit |
file_name | C 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.