Update README.md

This commit is contained in:
夏楚 2017-06-05 18:09:30 +08:00 committed by GitHub
parent cf57738fd4
commit 13574a050c

View File

@ -117,10 +117,10 @@ Android | [![Build Status](https://travis-ci.org/xiongziliang/ZLMediaKit_build_f
player->setOnShutdown([](const SockException &ex) { player->setOnShutdown([](const SockException &ex) {
ErrorL << "OnShutdown:" << ex.what(); ErrorL << "OnShutdown:" << ex.what();
}); });
player->setOnVideoCB([&](const H264Frame &frame){ player->setOnVideoCB([&](const H264Frame &frame){
//在这里解码H264并显示 //在这里解码H264并显示
}); });
player->setOnAudioCB([&](const AdtsFrame &frame){ player->setOnAudioCB([&](const AdtsFrame &frame){
//在这里解码AAC并播放 //在这里解码AAC并播放
}); });
//支持rtmp、rtsp //支持rtmp、rtsp
@ -182,9 +182,9 @@ Android | [![Build Status](https://travis-ci.org/xiongziliang/ZLMediaKit_build_f
cd ZLToolKit cd ZLToolKit
mkdir -p build mkdir -p build
cd build -DENABLE_ASNC_TCP_CLIENT cd build -DENABLE_ASNC_TCP_CLIENT
cmake .. cmake ..
make -j4 make -j4
sudo make install sudo make install
``` ```
- github下载太慢了有其他下载方式吗 - github下载太慢了有其他下载方式吗