-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to stream video #3
Comments
Hi @bwang514, What about your experience? Did you try to access the /live/scene using IPV6? |
Hey @bwang514,
|
Hi @FranzAlbers, this doesn't work for me. In your example, are you using IPv6 or IPv4 address ? |
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:
Without the port in the URI the connection is refused. The glasses are on 1.25.3-citronkola. |
Hi @FranzAlbers, thank you so much for your feedback. I run successfully the video streaming with LAN using IPv4!! 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 ? |
closed eec39d1 |
Hi ddetommaso, thanks for sharing the code to control tobii glasses!
With your code I can stream the gaze data now but I failed to stream the scene camera video.
I got an error in this line of code.
ipv4_address = "192.168.71.50"
cap = cv2.VideoCapture("rtsp://%s/live/scene" % ipv4_address)
Does using ipv4 address here means the code can only work with wifi connection?
Since in streaming code we seem to use ipv6 I . (e.g. fe80::76fe:......)
Thanks!
The text was updated successfully, but these errors were encountered: