New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for network and fflush to decrease latency. #248
Conversation
Would it be possible to use the same bracketing style as the rest of the code please (Allman). |
Regularly calling fflush will reduce performance for the usual case (writing to sdcard) where we don't care about latency. |
I'd suggest it would be worth putting the fflush as an optional parameter On 24 June 2015 at 12:41, popcornmix notifications@github.com wrote:
|
Sorry to come back so late, I forgot about this PR. I fixed the braces and made optional switch to enable flushing. In case of other issues feel free to write me. |
Sorry, I used tabs in vim. Fixed it. |
@popcornmix Done, is it OK? |
Yeah, I prefer tabs and I'm very accustomed to using them. Sorry. |
Using "f" as the short command line parameter conflicts with the preview -f On 23 August 2015 at 20:56, Martin Habovštiak notifications@github.com
|
Content looks fine to me other than James having picked up on the clash of -f in the option. |
@JamesH65 I didn't know that options should be conflict-free across different tools. I just changed it to -fl, as you suggested. |
They are not different tools, as things like RaspiPreview are used across On 24 August 2015 at 22:36, Martin Habovštiak notifications@github.com
|
@JamesH65 OK, thanks for explanation! |
Added support for network and fflush to decrease latency.
These changes allow users to stream video directly over network with lower latency (bypassing pipes and buffers). If file name has format tcp://host:port then TCP connection to host:port is opened. Similarly if udp:// is used, UDP packets with data are sent to host:port.