Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
webrtc-player
Advanced tools
webrtc-player 对 webrtc 进行了简单封装,支持 srs 的 rtc 流的播放。
集成了云台控制按钮,并通过事件回调传递。
npm intall webrtc-player
<template>
<Player
:webrtcURL="webrtcURL"
style="height: 600px; width: 800px"
:visible="visible"
@close="close"
@control="control"
></Player>
</template>
<script>
import "element-ui/lib/theme-chalk/index.css";
import Player from "webrtc-player";
export default {
data() {
return {
visible: true,
// webrtc播放地址
webrtcURL: "",
};
},
components: {
Player,
},
methods: {
// 控制事件,根据dir做接口请求控制
control(dir) {
console.log(dir);
},
// 关闭事件
close() {
this.visible = false;
},
},
};
</script>
FAQs
webrtcPlayer.js是基于webrtc协议的播放器 兼容各主流流媒体webrtc协议 SRS、ZLM、M7s等
The npm package webrtc-player receives a total of 0 weekly downloads. As such, webrtc-player popularity was classified as not popular.
We found that webrtc-player demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.