Skip to content

Commit ff0990e

Browse files
bug fixes
1 parent c8c24dd commit ff0990e

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ import ffmpeg_streaming
290290
.live('http://YOUR-WEBSITE.COM/live-stream/out.m3u8', progress=progress)
291291
)
292292
```
293-
**NOTE:** In the HLS streaming method, you should pass the master playlist to your player. So you should upload the master manifest to your server as well as other files.
293+
**NOTE:** In the HLS method, you must upload the master manifest to the server manually. (Upload the `/var/www/stream/live-master-manifest.m3u8` file to the `http://YOUR-WEBSITE.COM`)
294294

295295
Please see **[FFmpeg Protocols Documentation](https://ffmpeg.org/ffmpeg-protocols.html)** for more information.
296296

ffmpeg_streaming/media.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,9 @@ def _save_hls_master_playlist(output, master_playlist_path, dirname, name):
4747
if master_playlist_path is None:
4848
raise ValueError("You must specify a path for master playlist")
4949
playlist_path = master_playlist_path
50-
manifests = dirname + "/" + name
5150
else:
5251
playlist_path = dirname + "/" + name + ".m3u8"
53-
manifests = name
54-
export_hls_playlist(playlist_path, manifests, Export.reps)
52+
export_hls_playlist(playlist_path, name, Export.reps)
5553

5654

5755
class Export(object):

0 commit comments

Comments
 (0)