UDP Camera Description
UDP Camera gets the frames from the device's camera and sends the images via User Datagram Protocol (UDP). It is intended to be used in local WiFi. For it to stream via the Internet, the destination IP address must be public and the UDP port must be open.
This app is intended to be used by:
• computer vision researchers
• robotics students
• tech enthusiasts
• anyone that finds it useful
This app is NOT intended and will probably NOT work for
• live streaming to YouTube
• live streaming to Facebook
• etc.
They require special protocol.
By default, each UDP packet will contain just the bytes of a JPEG file, that is one image from camera.
Packet format can be configured by the user, and can contain:
• Text Strings
• HEX byte values
• Image width (as String / uint8 / uint16 / uint32)
• Image height (as String / uint8 / uint16 / uint32)
• Image data length (as String / uint8 / uint16 / uint32)
• Image data (bytes of the image file)
Image width, height and data length can be sent as:
• String
• uint8
• uint16
• uint32
Image data can be:
• JPEG data
• PNG data
• RGB_888
• GRAY_8 (grayscale, 8 bits per pixel)
• GRAY_4 (grayscale, 4 bits per pixel)
• GRAY_2 (grayscale, 2 bits per pixel)
• GRAY_1 (grayscale, 1 bit per pixel)
Streaming to RoboRemo:
Packet Format
• Text "img " (notice the ending space character)
• Image data length (as String)
• Text "\n"
• Image data (JPEG)
UDP Settings:
• Destination address = IP address of the phone running RoboRemo
• UDP port = UDP port set in RoboRemo
RoboRemo app:
https://play.google.com/store/apps/details?id=com.hardcodedjoy.roboremo&referrer=utm_source%3Dgp_udpcamera
This app is intended to be used by:
• computer vision researchers
• robotics students
• tech enthusiasts
• anyone that finds it useful
This app is NOT intended and will probably NOT work for
• live streaming to YouTube
• live streaming to Facebook
• etc.
They require special protocol.
By default, each UDP packet will contain just the bytes of a JPEG file, that is one image from camera.
Packet format can be configured by the user, and can contain:
• Text Strings
• HEX byte values
• Image width (as String / uint8 / uint16 / uint32)
• Image height (as String / uint8 / uint16 / uint32)
• Image data length (as String / uint8 / uint16 / uint32)
• Image data (bytes of the image file)
Image width, height and data length can be sent as:
• String
• uint8
• uint16
• uint32
Image data can be:
• JPEG data
• PNG data
• RGB_888
• GRAY_8 (grayscale, 8 bits per pixel)
• GRAY_4 (grayscale, 4 bits per pixel)
• GRAY_2 (grayscale, 2 bits per pixel)
• GRAY_1 (grayscale, 1 bit per pixel)
Streaming to RoboRemo:
Packet Format
• Text "img " (notice the ending space character)
• Image data length (as String)
• Text "\n"
• Image data (JPEG)
UDP Settings:
• Destination address = IP address of the phone running RoboRemo
• UDP port = UDP port set in RoboRemo
RoboRemo app:
https://play.google.com/store/apps/details?id=com.hardcodedjoy.roboremo&referrer=utm_source%3Dgp_udpcamera
Open up