fpaupier
ca60c46b4c
add: support for docker-compose
...
Copy the .env.example into a .env file, update with your variable run `docker-compose up`
https://github.com/horgh/videostreamer/issues/22
2022-02-21 19:56:25 +01:00
Will Storey
5eadfd6fab
Remove redundant log message
2018-07-23 17:32:58 -07:00
Will Storey
8a470e1b25
Clear input once we destroy it
...
It's possible we could use it still and it would be invalid memory
2018-01-25 20:53:48 -08:00
Will Storey
b06db9baec
Update a comment that referred to the wrong thing
2018-01-23 18:30:25 -08:00
Will Storey
4c857a40fb
Synchronize access to input and client outputs
...
It appears there is a race condition in that we could close the input or
client's output while the packet writer goroutine is still using them.
This could lead to crashes.
This hopefully fixes #6 .
2018-01-23 18:29:18 -08:00
Will Storey
42c330c730
Log error when writing frame fails
...
Also add some log output for when the number of clients change, and when
we open the input. Looking at debugging for issue #2 .
2017-04-08 16:21:08 -07:00
Will Storey
4440856472
Clean up HTML and some comments
2017-01-01 22:56:16 -08:00
Will Storey
1f0df03f36
Give each client its own goroutine for writes
...
This is to avoid the encoder blocking trying to write to the write side
of the pipe when a client is not reading from it quickly enough.
2017-01-01 22:36:09 -08:00
Will Storey
99c3233f69
Be more careful about cleaning up clients
...
Do it if encoder aborts for some reason. Also comment about behaviour of
pipe sides when closed.
2017-01-01 16:34:48 -08:00
Will Storey
99d23dc933
HTTP stream now works. 1 input, multi clients.
...
This refactors to have one output created per client.
2017-01-01 16:21:52 -08:00
Will Storey
37325f57b0
Open input/output separately, and read/write separately
...
This is a refactor of the library API so that we will be able to have
multiple outputs.
2017-01-01 14:58:29 -08:00
Will Storey
1ae87a3c72
Remove audio encoding
...
Also begin refactor of removing 'frames'.
This is now semi functional again. Still only the first client will
work.
2016-12-31 13:31:16 -08:00
Will Storey
7f16d84882
Initial import
...
This works for streaming mp4 from rtsp. But only to the first client as
it is unable to recognize discrete frames correctly. It needs further
work.
2016-12-31 13:12:45 -08:00