Giter Site home page Giter Site logo

webrtc epoll问题 about libice HOT 6 OPEN

wangbing8895 avatar wangbing8895 commented on May 14, 2024
webrtc epoll问题

from libice.

Comments (6)

str2num avatar str2num commented on May 14, 2024

ok, 有空我看看,支持单线程异步吗?还是1个线程1个ice通道?

from libice.

wangbing8895 avatar wangbing8895 commented on May 14, 2024

这个还要细看,对了,请教一下,你这个不支持 ice relay吗?

from libice.

str2num avatar str2num commented on May 14, 2024

这个库的定位是在服务端使用的,一般服务端对外服务都有公网ip,可以不用relay,为了简化,relay给去掉了。

from libice.

wangbing8895 avatar wangbing8895 commented on May 14, 2024

哦哦,我是看中了 webrtc的ICE支持域名解析,并且代码比 libnice好看懂;如果单纯的用在服务端并且不考虑 relay,可以自己手写一个 Stun的解析,比如 MediaSoup项目就是自己解析 StunMessage,可参考

from libice.

str2num avatar str2num commented on May 14, 2024

嗯,stun解析只是一小部分,主要是ice建立的流程以及高性能的高并发ice通道的管理。webrtc一个线程管理一个ice通道,不太适用服务端,这个库对网络IO模型做了改造,通过引入高性能异步网络库,来实现单个线程可以管理大量的ice通道,最终实现服务端高性能的媒体流的分发。

from libice.

wangbing8895 avatar wangbing8895 commented on May 14, 2024

嗨,您能简要说说 您的高并发 体现在代码哪里呢?想跟您学习一下

from libice.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.