mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-24 01:42:22 +08:00
添加工厂类 统一管理
This commit is contained in:
@@ -20,11 +20,6 @@ public:
|
||||
typedef std::shared_ptr<Track> Ptr;
|
||||
Track(){}
|
||||
virtual ~Track(){}
|
||||
|
||||
/**
|
||||
* 根据sdp生成Track对象
|
||||
*/
|
||||
static Ptr getTrackBySdp(const string &sdp);
|
||||
};
|
||||
|
||||
class VideoTrack : public Track {
|
||||
|
||||
Reference in New Issue
Block a user