Search found 2 matches

Go to advanced search

by dhruvbird
03 May 2013 09:26
Forum: Scripting VLC in lua
Topic: Register a callback for new data available on a socket
Replies: 0
Views: 732

Register a callback for new data available on a socket

Hello! So, I'm trying to create a plugin that listens for data on a tcp socket and once it has some data, displays that on the OSD. However, I need to wait for data on the socket using the poll() method, and because of that, VLC thinks that the plugin has crashed. Please can you suggest a better way...
by dhruvbird
03 May 2013 09:21
Forum: Scripting VLC in lua
Topic: how to perform non-blocking net.listen_tcp
Replies: 6
Views: 3254

Re: how to perform non-blocking net.listen_tcp

> or put the polling in a periodically-triggered event instead.

What is this "periodically-triggered event" that you speak of? Is there a timer interrupt available to hook on to?

Go to advanced search