Sunshine latest
Self-hosted game stream host for Moonlight.
rtsp.h File Reference

Declarations for RTSP streaming. More...

#include <atomic>
#include "crypto.h"
#include "thread_safe.h"
Include dependency graph for rtsp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rtsp_stream::launch_session_t
 

Functions

void rtsp_stream::launch_session_clear (uint32_t launch_session_id)
 Clear state for the specified launch session.
 
void rtsp_stream::launch_session_raise (std::shared_ptr< launch_session_t > launch_session)
 
void rtsp_stream::rtpThread ()
 
int rtsp_stream::session_count ()
 Get the number of active sessions.
 
void rtsp_stream::terminate_sessions ()
 Terminates all running streaming sessions.
 

Variables

constexpr auto rtsp_stream::RTSP_SETUP_PORT = 21
 

Detailed Description

Declarations for RTSP streaming.

Function Documentation

◆ launch_session_clear()

void rtsp_stream::launch_session_clear ( uint32_t launch_session_id)

Clear state for the specified launch session.

Parameters
launch_session_idThe ID of the session to clear.

◆ session_count()

int rtsp_stream::session_count ( )

Get the number of active sessions.

Returns
Count of active sessions.