mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 03:55:58 +08:00
when start send rtp wait key rtp previous drop (#1789)
This commit is contained in:
@@ -27,7 +27,7 @@ public:
|
||||
|
||||
protected:
|
||||
//rtp打包后回调
|
||||
virtual void onRTP(toolkit::Buffer::Ptr rtp) = 0;
|
||||
virtual void onRTP(toolkit::Buffer::Ptr rtp,bool is_key = false) = 0;
|
||||
|
||||
protected:
|
||||
void onWrite(std::shared_ptr<toolkit::Buffer> buffer, uint32_t stamp, bool key_pos) override;
|
||||
|
||||
Reference in New Issue
Block a user