muaz-khan/WebRTC-Scalable-Broadcast là một trong những repo mã nguồn mở mà TopGit theo dõi, hiện có 536 sao, viết chủ yếu bằng JavaScript. This module simply initializes socket.io and configures it in a way that single broadcast can be relayed over unlimited users without any bandwidth/CPU usage issues. Everything happens peer-to-peer!
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This module simply initializes socket.io and configures it in a way that single broadcast can be relayed over unlimited users without any bandwidth/CPU usage issues. Everything happens peer-to-peer!
RTCMultiConnection v3 and Scalable Broadcast
RTCMultiConnection v3 now naively supports scalable-broadcast:
Note: These (below) are old demos. Above (RTCMultiConnection-v3) demos are preferred (and up-to-dated).
index.html - share video or screen or audio over unlimited users using p2p methods.
share-files.html - share files with unlimited users using p2p methods!
Browsers Support:
Browser
Support
Firefox
Stable / Aurora / Nightly
Google Chrome
Stable / Canary / Beta / Dev
Browsers Comparison
host means the browser that is used to forward remote-stream.
Host
Streams
Receivers
Issues
Chrome
Audio+Video
Chrome,Firefox
Remote audio tracks are skipped.
Chrome
Audio
None
Chrome can NOT forward remote-audio
Chrome
Video
Chrome,Firefox
No issues
Chrome
Screen
Chrome,Firefox
No issues
Firefox
Audio+Video
Chrome,Firefox
No issues
Firefox
Audio+Screen
Chrome,Firefox
No issues
Firefox
Audio
Chrome,Firefox
No issues
Firefox
Video
Chrome,Firefox
No issues
Firefox
Screen
Chrome,Firefox
No issues
First column shows browser name
Second column shows type of remote-stream forwarded
Third column shows browsers that can receive the remote forwarded stream
Fourth column shows sender's i.e. host's issues
Chrome-to-Firefox interoperability also works!
Android devices are NOT tested yet. Opera is also NOT tested yet (though Opera uses same chromium code-base).
Currently you can't share audio in Chrome out of this big. In case of audio+video stream, chrome will skip remote-audio tracks forwarding. However chrome will keep receiving remote-audio from Firefox!
Streams captured or generated by AudioContext i.e. WebAudio API
Is stream keeps quality?
Obviously "nope". It will have minor side-effects (e.g. latency in milliseconds/etc.).
If you'll be testing across tabs on the same system, then you'll obviously notice quality lost; however it will NOT happen if you test across different systems.
In the image, you can see that each NEW-peer is getting stream from most-recent peer instead of getting stream directly from the moderator.
npm install webrtc-scalable-broadcast
Now, goto node_modules>webrtc-scalable-broadcast:
cd node_modules
cd webrtc-scalable-broadcast
# and run the server.js file
node server.js
Or:
cd ./node_modules/webrtc-scalable-broadcast/
node ./server.js
Or install using WGet:
mkdir webrtc-scalable-broadcast && cd webrtc-scalable-broadcast
wget http://dl.webrtc-experiment.com/webrtc-scalable-broadcast.tar.gz
tar -zxvf webrtc-scalable-broadcast.tar.gz
ls -a
node server.js
Đọc thêm về muaz-khan/WebRTC-Scalable-Broadcast ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/muaz-khan/WebRTC-Scalable-Broadcast là nguồn chính thức.
muaz-khan/WebRTC-Scalable-Broadcast có bao nhiêu sao?
muaz-khan/WebRTC-Scalable-Broadcast có 536 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/muaz-khan/WebRTC-Scalable-Broadcast. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
muaz-khan/WebRTC-Scalable-Broadcast có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho muaz-khan/WebRTC-Scalable-Broadcast. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
muaz-khan/WebRTC-Scalable-Broadcast có trang demo không?
Dự án có trang chủ ở https://rtcmulticonnection.herokuapp.com/demos/Scalable-Broadcast.html. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
muaz-khan/WebRTC-Scalable-Broadcast là gì?
muaz-khan/WebRTC-Scalable-Broadcast (muaz-khan/WebRTC-Scalable-Broadcast) là dự án JavaScript trên GitHub. Theo mô tả gốc: This module simply initializes socket.io and configures it in a way that single broadcast can be relayed over unlimited users without any bandwidth/CPU usage issues. Everything happens peer-to-peer!
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về WebRTC-Scalable-Broadcast?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về WebRTC-Scalable-Broadcast.