Skip to content

Stream sample video and video/pictures from a system camera (proof of concept)

Notifications You must be signed in to change notification settings

tlainez/video-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

video-stream

Stream sample video and video/pictures from a system camera (proof of concept)

Usage:

  1. Start the application by running the main classs com.VideoStreamApplication

  2. Enter the endpoint URL:

Stream specific video file

http://localhost:8080/video-stream/file/{fileType}/{fileName}

  • Parameters:
    • {fileType} e.g. "mp4"
    • {fileName}: video file under 'resources/video' folder

Take a photo using the webcam

http://localhost:8080/video-stream/camPhoto

Stream video from the webcam

http://localhost:8080/video-stream/camVideo

The video size is predefined to 1MB but can be changed by modifyng the constant CHUNK_VIDEO_SIZE The default camera is the first configured on the system and can be changed by modifying the constant DEFAULT_CAMERA

About

Stream sample video and video/pictures from a system camera (proof of concept)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages