https://github.com/meetecho/janus-gateway
Meetecho がメンテしているオープンなWebRTC Gateway Project. 今んところLinuxをサポート
- サーバーサイドLinuxとしてのふがほげ
- Raspberry PI用のふがほげ に使うのに便利そう
個人的に気に入っているのは
sudo certbot certonly -d sig.kokutele.com -m [email protected] |
<!doctype html> | |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script> | |
<script src="https://cdn.webrtc.ecl.ntt.com/skyway-latest.js"></script> | |
</head> | |
<body> | |
<button id="enterRoom">enter room</button> | |
<h2>canvas out</h2> | |
<div> |
{ | |
"session_id": 5299686082594757, | |
"session_last_activity": 3366296934, | |
"session_transport": "janus.transport.http", | |
"handle_id": 5427018757107219, | |
"opaque_id": "streamingtest-RGxoUflbzuDb", | |
"created": 3356560770, | |
"send_thread_created": false, | |
"current_time": 3369463208, | |
"plugin": "janus.plugin.streaming", |
#!/bin/bash | |
# Script to install [SkyWay IoT SDK](https://github.com/nttcom/skyway-iot-sdk) onto general debian series. | |
# Tested environments are: | |
# Ubuntu16.04 | |
# Raspbian jessie | |
# | |
# Run as root or insert `sudo -E` before `bash` | |
APIKEY="THIS_KEY_WILL_BE_UPDATED" |
cd ~ | |
curl https://gist.githubusercontent.com/KensakuKOMATSU/cd2859aeb5e0432740eb/raw/cabcbc0aefea6d8c86fc491903812fc1658938c5/vimrc > .vimrc | |
git clone https://github.com/wgallios/Vundle.vim.git | |
mkdir .vim;mkdir .vim/bundle | |
mv Vundle.vim .vim/bundle |
#!/bin/bash | |
HOST=10.49.52.197 | |
gst-launch-1.0 v4l2src device=/dev/video0 ! \ | |
video/x-raw,format=RGB,width=640,height=480,framerate=30/1 ! \ | |
videoconvert ! timeoverlay ! \ | |
omxh264enc target-bitrate=2000000 control-rate=variable ! \ | |
rtph264pay config-interval=1 pt=96 ! \ | |
udpsink host=${HOST} port=15004 |
; General configuration: folders where the configuration and the plugins | |
; can be found, how output should be logged, whether Janus should run as | |
; a daemon or in foreground, default interface to use, debug/logging level | |
; and, if needed, shared apisecret and/or token authentication mechanism | |
; between application(s) and Janus. | |
[general] | |
configs_folder = /opt/janus/etc/janus ; Configuration files folder | |
plugins_folder = /opt/janus/lib/janus/plugins ; Plugins folder | |
transports_folder = /opt/janus/lib/janus/transports ; Transports folder | |
;log_to_stdout = false ; Whether the Janus output should be written |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" plugins | |
" --------------------- | |
Plugin 'wgallios/Vundle.vim' | |
Plugin 'scrooloose/nerdtree.git' |
https://github.com/meetecho/janus-gateway
Meetecho がメンテしているオープンなWebRTC Gateway Project. 今んところLinuxをサポート
個人的に気に入っているのは
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="https://skyway.io/dist/0.3/peer.js"></script> | |
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> | |
</head> | |
<body> | |
<h1>callee</h1> | |
myid: <input id="myid" type="number" readonly><br> |