|
| Rtms2DdtGateway (const std::string &receiver_ip, const std::string &interface_name, const int port, const ifw::fnd::datatype::DataType data_type, const int width, const int height, const std::string &ddt_broker_uri, const std::string &ddt_stream, const double ddt_interval, const uint16_t mtu_size, const uint16_t ext_info_size, std::string log_file=ifw::rtmstools::rtmslib_llnetio::RTMSTOOLS_LOG_PROPS, std::string log_level="ERROR") |
|
| ~Rtms2DdtGateway () |
|
virtual void | HandleSampleUser (ifw::rtmstools::rtmslib_llnetio::SampleExtInfo &ext_info, std::vector< uint8_t > &sample_payload) |
| User provided method to handle an RTMS Sample received.
|
|
| RtmsReceiver (const std::string &receiver_ip, const std::string &interface_name, const int port, const ifw::fnd::datatype::DataType data_type, const ReceiverConfig &rcv_cfg=ReceiverConfig()) |
| RTMS Receiver class.
|
|
virtual | ~RtmsReceiver () |
|
void | ReceiveLoop () |
| Receiver loop running until RtmsReceiver::StopReceiver() is invoked.
|
|
virtual void | StopReceiver () |
| Signal to RTMS receiver to stop execution.
|
|
bool | ReceiveSample (SampleExtInfo &ext_info, std::vector< uint8_t > &sample_payload, std::chrono::nanoseconds timeout) |
| Receives one sample. Returns true if a sample received within the timeout.
|
|
int64_t | GetLostFramesCount () const |
|
Rtms2DdtGateway class.
This class is used to receive RTMS packages and assembly back the image when the last packet is received. If any packet is lost, the complete frame will be discarded. It uses BOOST asio library for handling the UDP networking.