OptiJuegos commited on
Commit
c95879c
·
verified ·
1 Parent(s): caf6b3f

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +3 -3
  2. requirements.txt +2 -1
app.py CHANGED
@@ -8,9 +8,9 @@ from fastapi import FastAPI, Response
8
  app = FastAPI()
9
 
10
  # Archivo de audio y rutas de salida
11
- audio_file = "/app/test.mp3"
12
- hls_output = "/app/stream.m3u8"
13
- hls_segment_prefix = "/app/stream"
14
 
15
  # Comando FFmpeg para transmitir audio en HLS
16
  ffmpeg_command = [
 
8
  app = FastAPI()
9
 
10
  # Archivo de audio y rutas de salida
11
+ audio_file = "/test.mp3"
12
+ hls_output = "/stream.m3u8"
13
+ hls_segment_prefix = "/stream"
14
 
15
  # Comando FFmpeg para transmitir audio en HLS
16
  ffmpeg_command = [
requirements.txt CHANGED
@@ -1,4 +1,5 @@
1
  fastapi==0.79.0
2
  uvicorn==0.18.3
3
  requests==2.28.1
4
- ffmpeg-python==0.2.0
 
 
1
  fastapi==0.79.0
2
  uvicorn==0.18.3
3
  requests==2.28.1
4
+ ffmpeg-python==0.2.0
5
+ watchdog