KVS WebRTC依赖于openssl、srtp、usrsctp、kvspic。我们挨个来编译,如果我们需要往嵌入式设备中移植,需要移植这些依赖项,因此在编译移植前,我们需要得到源码。
先下载所有代码(我使用了镜像加速),其实都是github:
OpenSSL:
git clone https://github.com.cnpmjs.org/openssl/openssl.git -b OpenSSL_1_1_1g
libsrtp:
git clone https://github.com.cnpmjs.org/cisco/libsrtp.git
usrsctp :
git clone https://github.com.cnpmjs.org/sctplab/usrsctp.git
libwebsockets :
git clone https://github.com.cnpmjs.org/warmcat/libwebsockets.git -b v3.2.3
amazon-kinesis-video-streams-pic :
git clone https://github.com.cnpmjs.org/awslabs/amazon-kinesis-video-streams-pic.git
amazon-kinesis-video-streams-producer-c :
git clone https://github.com.cnpmjs.org/awslabs/amazon-kinesis-video-streams-producer-c.git