Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
github.com/Monibuca/plugin-webrtc/v4
English | 简体中文
提供通过网页发布视频到monibuca,以及从monibuca拉流通过webrtc进行播放的功能,遵循WHIP规范
https://github.com/Monibuca/plugin-webrtc
import ( _ "m7s.live/plugin/webrtc/v4" )
webrtc:
iceservers: []
publicip: [] # 可以是数组也可以是字符串(内部自动转成数组)
port: tcp:9000 # 可以是udp:8000-9000 范围端口,也可以udp:9000 单个端口
pli: 2s # 2s
webrtc:
iceservers:
- urls:
- stun:stun.l.google.com:19302
- turn:turn.example.org
username: user
credential: pass
通过浏览器和monibuca交换sdp信息,然后读取rtp包或者发送rtp的方式进行
/webrtc/play/[streamPath]
Body: SDP
Content-Type: application/sdp
Response Body: SDP
/webrtc/push/[streamPath]
Body: SDP
Content-Type: application/sdp
Response Body: SDP
/webrtc/test/publish
?streamPath=xxx
指定推流地址,默认为live/webrtc
/webrtc/test/screenshare
?streamPath=xxx
指定推流地址,默认为live/webrtc
/webrtc/test/subscribe
?streamPath=xxx
指定播放地址,默认为live/webrtc
WebRTC-HTTP ingestion protocol 用于WebRTC交换SDP信息的规范
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.