HLS video streaming application with Minio object storage, Kafka, Debezium and FFmpeg.
-
install ffmpeg
-
follow this to setup an authentication service and run it at port 8080
-
run
docker-sompose up -d
-
run commands in
./command.txt
-
run the current project and worker project (at
./worker
) -
goto http://localhost:8080/swagger-ui/index.html#/auth-controller/login and login to get an access token
-
goto http://localhost:8082/swagger-ui/index.html#/storage-controller/upload and upload a mp4 file
-
goto http://localhost:8082/swagger-ui/index.html#/video-controller/create and create a video with the filename in 7. , please copy the video id from response
-
goto http://localhost:8082/swagger-ui/index.html#/video-controller/profile with video id and wait for the video status become READY
-
use http://localhost:8082/api/video/{your_video_id}/index.m3u8 for any HLS player
run mvn test
or ./mvnw test
run
mvn spotless:check
mvn spotless:apply
or
./mvnw spotless:check
./mvnw spotless:apply