-
Notifications
You must be signed in to change notification settings - Fork 229
metaRTC streams to janus via the whip protocol
metaRTC6.0 adds a streaming demo to Janus
GitHub - meetecho/janus-gateway: Janus WebRTC Server
git clone https://github.com/winlinvip/janus-docker.git
cd janus-docker
janus.jcfg
line 278 nat_1_1_mapping="192.168.3.85" change IP
docker pull ossrs/janus:v1.0.11
docker run --rm -it -p 8081:8080 -p 8188:8188 -p 8443:8443 -p 20000-20010:20000-20010/udp \
-v $(pwd)/janus.jcfg:/usr/local/etc/janus/janus.jcfg \
-v $(pwd)/janus.plugin.videoroom.jcfg:/usr/local/etc/janus/janus.plugin.videoroom.jcfg \
-v $(pwd)/janus.transport.http.jcfg:/usr/local/etc/janus/janus.transport.http.jcfg \
-v $(pwd)/janus.transport.websockets.jcfg:/usr/local/etc/janus/janus.transport.websockets.jcfg \
-v $(pwd)/videoroomtest.js:/usr/local/share/janus/demos/videoroomtest.js \
ossrs/janus:v1.0.11
http://localhost:8081/videoroomtest.html?room=2345
room 2345 is h264 room
git clone https://github.com/meetecho/simple-whip-server.git
cd simple-whip-server
npm run build
npm run start
or
npm run start-debug
demo/metaPushStream6 supports Windows/Linux
Open the metapushstream6 project with QT and compile it
The New Video Room User window pops up
After modifying the simple whip server IP, click the start button to push the stream
If you encounter problems, review the log file yang_log.log