Loading...
Searching...
No Matches
ml::ScreenSender< Manifest > Class Template Reference

Typed screen sender — reads config from a manifest struct. More...

#include <Malena/Screen/ScreenSender.h>

Inheritance diagram for ml::ScreenSender< Manifest >:
[legend]

Public Member Functions

 ScreenSender ()
bool isPublishing () const
const std::string & senderName () const
void start ()
void stop ()
const std::string & url () const

Detailed Description

template<typename Manifest>
class ml::ScreenSender< Manifest >

Typed screen sender — reads config from a manifest struct.

struct AdminShareManifest {
static constexpr const char* name = "Admin desktop";
static constexpr const char* url = "rtsp://192.168.4.1:8554/admin";
};
share.start();
const std::string & url() const
Typed screen sender — reads config from a manifest struct.

Definition at line 81 of file ScreenSender.h.

Constructor & Destructor Documentation

◆ ScreenSender()

template<typename Manifest>
ml::ScreenSender< Manifest >::ScreenSender ( )
inline

Definition at line 84 of file ScreenSender.h.

Member Function Documentation

◆ isPublishing()

bool ml::ScreenSenderBase::isPublishing ( ) const
inherited

True while the pipeline is live (PLAYING with no recent error).

◆ senderName()

const std::string & ml::ScreenSenderBase::senderName ( ) const
inherited

◆ start()

void ml::ScreenSenderBase::start ( )
inherited

Start (or restart) capturing + publishing. Non-blocking.

◆ stop()

void ml::ScreenSenderBase::stop ( )
inherited

Stop publishing and release the pipeline.

◆ url()

const std::string & ml::ScreenSenderBase::url ( ) const
inherited

The documentation for this class was generated from the following file: