Fixed the parsing of m= lines

This commit is contained in:
Staz M
2020-11-06 19:06:56 -05:00
parent de4192747c
commit 3e53706869
3 changed files with 55 additions and 36 deletions

View File

@ -143,6 +143,7 @@ public:
struct RTPMap {
RTPMap(string_view mline);
RTPMap() {}
void removeFB(const string &string);
void addFB(const string &string);
@ -158,6 +159,9 @@ public:
std::vector<string> rtcpFbs;
std::vector<string> fmtps;
static int parsePT(string_view view);
void setMLine(string_view view);
};
private: