A SAP/SDP announcer class.
More...
#include <QtSapAnnouncer.h>
|
| QtSapAnnouncer (QObject *parent=nullptr) |
| Construct a new Qt Sap Announcer object.
|
|
| ~QtSapAnnouncer () final=default |
| Destroy the Qt Sap Announcer object.
|
|
Q_INVOKABLE void | addSapAnnouncement (const ::mediax::rtp::StreamInformation &stream_information) |
| Add a SAP announcement.
|
|
Q_INVOKABLE::mediax::rtp::StreamInformation & | getSapAnnouncement (QString session_name) |
| Get the Sap Announcement object.
|
|
Q_INVOKABLE void | deleteSapAnnouncement (QString stream_name, QString multicast_address="") |
| Delete a SAP announcement.
|
|
Q_INVOKABLE void | undeleteSapAnnouncement (QString stream_name) |
| Undelete a SAP announcement.
|
|
Q_INVOKABLE void | deleteAllSapAnnouncements () |
| Delete all SAP announcements.
|
|
Q_INVOKABLE void | start () |
| Start the SAP server.
|
|
Q_INVOKABLE void | stop () |
| Stop the SAP server.
|
|
Q_INVOKABLE void | restart () |
| Restart all deleted SAP announcements.
|
|
Q_INVOKABLE void | setSourceInterface (uint16_t select=0) |
| Set the Source Interface object.
|
|
Q_INVOKABLE std::map< uint32_t, QString > | getInterfaces () const |
| Get the interfaces as nic names.
|
|
Q_INVOKABLE uint32_t | getActiveStreamCount () const |
| Get the Active Stream Count object.
|
|
A SAP/SDP announcer class.
◆ QtSapAnnouncer()
mediax::qt6::QtSapAnnouncer::QtSapAnnouncer |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
Construct a new Qt Sap Announcer object.
- Parameters
-
◆ activeStreamCountChanged
void mediax::qt6::QtSapAnnouncer::activeStreamCountChanged |
( |
uint32_t |
count | ) |
|
|
signal |
A callback for a SAP message received.
- Parameters
-
◆ addSapAnnouncement()
Add a SAP announcement.
- Parameters
-
◆ getInstance()
Get the SAP/SDP announcer singleton instance.
- Returns
- QtSapAnnouncer&
The singleton instance
◆ getSapAnnouncement()
Q_INVOKABLE::mediax::rtp::StreamInformation & mediax::qt6::QtSapAnnouncer::getSapAnnouncement |
( |
QString |
session_name | ) |
|
Get the Sap Announcement object.
- Parameters
-
◆ setSourceInterface()
Q_INVOKABLE void mediax::qt6::QtSapAnnouncer::setSourceInterface |
( |
uint16_t |
select = 0 | ) |
|
Set the Source Interface object.
- Parameters
-
◆ undeleteSapAnnouncement()
Q_INVOKABLE void mediax::qt6::QtSapAnnouncer::undeleteSapAnnouncement |
( |
QString |
stream_name | ) |
|
Undelete a SAP announcement.
- Parameters
-
The documentation for this class was generated from the following files: