What can stream objects do?
Posted: 25 May 2012 01:07
According to the lua readme, vlc.stream() objects can be opened, read, and filtered(?).
If you neglect to read for a while, does a buffer fill to capacity and error out, or grow and eat memory?
Can they be closed or polled?
Are streams a subclass of something with more methods?
If they don't have a close method, can the garbage collector take care of them if you set the variable to nil?
I'm mainly interested in closing a stream, but the rest would be handy to know.
If you neglect to read for a while, does a buffer fill to capacity and error out, or grow and eat memory?
Can they be closed or polled?
Are streams a subclass of something with more methods?
If they don't have a close method, can the garbage collector take care of them if you set the variable to nil?
I'm mainly interested in closing a stream, but the rest would be handy to know.