Skip to content

Olex1313/strmr

Repository files navigation

strmr

Config:

ENV YAML Meaning Example
CLIENT_ADDR client.addr rtsp url to client stream "rtsp://192.168.1.66:8554/live"
CLIENT_RECONNECT_PAUSE client.reconnect-pause Max timeout to client reconnection process in ms 20000
CLIENT_RECONNECT_INTERVAL client.reconnect-interval Time between reconnect attempts in ms 1000
SERVER_TCP_PORT server.tcp-port Server tcp port for rtsp streaming [DEFAULT] :8554
SERVER_UDP_PORT server.udp-port Server udp port for rtsp streaming [DEFAULT] None
SERVER_UDP_RTCP_PORT server.udp-rtcp-port Server udp port for rtcp streaming [DEFAULT] None

The only required properties are CLIENT_ADDR and CLIENT_RECONNECT_PAUSE, if you don't specify server values the defaults are used

Note that the ports are specified with : prefix

If you need to use TCP transport, specify only SERVER_TCP_PORT, otherwise for UDP you need both SERVER_UDP_PORT and SERVER_UDP_RTCP_PORT

How to use:

  1. Run make build to compile strmr executable file
  2. Put config file to configs/conf.yaml relative to executable file path or specify with flag --config
  3. Run executable ./strmr --config your-conf.yaml

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published