rtmp支持带后缀名的url

This commit is contained in:
xiongziliang
2019-09-06 18:30:42 +08:00
parent dd188f08fd
commit 9f1a91cda6
2 changed files with 35 additions and 2 deletions

View File

@@ -86,6 +86,7 @@ private:
bool close(MediaSource &sender,bool force) override ;
void onNoneReader(MediaSource &sender) override;
void setSocketFlags();
string getStreamId(const string &str);
private:
std::string _strTcUrl;
MediaInfo _mediaInfo;