https://store-images.s-microsoft.com/image/apps.51514.a123ed6c-bbd0-4f8d-b2c0-fe91ba4364e4.dbfb6aa4-53f9-4978-a02d-7cc5241dde64.5f5255f5-a6ed-4d37-be20-3afc4b1f55a5

RTSP Server on IoT Edge

motojin.com, Inc.

RTSP Server on IoT Edge

motojin.com, Inc.

Publish or read live streams with RTSP

This module is developed from rtsp-simple-server to be able to run on IoT Edge.

The module runs as a IoT Edge container named RtspServer. While running the container image, you can publish live streams with RTSP. And read live streams with RTSP.

It can be used as a RTSP source in Azure Video Analyzer on Edge.

This module can be used with the Azure cloud native application WeDX Flow to simplify module management.

Minimum hardware requirements: Linux x64, arm64 and arm32 OS, 1GB of RAM, 500Mb of storage

Features

  • The default stream port of the module is 8554
  • Publish live streams with RTSP(TCP)
  • Read live streams with RTSP(TCP)

Direct methods

  • Restart RTSP server
    • restart : {}

Environment variables

  • Not available

Desired properties

  • Not available

AVA(Azure Video Analyzer) Integration

  • Pipeline Topology sample (RtspSource)
    • "url": "rtsp://{ModuleName}:8554/{StreamName}"

Using VLC player to read stream

  • Shell
    • vlc rtsp://localhost:8554/mystream

Using FFmpeg to publish stream

  • Shell
    • ffmpeg -re -stream_loop -1 -i camera-300s.mkv -c copy -f rtsp -rtsp_transport tcp rtsp://localhost:8554/mystream

https://store-images.s-microsoft.com/image/apps.28861.a123ed6c-bbd0-4f8d-b2c0-fe91ba4364e4.dbfb6aa4-53f9-4978-a02d-7cc5241dde64.d3f0692e-fc05-49c1-a605-c0e0f19dcba8
https://store-images.s-microsoft.com/image/apps.28861.a123ed6c-bbd0-4f8d-b2c0-fe91ba4364e4.dbfb6aa4-53f9-4978-a02d-7cc5241dde64.d3f0692e-fc05-49c1-a605-c0e0f19dcba8
https://store-images.s-microsoft.com/image/apps.308.a123ed6c-bbd0-4f8d-b2c0-fe91ba4364e4.dbfb6aa4-53f9-4978-a02d-7cc5241dde64.d5823565-18bc-4728-ad31-134812147d35