mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
18 lines
339 B
C++
18 lines
339 B
C++
#ifndef _RTP_TRANSCEIVER_H_
|
|
#define _RTP_TRANSCEIVER_H_
|
|
|
|
#include <functional>
|
|
|
|
class RtpTransceiver {
|
|
public:
|
|
RtpTransceiver();
|
|
~RtpTransceiver();
|
|
|
|
public:
|
|
virtual void SetSendDataFunc(
|
|
std::function<int(const char *, size_t)> data_send_func) = 0;
|
|
|
|
virtual void OnReceiveData(const char *data, size_t size) = 0;
|
|
};
|
|
|
|
#endif |