Remote VLC via TCP/IP

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
burney
New Cone
New Cone
Posts: 1
Joined: 17 Oct 2013 21:01

Remote VLC via TCP/IP

Postby burney » 17 Oct 2013 21:12

Hi all,
if now read through the related posts regarding remote control of VLC via TCP/IP but I didn't get any further with my issue: As part of a research project, I would like to send a "play" command over TCP/IP using E-Prime (research software for stimulus presentation), which is based on a derivate of Visual Basic. The Software can send Strings over TCP-Sockets and I use the following code:

Code: Select all

'define socket Set vlc = New SocketDevice vlc.Name = "vlc" 'define socket properties Dim vlcInfo As SocketDeviceInfo vlcInfo.Server = "192.168.1.25" vlcInfo.Port = 2000 vlcInfo.SocketType = ebProtocolTcp vlcInfo.ByteOrdering = ebByteOrderingLittleEndian 'open Socket vlc.Open vlcInfo
VLC-PC: 192.168.1.25
Remote-PC running E-Prime: 192.168.1.26

I configured VLC by enabling the Remote Control Interface and setting the RC listening port to 192.168.1.25:2000

However, whenever I run the E-Prime script, it states that it isn't able to connect. I also tried using telnet to connect to the RCI, but it just refused the connection.

Could you give me any advice on how to proceed?

Thanks!

burney

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 25 guests