mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-08 07:14:35 +08:00
适配ZLToolKit(更新定时器)
This commit is contained in:
@@ -266,7 +266,7 @@ int main(int argc,char *argv[]) {
|
||||
//指定RTP over TCP(播放rtsp时有效)
|
||||
(*player)[RtspPlayer::kRtpType] = PlayerBase::RTP_TCP;
|
||||
//开始播放,如果播放失败或者播放中止,将会自动重试若干次,重试次数在配置文件中配置,默认一直重试
|
||||
player->play(url);
|
||||
//player->play(url);
|
||||
//需要保存PlayerProxy,否则作用域结束就会销毁该对象
|
||||
proxyMap.emplace(to_string(i), player);
|
||||
++i;
|
||||
|
||||
Reference in New Issue
Block a user