|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Declarations for the streaming protocols. More...
#include <utility>#include <boost/asio.hpp>#include "audio.h"#include "crypto.h"#include "video.h"Go to the source code of this file.
Classes | |
| struct | stream::config_t |
| Stream configuration shared by capture and network senders. More... | |
Enumerations | |
| enum class | stream::session::state_e : int { STOPPED , STOPPING , STARTING , RUNNING } |
| Enumerates supported state options. More... | |
Functions | |
| std::shared_ptr< session_t > | stream::session::alloc (config_t &config, rtsp_stream::launch_session_t &launch_session) |
| Allocate and initialize platform input state for a stream. | |
| const std::string & | stream::session::client_cert (session_t &session) |
| Return the paired client certificate for this session. | |
| void | stream::session::join (session_t &session) |
| Wait for worker threads owned by the session to exit. | |
| int | stream::session::start (session_t &session, const std::string &addr_string) |
| Start the audio, video, and control workers for a streaming session. | |
| state_e | stream::session::state (session_t &session) |
| Platform handle returned from stream setup. | |
| void | stream::session::stop (session_t &session) |
| Stop the active streaming session and prevent new packets from being queued. | |
Declarations for the streaming protocols.
|
strong |
| std::shared_ptr< session_t > stream::session::alloc | ( | config_t & | config, |
| rtsp_stream::launch_session_t & | launch_session ) |
Allocate and initialize platform input state for a stream.
| config | Configuration values to apply. |
| launch_session | Launch session. |
| const std::string & stream::session::client_cert | ( | session_t & | session | ) |
Return the paired client certificate for this session.
Return the paired client certificate for a stream session.
| session | Active streaming or pairing session for the request. |
| void stream::session::join | ( | session_t & | session | ) |
Wait for worker threads owned by the session to exit.
| session | Active streaming or pairing session for the request. |
| int stream::session::start | ( | session_t & | session, |
| const std::string & | addr_string ) |
Start the audio, video, and control workers for a streaming session.
Start a streaming session for the supplied peer address.
| session | Active streaming or pairing session for the request. |
| addr_string | Addr string. |
| state_e stream::session::state | ( | session_t & | session | ) |
Platform handle returned from stream setup.
| session | Active streaming or pairing session for the request. |
| void stream::session::stop | ( | session_t & | session | ) |
Stop the active streaming session and prevent new packets from being queued.
Stop a streaming session and prevent more packets from being queued.
| session | Active streaming or pairing session for the request. |