Added zerocopy, improved stream robustness and reduced latency

This commit is contained in:
RedNicStone
2026-08-26 11:41:54 +01:00
parent 97ff779911
commit 436808a0d0
22 changed files with 1605 additions and 250 deletions

View File

@@ -1,6 +1,11 @@
extends Node
func _ready() -> void:
#$GDVAPIVideoStream.begin("udp://0.0.0.0:5000")
pass
$GDVAPIVideoStream.queue_depth = 4 # default; proves the property binding
$GDVAPIVideoStream.begin("/tmp/gdvapi_test.sdp")
func _process(_delta: float) -> void:
var tex: Texture2D = $GDVAPIVideoStream.get_texture()
if tex:
if $TextureRect.texture != tex:
$TextureRect.texture = tex