Janus WebRTC Gateway Docker image built from sources
641
libsrtp version: 2.0.x
SSL/crypto library: OpenSSL
DataChannels support: yes
Recordings post-processor: yes
TURN REST API client: yes
Doxygen documentation: no
Transports:
REST (HTTP/HTTPS): yes
WebSockets: yes (new API)
RabbitMQ: no
MQTT: no
Unix Sockets: yes
Plugins:
Echo Test: yes
Streaming: yes
Video Call: yes
SIP Gateway: yes
Audio Bridge: yes
Video Room: yes
Voice Mail: yes
Record&Play: yes
Text Room: yes
Event handlers:
Sample event handler: yes
The image is available on docker hub as automated build
docker pull giordanocardillo/janus-fromsrc-wsonly
A run configuration could be the following (host network is advisable to avoid ICE problems)
docker run -d --network=host -p 8188:8188 -p 8989:8989 -p 8088:8088 -p 8089:8089 -v /root/janus:/opt/janus/etc/janus --name janus giordanocardillo/janus-fromsrc-wsonly
Configuration is shipped within the container, to copy it to the host machine use the following command (after the container is started)
docker cp janus:/root/janus /root/janus
Then restart the container
docker restart janus
The image is configured to provide janus-pp-rec utility to convert recorded files and is stored in /opt/janus/bin/janus-pp-rec
The image in this branch is based on Ubuntu 16.04, so you must use that OS to make the executable work.
To make it work, the following libraries must be installed
libgliblibjanssonlibavutillibavcodeclibavformatsudo apt-get install -y libglib2.0-0 libjansson4 libavutil-ffmpeg54 libavcodec-ffmpeg56 libavformat-ffmpeg56
To use it, copy it from the docker container
docker cp janus:/opt/janus/bin/janus-pp-rec /usr/local/bin
Then convert recordings with
janus-pp-rec /opt/janus/share/janus/recordings/video.mjr /opt/janus/share/janus/recordings/video.webm
janus-pp-rec /opt/janus/share/janus/recordings/audio.mjr /opt/janus/share/janus/recordings/audio.opus
Install ffmpeg
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next
sudo apt-get update
sudo apt-get install ffmpeg
Then merge the files
ffmpeg -i audio.opus -i video.webm -c:v copy -c:a opus -strict experimental mergedoutput.webm
Content type
Image
Digest
Size
119.7 MB
Last updated
almost 9 years ago
docker pull giordanocardillo/janus-fromsrc-wsonly