Update README.md

This commit is contained in:
夏楚 2019-04-01 16:11:32 +08:00 committed by GitHub
parent 2d701128d3
commit 8e314ff82a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,7 +222,6 @@
rtmpSrv->start<RtmpSession>(mINI::Instance()[Config::Rtmp::kPort]); rtmpSrv->start<RtmpSession>(mINI::Instance()[Config::Rtmp::kPort]);
httpSrv->start<HttpSession>(mINI::Instance()[Config::Http::kPort]); httpSrv->start<HttpSession>(mINI::Instance()[Config::Http::kPort]);
httpsSrv->start<HttpsSession>(mINI::Instance()[Config::Http::kSSLPort]); httpsSrv->start<HttpsSession>(mINI::Instance()[Config::Http::kSSLPort]);
EventPoller::Instance().runLoop();
``` ```
- 作为播放器: - 作为播放器:
@ -251,7 +250,7 @@
}); });
//支持rtmp、rtsp //支持rtmp、rtsp
(*player)[RtspPlayer::kRtpType] = PlayerBase::RTP_TCP; (*player)[Client::kRtpType] = Rtsp::RTP_TCP;
player->play("rtsp://admin:jzan123456@192.168.0.122/"); player->play("rtsp://admin:jzan123456@192.168.0.122/");
``` ```
- 作为代理服务器: - 作为代理服务器:
@ -297,7 +296,6 @@
pusher->publish("rtmp://jizan.iok.la/live/test"); pusher->publish("rtmp://jizan.iok.la/live/test");
}); });
EventPoller::Instance().runLoop();
``` ```
## QA ## QA
- 怎么测试服务器性能? - 怎么测试服务器性能?