mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-12 19:24:22 +08:00
整理MediaSource协议类型
This commit is contained in:
@@ -1258,7 +1258,7 @@ void play_plugin(Session &sender, const WebRtcArgs &args, const WebRtcPluginMana
|
||||
return;
|
||||
}
|
||||
// 还原成rtc,目的是为了hook时识别哪种播放协议
|
||||
info.schema = RTC_SCHEMA;
|
||||
info.schema = "rtc";
|
||||
auto rtc = WebRtcPlayer::create(EventPollerPool::Instance().getPoller(), src, info, preferred_tcp);
|
||||
cb(*rtc);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user