File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ jobs:
120120
121121 - name : Setup FFmpeg
122122 uses : FedericoCarboni/setup-ffmpeg@v3
123+ id : setup-ffmpeg
123124
124125 - name : Wait for services to start
125126 run : |
@@ -141,7 +142,8 @@ jobs:
141142
142143 # Use ffprobe to check stream properties
143144 echo "Checking stream properties with ffprobe..."
144- timeout 30 ffprobe -v quiet -print_format json -show_streams rtmp://localhost:1935/live/stream > stream_info.json 2>/dev/null || {
145+ echo "Using ffprobe from: ${{ steps.setup-ffmpeg.outputs.ffmpeg-path }}/ffprobe"
146+ timeout 30 "${{ steps.setup-ffmpeg.outputs.ffmpeg-path }}/ffprobe" -v quiet -print_format json -show_streams rtmp://localhost:1935/live/stream > stream_info.json 2>/dev/null || {
145147 echo "Stream not available yet, checking container logs..."
146148 docker logs stream-webpage
147149 docker logs $(docker ps -q --filter ancestor=tiangolo/nginx-rtmp)
You can’t perform that action at this time.
0 commit comments