|
Hermes 0.7.0
Linux game streaming host
|
Declarations for RTSP streaming. More...
#include <atomic>#include <list>#include <memory>#include <mutex>#include <optional>#include <string>#include "crypto.h"#include "thread_safe.h"#include "uuid.h"Go to the source code of this file.
Classes | |
| struct | rtsp_stream::launch_session_t |
Functions | |
| bool | rtsp_stream::launch_session_raise (std::shared_ptr< launch_session_t > launch_session) |
| void | rtsp_stream::launch_session_clear (uint32_t launch_session_id) |
| Clear state for the specified launch session. | |
| bool | rtsp_stream::cancel_pending_launch (const std::string_view &uuid) |
| int | rtsp_stream::session_count () |
| Get the number of active sessions. | |
| int | rtsp_stream::shared_session_count () |
| std::string_view | rtsp_stream::last_termination_reason () |
| Get a short identifier for why the most recent session ended. | |
| std::shared_ptr< stream::session_t > | rtsp_stream::find_session (const std::string_view &uuid) |
| std::optional< bool > | rtsp_stream::session_is_isolated (const std::string_view &uuid) |
| std::list< std::string > | rtsp_stream::get_all_session_uuids () |
| bool | rtsp_stream::terminate_session (const std::string_view &uuid) |
| void | rtsp_stream::terminate_shared_sessions () |
| void | rtsp_stream::terminate_sessions () |
| Terminates all running streaming sessions. | |
| void | rtsp_stream::start () |
| Runs the RTSP server loop. | |
| std::string | rtsp_stream::surround_params (int config) |
| The surround-params value the RTSP DESCRIBE reply advertises for an audio layout. | |
Variables | |
| constexpr auto | rtsp_stream::RTSP_SETUP_PORT = 21 |
Declarations for RTSP streaming.
Definition in file rtsp.h.
| bool rtsp_stream::cancel_pending_launch | ( | const std::string_view & | uuid | ) |
| std::shared_ptr< stream::session_t > rtsp_stream::find_session | ( | const std::string_view & | uuid | ) |
| std::list< std::string > rtsp_stream::get_all_session_uuids | ( | ) |
| std::string_view rtsp_stream::last_termination_reason | ( | ) |
| void rtsp_stream::launch_session_clear | ( | uint32_t | launch_session_id | ) |
| bool rtsp_stream::launch_session_raise | ( | std::shared_ptr< launch_session_t > | launch_session | ) |
| int rtsp_stream::session_count | ( | ) |
| std::optional< bool > rtsp_stream::session_is_isolated | ( | const std::string_view & | uuid | ) |
| std::string rtsp_stream::surround_params | ( | int | config | ) |
The surround-params value the RTSP DESCRIBE reply advertises for an audio layout.
Channel count, stream count, coupled-stream count, then the channel mapping, with the normal-quality 5.1 and 7.1 mappings rotated to undo the rotation Moonlight applies to them.
| config | An audio::stream_config_e value. |
GFE advertises incorrect mapping for normal quality configurations, as a result, Moonlight rotates all channels from index '3' to the right To work around this, rotate channels to the left from index '3', over the channels of this layout: 6 for 5.1, 8 for 7.1.
| bool rtsp_stream::terminate_session | ( | const std::string_view & | uuid | ) |
| void rtsp_stream::terminate_sessions | ( | ) |
| void rtsp_stream::terminate_shared_sessions | ( | ) |