Skip to content

snowie2000/udpxy-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UDPXY-Go

UDPXY-Go is a small UDP proxy server written in Go language. It can retrieve specified IGMP video streams and serve them over HTTP.

Features

UDPXY-Go primarily offers the following features:

  • Accept HTTP requests from clients and parse the UDP address contained in the requests.
  • Connect to the remote IGMP server with the corresponding UDP address and retrieve the video stream.
  • Serve the video stream as an HTTP response to the client.

Logic

The client initiates video stream transmission by sending an HTTP GET request to the /udp/<udp-address> path.

For example, accessing /udp/233.50.201.142:5140 retrieves the video stream corresponding to igmp://233.50.201.142:5140.

Usage

First, you need to compile the server:

make build

If you need to build the server for OpenWrt, you can run:

make build-openwrt-amd64 
make build-openwrt-arm 
make build-openwrt-mips

You can find the compiled binary files in the build/ directory.

Then, you can run the server:

./build/udpxy-go

TODO

  • HLS
  • test RTP

About

udpxy go 版本的

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 66.9%
  • Makefile 33.1%