mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-29 21:38:22 +08:00
整理webrtc相关代码命名空间
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "WebRtcTransport.h"
|
||||
|
||||
namespace mediakit {
|
||||
|
||||
class WebRtcEchoTest : public WebRtcTransportImp {
|
||||
public:
|
||||
using Ptr = std::shared_ptr<WebRtcEchoTest>;
|
||||
@@ -26,7 +28,7 @@ protected:
|
||||
void onRtp(const char *buf, size_t len, uint64_t stamp_ms) override;
|
||||
void onRtcp(const char *buf, size_t len) override;
|
||||
|
||||
void onRecvRtp(MediaTrack &track, const std::string &rid, mediakit::RtpPacket::Ptr rtp) override {};
|
||||
void onRecvRtp(MediaTrack &track, const std::string &rid, RtpPacket::Ptr rtp) override {};
|
||||
void onBeforeEncryptRtp(const char *buf, int &len, void *ctx) override {};
|
||||
void onBeforeEncryptRtcp(const char *buf, int &len, void *ctx) override {};
|
||||
|
||||
@@ -34,4 +36,5 @@ private:
|
||||
WebRtcEchoTest(const EventPoller::Ptr &poller);
|
||||
};
|
||||
|
||||
}// namespace mediakit
|
||||
#endif //ZLMEDIAKIT_WEBRTCECHOTEST_H
|
||||
|
||||
Reference in New Issue
Block a user