vzakharchenko / rtsp-samsung-tv

Display RTSP streams from IP Cameras on Samsung Smart TV (Tizen TV)
Apache License 2.0
97 stars 23 forks source link

[SUGGESTION] "zero-copy" for better latencies #30

Open MarcoRavich opened 1 year ago

MarcoRavich commented 1 year ago

Hi there, 1st of all thanks for your (voluntary) work !

According to many - if not all - devs, the best approach to reduce latencies is to bypass the video buffering and implement the so-called "zero-copy" 'cause, according to @iEvgeny (the author of best-latencies multi-RTSP player CCTV Viewer): "the absence of video buffering, which is in every player and introduces a significant delay up to several tens of seconds. In addition, the new implementation uses the Zero-copy rendering method whenever possible."

...maybe the @alexeyvasilyev's rtsp-client-android lib could be - more easily ? - "ported" on Tizen too...

Last but not least, in order to push the "IP video-streams' players" evolution, we've collected/doxed some interesting projects (yours too) in our HyMPS project (under a dedicated page) and recently opened a discussion about "near-zero latency multiple (IP) video-streams playing" to stimulate the discussion/knowledge-share on the topic between developers/maintainers. Check it out.

Hope that inspires !

homeautomaton commented 1 year ago

Interesting info. I've been looking at other options to eliminate the re-streaming in my clone of this project.

vzakharchenko seems to be MIA.

My cloned project, https://github.com/homeautomaton/ethervue, adds audio and PTZ control. It's presently in a state of flux, as I have yet to remove the "add camera" web-based GUI option, when now all configuration is done by editing a .json file. I need to add a lot of documentation, too.