从零开始WebRTC(一)
协议栈选择: amazon-kinesis-video-streams-webrtc-sdk-c
aws支持如下特性
Key Features
- Audio/Video Support
- VP8
- H264
- Opus
- G.711 PCM (A-law)
- G.711 PCM (µ-law)
- Developer Controlled Media Pipeline
- Raw Media for Input/Output
- Callbacks for Congestion Control, FIR and PLI (set on RtcRtpTransceiver)
- DataChannels
- NACKs
- STUN/TURN Support
- IPv4/IPv6
- Signaling Client Included
- KVS Provides STUN/TURN and Signaling Backend
- Connect with Android/iOS/Web using pre-made samples
- Storage for WebRTC [NEW]
- Ingest media into a Kinesis Video Stream.
- Portable
- Tested on Linux/MacOS
- Tested on x64, ARMv5
- Build system designed for pleasant cross-compilation
- Small Install Size
- Sub 200k library size
- OpenSSL, libsrtp, libjsmn, libusrsctp and libwebsockets dependencies.
Build
Download
To download run the following command:
git clone https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c.git --single-branch -b main kvs-webrtc-sdk
You will also need to install pkg-config
and CMake
and a build environment
Configuring on Ubuntu / Unix
Create a build directory in the newly checked out repository, and execute CMake from it.
mkdir -p kvs-webrtc-sdk/build; cd kvs-webrtc-sdk/build; cmake ..
参考链接
https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c