完善播放器接口

This commit is contained in:
xiongziliang
2018-10-26 11:03:53 +08:00
parent bdc1f0cd15
commit e816c56f2e
3 changed files with 14 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ public:
void play(const char* strUrl) override;
void pause(bool bPause) override;
void teardown() override;
float getRtpLossRate(int iTrackType) const override;
float getRtpLossRate(TrackType type) const override;
protected:
//派生类回调函数
virtual bool onCheckSDP(const string &strSdp, const SdpAttr &sdpAttr) = 0;