完善rtsp sdp匹配

This commit is contained in:
ziyue
2021-04-02 18:28:01 +08:00
parent ee072191e0
commit 9a2f2cbf2e
4 changed files with 53 additions and 15 deletions

View File

@@ -649,7 +649,7 @@ public:
vector<RtcMedia> media;
SdpAttrGroup group;
void loadFrom(const string &sdp);
void loadFrom(const string &sdp, bool check = true);
void checkValid() const;
string toString() const;
RtcMedia *getMedia(TrackType type);