Loading...
Searching...
No Matches
ScreenSender.h
Go to the documentation of this file.
1// Copyright (c) 2025 Dave R. Smith.
2// Malena Framework — Licensed under PolyForm Noncommercial 1.0.0; commercial use requires a paid license. See LICENSE.
3
4#pragma once
5#ifndef MALENA_SCREEN_SENDER_H
6#define MALENA_SCREEN_SENDER_H
7
9#include <memory>
10#include <string>
11
12namespace ml {
13
37{
38public:
43 ScreenSenderBase(const char* name, const char* rtspUrl);
45
48
50 void start();
51
53 void stop();
54
56 bool isPublishing() const;
57
58 const std::string& senderName() const;
59 const std::string& url() const;
60
61private:
62 struct Impl;
63 std::unique_ptr<Impl> _impl;
64};
65
66// ---------------------------------------------------------------------------
67
80template<typename Manifest>
82{
83public:
87};
88
89} // namespace ml
90
91#endif // MALENA_SCREEN_SENDER_H
Base class for all Malena manifests.
Definition Manifest.h:51
ScreenSenderBase(const char *name, const char *rtspUrl)
bool isPublishing() const
ScreenSenderBase & operator=(const ScreenSenderBase &)=delete
const std::string & senderName() const
virtual ~ScreenSenderBase()
const std::string & url() const
ScreenSenderBase(const ScreenSenderBase &)=delete
#define MALENA_API
Definition Component.h:22