Comments (6)
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.
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.
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.
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.
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.
closed eec39d1
from tobiiglassespycontroller.
Related Issues (20)
- Differences between git and pip version
- Error 400 Bad Request when creating new Recording
- Using quit() is unfriendly to external apps HOT 2
- `__init__` hangs forever on bad connection HOT 2
- ConnectionError is python3 only
- The calibration of tobii HOT 3
- TobiiGlassesController and Labstreaming Layer Example HOT 1
- live_scene Execution error HOT 6
- Tobii glasses data transfer in ROS !! HOT 15
- How to Install - 2 errors HOT 1
- IPV6 Video Support HOT 2
- 'calibrate_and_record.py' Data storage format HOT 5
- error:: pip install tobiiglassesctrl HOT 1
- I have 'time stamp error' in Pysuite CSV HOT 1
- Questions about the hardware version in the source code. HOT 2
- Tobii Pro Glasses 3 HOT 2
- issue sock.setsockopt - suggested correction HOT 2
- Would this work on Tobii Glasses 3? HOT 1
- Can we just depend on any `opencv-python` version (or none at all) ? HOT 1
- IPV6 address HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tobiiglassespycontroller.