mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 22:55:52 +08:00
Update README.md
This commit is contained in:
parent
13574a050c
commit
0b83eddcbf
@ -99,12 +99,12 @@ Android | [![Build Status](https://travis-ci.org/xiongziliang/ZLMediaKit_build_f
|
|||||||
TcpServer<RtspSession>::Ptr rtspSrv(new TcpServer<RtspSession>());
|
TcpServer<RtspSession>::Ptr rtspSrv(new TcpServer<RtspSession>());
|
||||||
TcpServer<RtmpSession>::Ptr rtmpSrv(new TcpServer<RtmpSession>());
|
TcpServer<RtmpSession>::Ptr rtmpSrv(new TcpServer<RtmpSession>());
|
||||||
TcpServer<HttpSession>::Ptr httpSrv(new TcpServer<HttpSession>());
|
TcpServer<HttpSession>::Ptr httpSrv(new TcpServer<HttpSession>());
|
||||||
TcpServer<HttpsSession>::Ptr httpsSrv(new TcpServer<HttpsSession>());
|
TcpServer<HttpsSession>::Ptr httpsSrv(new TcpServer<HttpsSession>());
|
||||||
|
|
||||||
rtspSrv->start(mINI::Instance()[Config::Rtsp::kPort]);
|
rtspSrv->start(mINI::Instance()[Config::Rtsp::kPort]);
|
||||||
rtmpSrv->start(mINI::Instance()[Config::Rtmp::kPort]);
|
rtmpSrv->start(mINI::Instance()[Config::Rtmp::kPort]);
|
||||||
httpSrv->start(mINI::Instance()[Config::Http::kPort]);
|
httpSrv->start(mINI::Instance()[Config::Http::kPort]);
|
||||||
httpsSrv->start(mINI::Instance()[Config::Http::kSSLPort]);
|
httpsSrv->start(mINI::Instance()[Config::Http::kSSLPort]);
|
||||||
EventPoller::Instance().runLoop();
|
EventPoller::Instance().runLoop();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user