From 965bc5d34f7a70cc642943a0929c104e99da816f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=A5=9A?= <771730766@qq.com> Date: Tue, 15 Aug 2017 12:03:10 +0800 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c23308a7..627323b7 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,8 @@ Windows | 已经完成移植 //在这里解码AAC并播放 }); //支持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(); ``` - 作为代理服务器: