Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simagix/udp_streaming
Simple UDP Unicast Python/Flask server
https://github.com/simagix/udp_streaming
Last synced: 20 days ago
JSON representation
Simple UDP Unicast Python/Flask server
- Host: GitHub
- URL: https://github.com/simagix/udp_streaming
- Owner: simagix
- Created: 2016-03-12T22:56:17.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-18T23:39:30.000Z (almost 9 years ago)
- Last Synced: 2024-11-05T21:42:17.000Z (2 months ago)
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UDP Unicast
Simple UDP Unicast application using Python and Flask.### Installation
```
sudo apt-get install vlc
sudo pip install Flask
```### Start
```
./server.py
```### Test with VLC
On VLC player, open Media->Open Network Stream..., then Network tab. Enter udp://@:1234. On terminal running the server.py
```
curl -X POST http://localhost:5000/streaming/udp//1234/0
```
Or from a browser, http://localhost:5000, select a video and play.
```### Docker Build
```
docker build -t udp-streaming .
```### Run As Docker Service
```
docker run -p 5050:5050 -v $(pwd)/library.repo:/etc/library.repo udp-streaming
```