Date: | 05/12 2016 |
---|
STUN , TURN , ICE Rust 语言的实现。
注意: 由于使用了还在测试当中的语言特性,所以编译时,请选择 nightly 版本的 Rust 编译器 以及 工具链。
cargo run --example server
cargo run --example client
- 互动式连接建立 , 维基百科 - Zh_CN
- WebRTC protocols , MDN - En
- WebRTC connectivity , MDN - En
- Web APIs , WebRTC
ICE:
- RFC 5245 , Interactive Connectivity Establishment (ICE): A Protocol for Network Address Translator (NAT) Traversal for Offer/Answer Protocols
- RFC 6336 , IANA Registry for Interactive Connectivity Establishment (ICE) Options
NAT:
- NAT , Wikipedia - Zh_CN
- NAT穿透 , Wikipedia - Zh_CN
- RFC 3235 , Network Address Translator (NAT)-Friendly Application Design Guidelines
STUN:
- STUN , Wikipedia - Zh_CN
- RFC 7350 , Datagram Transport Layer Security (DTLS) as Transport for Session Traversal Utilities for NAT (STUN)
- RFC 5389 , Session Traversal Utilities for NAT (STUN)
- RFC 3489 , STUN - Simple Traversal of User Datagram Protocol (UDP) Through Network Address Translators (NATs)
TURN:
- TURN , Wikipedia - Zh_CN
- RFC 7350 , Datagram Transport Layer Security (DTLS) as Transport for Session Traversal Utilities for NAT (STUN)
- RFC 7065 , Traversal Using Relays around NAT (TURN) Uniform Resource Identifiers
- RFC 5928 , Traversal Using Relays around NAT (TURN) Resolution Mechanism
- RFC 5766 , Traversal Using Relays around NAT (TURN): Relay Extensions to Session Traversal Utilities for NAT (STUN)
SDP:
- Session Description Protocol , Wikipedia - En
- 会话描述协议 , Wikipedia - Zh_CN
- RFC 4566 , SDP: Session Description Protocol
Blog&Code:
- P2P通信原理与实现
- P2P通信标准协议(一)之STUN
- P2P通信标准协议(二)之TURN
- P2P通信标准协议(三)之ICE
- P2P通信标准协议(四)之SIP
- 使用WebRTC搭建前端视频聊天室——信令篇
- 使用WebRTC搭建前端视频聊天室——点对点通信篇
- 使用WebRTC搭建前端视频聊天室——数据通道篇
- ICE协议看明白
- P2P实时音视频之NAT穿越
- 在symmetric NAT中怎么实现p2p
- Python实现STUN+TURN+P2P聊天
- PyPunchP2P , [Code] Python p2p chat client/server with built-in NAT traversal (UDP hole punching)
- WebRTC samples Trickle ICE
- SimpleWebRTC