mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
Update README.md
This commit is contained in:
parent
cf57738fd4
commit
13574a050c
10
README.md
10
README.md
@ -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下载太慢了,有其他下载方式吗?
|
||||||
|
Loading…
Reference in New Issue
Block a user