Update README.md

This commit is contained in:
夏楚 2017-08-15 12:03:10 +08:00 committed by GitHub
parent 318ab7e29e
commit 965bc5d34f
1 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,8 @@ Windows | 已经完成移植
//在这里解码AAC并播放 //在这里解码AAC并播放
}); });
//支持rtmp、rtsp //支持rtmp、rtsp
player->play("rtsp://192.168.0.122/","admin","123456",PlayerBase::RTP_TCP); (*player)[RtspPlayer::kRtpType] = PlayerBase::RTP_TCP;
player->play("rtsp://admin:jzan123456@192.168.0.122/");
EventPoller::Instance().runLoop(); EventPoller::Instance().runLoop();
``` ```
- 作为代理服务器: - 作为代理服务器: