mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-29 06:12:22 +08:00
抽象部分rtsp相关功能
This commit is contained in:
@@ -44,6 +44,8 @@ namespace Rtsp {
|
||||
class RtpMaker {
|
||||
public:
|
||||
typedef function<void(const RtpPacket::Ptr &pPkt, bool bKeyPos)> onGetRTP;
|
||||
typedef std::shared_ptr<RtpMaker> Ptr;
|
||||
|
||||
RtpMaker(const onGetRTP &cb, uint32_t ui32Ssrc, int iMtuSize,int iSampleRate,
|
||||
uint8_t ui8PlayloadType, uint8_t ui8Interleaved) {
|
||||
callBack = cb;
|
||||
|
||||
Reference in New Issue
Block a user