Streampunk / grandiose

Node.JS native bindings to Newtek NDI(tm).
Apache License 2.0
189 stars 48 forks source link

Data stops coming #30

Open dortanes opened 1 year ago

dortanes commented 1 year ago

I discovered another problem: if the connection is bad, data stops coming (data(), video(), audio()). Promise in data() runs endlessly. video() and audio() is going to timeout and isn't returning any data.

ZaynSiv09 commented 1 year ago

I discovered another problem: if the connection is bad, data stops coming (data(), video(), audio()). Promise in data() runs endlessly. video() and audio() is going to timeout and isn't returning any data.

That's true, so I hope to terminate these objects through a "destory()" method and let them be GC, which has been bothering me for a long time