爱意满满的作品展示区。
ns2250225

一个基于 tornado 和 webRTC 的点对点视频语音文字聊天室

  •  
  •   ns2250225 ·
    ns2250225 · Feb 12, 2018 · 3213 views
    This topic created in 3022 days ago, the information mentioned may be changed or developed.
    Supplement 1  ·  Feb 12, 2018

    附上自己对webRTC的一些理解,欢迎指正。

    webRTC连接过程中的4种角色

    • (1)Signaling Server (收发信息服务器)
    • (2)ICE/TURN/STUN Server (IP,端口,MAC信息处理服务器)
    • (3)Remote Peer (远端)
    • (4)Local Peer (本地端)

    webRTC链接建立过程

    • (1)Local Peer通过websocket连接Signaling Server
    • (2)Remote Peer通过websocket连接Signaling Server
    • (3)Local Peer连接ICE/TURN/STUN Server,获取对外IP,端口,MAC
    • (4)Remote Peer连接ICE/TURN/STUN Server,获取对外IP,端口,MAC
    • (5)Local Peer发送offer sdp信息给Remote Peer,目的是告诉对方我是谁
    • (6)Remote Peer回复answer sdp信息给Local Peer,连接建立
    1 replies    2018-02-14 16:22:44 +08:00
    qi1070445109
        1
    qi1070445109  
       Feb 14, 2018 via Android
    鼓掌👏回头 star 一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2826 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 466ea39e · 68ms · UTC 06:02 · PVG 14:02 · LAX 23:02 · JFK 02:02
    ♥ Do have faith in what you're doing.