mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 17:09:00 +08:00
精简复用rtp encoder创建相关代码
This commit is contained in:
@@ -50,7 +50,6 @@ protected:
|
||||
void onRTP(toolkit::Buffer::Ptr rtp,bool is_key = false) override;
|
||||
};
|
||||
|
||||
|
||||
class RtpCacheRaw : public RtpCache, public RawEncoderImp{
|
||||
public:
|
||||
RtpCacheRaw(onFlushed cb, uint32_t ssrc, uint8_t payload_type = 96, bool sendAudio = true) : RtpCache(std::move(cb)), RawEncoderImp(ssrc, payload_type,sendAudio) {};
|
||||
|
||||
Reference in New Issue
Block a user