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:
parent
ab2d15d524
commit
2bd0e1ce43
4 changed files with 139 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue