Skip to content

usb2sock.c: stream goggles video out to vlc or the network #109

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

davidhubbard
Copy link

macOS utility for sharing Goggles v1/v2 on laptops

This adds usb2sock. It does the job of translating the video stream from
the usb cable to a network connection such as what vlc can display.

See instructions in usb2sock.c: download libusb, build it, compile
the usb2sock.c file into a standalone command-line binary, run it,
open VLC and Open Networking, paste this MRL: tcp/h264://127.0.0.1:18080

Then plug in the goggles.

This updates the code so it compiles cleanly under Android S, which
amounts to adding android:exported="true" to AndroidManifest.xml and
PendingIntent.FLAG_IMMUTABLE to PendingIntent.getBroadcast(flags = 0)
This adds `usb2sock`. It does the job of translating the video stream from
the usb cable to a network connection such as what vlc can display.

See instructions in usb2sock.c: download libusb, build it, compile
the usb2sock.c file into a standalone command-line binary, run it,
open VLC and Open Networking, paste this MRL: tcp/h264://127.0.0.1:18080

Then plug in the goggles.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant