rteammco / streaming-udp-video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streaming UDP Video

This is a simple video streaming application. The sender captures video frames from a webcam using OpenCV, and sends the frames to the receiver over UDP. The frames are compressed in JPEG format and optionally downsampled to reduce the data payload. The receiver decodes the JPEG data and displays the video frame in a GUI window (also using OpenCV).

Requires OpenCV 2. Works on OS X and Linux.

TODO

  • Test the build on Linux.
  • UDP packets that are too large won't be delivered. Split up frame packets that exceed a certain size limit.
  • There is currently no security, and anyone can send a packet to the receiver, whether it's a video frame or not. Implement a protocol that adds some security and ensures the incoming data is valid. Possibly encrypt the video.
  • Test sending video across a large physical distance over the Internet.
  • Define a clean API so the UDP video streaming can be plugged in to other applications.
  • Add support from Windows (it uses a different socket library).

About

License:Other


Languages

Language:C++ 89.7%Language:CMake 10.3%