54 lines
2.1 KiB
JSON
54 lines
2.1 KiB
JSON
{
|
|
"name": "jumphp/webrtc",
|
|
"description": "WebRTC for JumPHP games and apps: peer-to-peer data channels and screen video, the same PHP API in the browser (the page's RTCPeerConnection) and on the desktop (a GStreamer webrtcbin sidecar)",
|
|
"type": "jumphp-extension",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"jumphp",
|
|
"jumphp-extension",
|
|
"webrtc",
|
|
"p2p",
|
|
"datachannel",
|
|
"screen-sharing",
|
|
"remote-desktop"
|
|
],
|
|
"homepage": "https://jumphp.net/extensions/webrtc",
|
|
"support": {
|
|
"source": "https://git.jumphp.net/jumphp/jumPhp/src/branch/main/extensions/webrtc",
|
|
"issues": "https://git.jumphp.net/jumphp/jumPhp/issues"
|
|
},
|
|
"require": {
|
|
"php": ">=8.2"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"JumPHP\\WebRtc\\": "src/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"jumphp": {
|
|
"name": "WebRTC",
|
|
"engine": "^0.5.53",
|
|
"summary": "Peer-to-peer WebRTC from PHP: data channels between players (no server in the middle), and a computer's screen streamed to a browser with mouse and keyboard.",
|
|
"features": [
|
|
"One PHP API on both targets: the browser's RTCPeerConnection, a native GStreamer peer on the desktop",
|
|
"Data channels: reliable or not, ordered or not, text and binary",
|
|
"Signaling over the relay you already have (NetSession) or any channel of your own",
|
|
"Screen streaming (Linux X11): H.264 with the GPU's encoder (VA-API, NVENC) or x264 zero-latency",
|
|
"Remote input: absolute / relative mouse, buttons, wheel, keys, Unicode text (XTest)",
|
|
"LAN first (ICE host candidates), STUN for the internet"
|
|
],
|
|
"services": [
|
|
"JumPHP\\WebRtc\\WebRtc"
|
|
],
|
|
"config": {
|
|
"webrtc": {
|
|
"default": {
|
|
"stun": "stun:stun.l.google.com:19302"
|
|
},
|
|
"doc": "WebRTC: stun = the STUN server ICE asks for this computer's public address ('' = LAN only)"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|