Coder Social home page Coder Social logo

Comments (6)

ddetommaso avatar ddetommaso commented on June 25, 2024

Hi @bwang514,
you are right, the code works only using IPv4 address.
I wasn't able to access any video streaming of the glasses with IPv6 address, even using VLC software.

What about your experience? Did you try to access the /live/scene using IPV6?

from tobiiglassespycontroller.

FranzAlbers avatar FranzAlbers commented on June 25, 2024

Hey @bwang514,
i experienced the same issue while trying to stream the scene camera video.
I solved it by adding port 8554 to the call, which is mentioned in the tobii developers guide.

cap = cv2.VideoCapture("rtsp://%s:8554/live/scene" % ipv4_address)

from tobiiglassespycontroller.

ddetommaso avatar ddetommaso commented on June 25, 2024

Hi @FranzAlbers,

this doesn't work for me. In your example, are you using IPv6 or IPv4 address ?
Please can you paste here the complete URI provided as argument to the VideoCapture?

from tobiiglassespycontroller.

FranzAlbers avatar FranzAlbers commented on June 25, 2024

I am using an IPv4 address and the Tobii Glasses are connected via Ethernet. I couldn't access the stream using IPv6 either. The complete line of code would be:

cap = cv2.VideoCapture("rtsp://192.168.0.121:8554/live/scene")

Without the port in the URI the connection is refused. The glasses are on 1.25.3-citronkola.

from tobiiglassespycontroller.

ddetommaso avatar ddetommaso commented on June 25, 2024

Hi @FranzAlbers,

thank you so much for your feedback. I run successfully the video streaming with LAN using IPv4!!
I will change the code and the documentation in the following releases, before closing the issue.

Just to clarify, IPv4 with LAN is feasible only if a DHCP server is present in the network. In your example, the "192.168.0.121" is the address that the glasses receives from the DHCP server present in your network.

@bwang514: Did you try setting a DHCP server in your network and adding the port in the URI as suggested by @FranzAlbers ?

from tobiiglassespycontroller.

ddetommaso avatar ddetommaso commented on June 25, 2024

closed eec39d1

from tobiiglassespycontroller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.