一、Usage用法
1.使用Go Modules
Go Modules are mandatory for using Pion WebRTC. So make sure you set export GO111MODULE=on, and explicitly specify /v2 or /v3 when importing.
2.常见示例
example applications contains code samples of common things people build with Pion WebRTC.
3.更多示例
example-webrtc-applications contains more full featured examples that use 3rd party libraries.
4.真实案例
awesome-pion contains projects that have used Pion, and serve as real world examples of usage.
5.GoDoc
GoDoc is an auto generated API reference. All our Public APIs are commented.
6.FAQ
FAQ has answers to common questions. If you have a question not covered please ask in Slack we are always looking to expand it.
7.我还没搞清这些特性有没有实现……
Now go build something awesome! Here are some ideas to get your creative juices flowing:
Send a video file to multiple browser in real time for perfectly synchronized movie watching. Send a webcam on an embedded device to your browser with no additional server required! Securely send data between two servers, without using pub/sub. Record your webcam and do special effects server side. Build a conferencing application that processes audio/video and make decisions off of it. Remotely control a robots and stream its cameras in realtime.
二、Features特性
1.PeerConnection API
-
Go implementation of webrtc-pc and webrtc-stats
-
DataChannels
-
Send/Receive audio and video
-
Renegotiation 重连??
-
Plan-B and Unified Plan
-
SettingEngine for P