Valentin Vidic
99e4412937
Add option for limiting output frame rate
2 months ago
Valentin Vidic
080a9912dc
Split chunker and pubsub into separate files
2 months ago
Valentin Vidic
528af7e31b
Add option for reading client address from header
2 months ago
Valentin Vidic
db7fa45834
Try to limit TCP send buffer size ( Fixes #4 )
2 months ago
Valentin Vidic
ea35a10517
Cleanup Unix socket handling
2 months ago
Jeremy Kescher
b7f4579b4f
Serve from socket instead of Internet Protocol (useful if behind frontend proxy)
3 months ago
Valentin Vidic
c1f341f795
Cleanup leftover append call ( Fixes #5 )
3 months ago
Valentin Vidic
6920c7b6ad
Add flag for delaying the stop of chunker
7 months ago
Valentin Vidic
3a039eef83
Use struct{} for unused map values
7 months ago
Valentin Vidic
2ec752c4a7
Cleanup flag descriptions
7 months ago
Valentin Vidic
0d09cd40ca
Add flag for limiting CPU usage
7 months ago
Valentin Vidic
f23d9eceb5
Cleanup response handling
7 months ago
Valentin Vidic
0f00b2f05c
Cleanup logging
7 months ago
Jeremy Kescher
6b8732245c
url -> path
A URL usually contains a hostname, and, optionally, a path. However, this variable (and config option) only stands for the path within the URL.
Also, this fixes a prior mistake I did while renaming flags and forgetting to rename them back before submitting my PR.
7 months ago
Valentin Vidic
273465c4f3
Rename config file for sources
7 months ago
Valentin Vidic
fb82bb45b2
Keep logging lowercase
7 months ago
Valentin Vidic
c2c9f6cd0e
Use mime/multipart to write responses
7 months ago
Jeremy Kescher
a06e03d83f
pubsub -> pubSub, Close() error handling, copyright header update
7 months ago
Valentin Vidic
366abebf45
Use mime/multipart to read jpeg data
7 months ago
Valentin Vidic
9ba617214e
Use mime package to find boundary string
7 months ago
Valentin Vidic
19abc246eb
Fix error output
7 months ago
Valentin Vidic
7010c1bd9c
Add configuration file for sources
7 months ago
Valentin Vidic
22cd9415ea
Try to check if source url is valid
7 months ago
Valentin Vidic
206e7ee0e4
Make chunker a separate object
7 months ago
Valentin Vidic
75d2ec7796
Make PubSub object implement http.Handler
7 months ago
Valentin Vidic
ef4254a75c
Cleanup pubsub logging
7 months ago
Valentin Vidic
867ae396ab
Cleanup main function
7 months ago
Valentin Vidic
9829403d30
Cleanup chunker function
7 months ago
Valentin Vidic
ee0104ada9
Cleanup readChunkData function
7 months ago
Jeremy Kescher
158fa255d9
permissive Content-Type checking, remove boundary checks, gofmt
as some webcams are dumb (as those by AXIS are), they will send the first packet with boundary, the following without.
7 months ago
Valentin Vidic
2246c6589b
Better handling of errors on source stream
4 years ago
Valentin Vidic
c6b1d23d8e
Initial version.
5 years ago