3 ms·
Out of curiousity: What is an edge device? An IP camera? Depending on the professional grade of your use case, you could directly talk to meetecho, as they are
by mboehm 6y ago
Out of curiousity: What is an edge device? An IP camera?
Depending on the professional grade of your use case, you could directly talk to meetecho, as they are the original developers and offer consultancy around Janus.
- folkhack 6y agoIP cameras mostly, some remote-audio stuff - I think that may be a logical next step for me so I'm going to bring that up to leadership tomorrow.
- mmastrac 6y agoI used Janus to map my IP camera's stream to a WebRTC page using a Raspberry Pi's hardware transcoder. It works quite well.
- folkhack 6y agoI'd be super interested in seeing what you've got! Is your implementation posted anywhere? I really like your Stylus project btw!
- mmastrac 6y agoThere's two parts to the implementation. First part is a docker container that will transcode a stream for Janus using the hardware on the Pi: https://github.com/mmastrac/gst-omx-rpi-docker https://github.com/mmastrac/gst-omx-rpi-docker I run this with the following config (just remember to map the RPi /dev/vchiq device into the container!): gst-launch-1.0 rtspsrc location="rtsp://admin:(password)@(host):554/cam/realmonitor?channel=1&subtype=0" latency=500 ! rtph264depay ! h264parse ! omxh264dec ! omxh264enc target-bitrate=500000 control-rate=1 ! video/x-h264, profile=baseline ! h264parse ! rtph264pay name=pay0 config-interval=1 pt=96 ! udpsink host=(janus) port=8004 sync=false The second part is the Janus configuration magic that creates the appropriate stream: [gstreamer-sample] type = rtp id = 1 audio = no video = yes videoport = 8004 videopt = 96 videortpmap = H264/90000 videofmtp = profile-level-id=42E01F\;packetization-mode=1\;level-asymmetry-allowed=1 videobufferkf = yes > I really like your Stylus project btw! Thanks! Been working on Stylus a bit more this weekend. Nearly have all the features I need for my own setup.