Skip to content

cgang/rtp2http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple RTP/UDP to HTTP relay server

This is a very simple RTP/UDP to HTTP relay server written in pure golang, it provides similar function and API like udpxy, such as:

http://<ip>:<port>/udp/[multicast_address]
http://<ip>:<port>/rtp/[multicast_address]

The memory footprint (Resident Set Size) is under 10MB since the IO buffer is reused. Only MPEG-TS (UDP or RTP) is supported right now. This program is intended to run on Linux platform only.

Options

There are some options for this program.

  • -m <interface> required parameter to specify the multicast interface.
  • -a <address> optional parameter to specify HTTP listen address, default to 127.0.0.1
  • -p <port> optional parameter to specify HTTP listen port, default to 4022

TODOs

  • Support for other stream type
  • Support the status page
  • Support for IPv6
  • Daemonize this program? maybe, since we can use systemd

Non Goals

  • Support for HTTPS, since this is not need at home
  • Support for non-Linux platform

License

This program is released under MIT license, see LICENSE for detail.

About

A simple RTP/UDP to HTTP relay server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published