1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Kernel: Buffer supports little-endian

This commit is contained in:
winlin 2020-05-22 18:14:15 +08:00
parent ab2d15d524
commit 2bd0e1ce43
4 changed files with 139 additions and 0 deletions

View file

@ -391,5 +391,17 @@ private:
srs_error_t on_binding_request(SrsStunPacket* r);
};
class ISrsRtcHijacker
{
public:
ISrsRtcHijacker();
virtual ~ISrsRtcHijacker();
public:
// When start publisher by RTC.
virtual srs_error_t on_start_publish(SrsRtcSession* session, SrsRtcPublisher* publisher, SrsRequest* req) = 0;
};
extern ISrsRtcHijacker* _srs_rtc_hijacker;
#endif