|
|
using | stream::audio_aes_t = std::array<char, round_to_pkcs7_padded(MAX_AUDIO_PACKET_SIZE)> |
| |
|
using | stream::av_session_id_t = std::variant<asio::ip::address, std::string> |
| |
|
typedef struct stream::control_encrypted_t * | stream::control_encrypted_p |
| |
|
using | stream::message_queue_queue_t = std::shared_ptr<safe::queue_t<std::tuple<socket_e, av_session_id_t, message_queue_t>>> |
| |
|
using | stream::message_queue_t = std::shared_ptr<safe::queue_t<std::pair<udp::endpoint, std::string>>> |
| |
|
using | stream::fec::rs_t = util::safe_ptr<reed_solomon, [](reed_solomon *rs) { reed_solomon_release_fn (rs); }> |
| |
|
|
std::shared_ptr< session_t > | stream::session::alloc (config_t &config, rtsp_stream::launch_session_t &launch_session) |
| |
|
void | stream::audioBroadcastThread (udp::socket &sock) |
| |
|
void | stream::audioThread (session_t *session) |
| |
| std::vector< uint8_t > | stream::concat_and_insert (uint64_t insert_size, uint64_t slice_size, const std::string_view &data1, const std::string_view &data2) |
| | Combines two buffers and inserts new buffers at each slice boundary of the result.
|
| |
|
void | stream::controlBroadcastThread (control_server_t *server) |
| |
|
void | stream::end_broadcast (broadcast_ctx_t &ctx) |
| |
|
void | stream::session::join (session_t &session) |
| |
|
int | stream::recv_ping (session_t *session, decltype(broadcast)::ptr_t ref, socket_e type, std::string_view expected_payload, udp::endpoint &peer, std::chrono::milliseconds timeout) |
| |
|
void | stream::recvThread (broadcast_ctx_t &ctx) |
| |
|
std::vector< uint8_t > | stream::replace (const std::string_view &original, const std::string_view &old, const std::string_view &_new) |
| |
|
constexpr std::size_t | stream::round_to_pkcs7_padded (std::size_t size) |
| |
| int | stream::send_feedback_msg (session_t *session, platf::gamepad_feedback_msg_t &msg) |
| | Pass gamepad feedback data back to the client.
|
| |
|
int | stream::send_hdr_mode (session_t *session, video::hdr_info_t hdr_info) |
| |
|
int | stream::session::start (session_t &session, const std::string &addr_string) |
| |
|
int | stream::start_broadcast (broadcast_ctx_t &ctx) |
| |
|
state_e | stream::session::state (session_t &session) |
| |
|
void | stream::session::stop (session_t &session) |
| |
|
void | stream::videoBroadcastThread (udp::socket &sock) |
| |
|
void | stream::videoThread (session_t *session) |
| |
Definitions for the streaming protocols.