Cogs.Core
Classes | Public Member Functions | Public Attributes | List of all members
Cogs::RTSP Struct Reference

Classes

struct  MediaDescription
 

Public Member Functions

 RTSP (std::string_view url)
 
void Reset ()
 
bool Options ()
 
bool Describe ()
 
bool Setup (MediaDescription &mdt, const char *uri, uint16_t client_port_a, uint16_t client_port_b)
 
bool Play ()
 
bool Pause ()
 
bool Teardown ()
 
bool GetParameter ()
 
bool SetParameter ()
 
bool Ping ()
 
void ParseSDP ()
 
bool IsActive ()
 

Public Attributes

CURL * curl
 
std::string url
 
bool has_describe: 1
 
bool has_setup: 1
 
bool has_play: 1
 
bool has_pause: 1
 
bool has_teardown: 1
 
bool has_set_parameter: 1
 
bool has_get_parameter: 1
 
bool is_active: 1
 
bool has_video: 1
 
bool has_audio: 1
 
std::string sdp
 
std::vector< MediaDescriptionmedia_description
 
MediaDescriptionmd
 

Detailed Description

Definition at line 12 of file RTSP.h.

Constructor & Destructor Documentation

◆ RTSP()

Cogs::RTSP::RTSP ( std::string_view  url)

Definition at line 166 of file RTSP.cpp.

◆ ~RTSP()

Cogs::RTSP::~RTSP ( )

Definition at line 220 of file RTSP.cpp.

Member Function Documentation

◆ Describe()

bool Cogs::RTSP::Describe ( )

Definition at line 257 of file RTSP.cpp.

◆ GetParameter()

bool Cogs::RTSP::GetParameter ( )

Definition at line 402 of file RTSP.cpp.

◆ IsActive()

bool Cogs::RTSP::IsActive ( )
inline

Definition at line 35 of file RTSP.h.

◆ Options()

bool Cogs::RTSP::Options ( )

Definition at line 231 of file RTSP.cpp.

◆ ParseSDP()

void Cogs::RTSP::ParseSDP ( )

Definition at line 475 of file RTSP.cpp.

◆ Pause()

bool Cogs::RTSP::Pause ( )

Definition at line 355 of file RTSP.cpp.

◆ Ping()

bool Cogs::RTSP::Ping ( )

Definition at line 448 of file RTSP.cpp.

◆ Play()

bool Cogs::RTSP::Play ( )

Definition at line 322 of file RTSP.cpp.

◆ Reset()

void Cogs::RTSP::Reset ( )

Definition at line 226 of file RTSP.cpp.

◆ SetParameter()

bool Cogs::RTSP::SetParameter ( )

Definition at line 425 of file RTSP.cpp.

◆ Setup()

bool Cogs::RTSP::Setup ( MediaDescription mdt,
const char *  uri,
uint16_t  client_port_a,
uint16_t  client_port_b 
)

Definition at line 287 of file RTSP.cpp.

◆ Teardown()

bool Cogs::RTSP::Teardown ( )

Definition at line 378 of file RTSP.cpp.

Member Data Documentation

◆ curl

CURL* Cogs::RTSP::curl

Definition at line 37 of file RTSP.h.

◆ has_audio

bool Cogs::RTSP::has_audio

Definition at line 50 of file RTSP.h.

◆ has_describe

bool Cogs::RTSP::has_describe

Definition at line 40 of file RTSP.h.

◆ has_get_parameter

bool Cogs::RTSP::has_get_parameter

Definition at line 46 of file RTSP.h.

◆ has_pause

bool Cogs::RTSP::has_pause

Definition at line 43 of file RTSP.h.

◆ has_play

bool Cogs::RTSP::has_play

Definition at line 42 of file RTSP.h.

◆ has_set_parameter

bool Cogs::RTSP::has_set_parameter

Definition at line 45 of file RTSP.h.

◆ has_setup

bool Cogs::RTSP::has_setup

Definition at line 41 of file RTSP.h.

◆ has_teardown

bool Cogs::RTSP::has_teardown

Definition at line 44 of file RTSP.h.

◆ has_video

bool Cogs::RTSP::has_video

Definition at line 49 of file RTSP.h.

◆ is_active

bool Cogs::RTSP::is_active

Definition at line 47 of file RTSP.h.

◆ md

MediaDescription* Cogs::RTSP::md

Definition at line 72 of file RTSP.h.

◆ media_description

std::vector<MediaDescription> Cogs::RTSP::media_description

Definition at line 70 of file RTSP.h.

◆ sdp

std::string Cogs::RTSP::sdp

Definition at line 52 of file RTSP.h.

◆ url

std::string Cogs::RTSP::url

Definition at line 38 of file RTSP.h.


The documentation for this struct was generated from the following files: