整理MediaSource协议类型

This commit is contained in:
夏楚
2023-12-02 16:31:40 +08:00
committed by GitHub
parent 10c2197e76
commit 76aebd74c6
6 changed files with 20 additions and 10 deletions

View File

@@ -54,7 +54,7 @@ bool SrtTransportImp::parseStreamid(std::string &streamid) {
if (!toolkit::start_with(streamid, "#!::")) {
return false;
}
_media_info.schema = SRT_SCHEMA;
_media_info.schema = "srt";
std::string real_streamid = streamid.substr(4);
std::string vhost, app, stream_name;