Update docs for HLS descriptor fields

These fields are no longer required, and have sensible defaults.

Change-Id: I35bd489c8e6058f3272210cb6f3b0f504819e7c0
This commit is contained in:
Joey Parrish 2017-10-17 10:59:58 -07:00
parent e889578a2d
commit e2bb22c633
2 changed files with 14 additions and 15 deletions

View File

@ -3,16 +3,16 @@ HLS specific stream descriptor fields
:hls_name: :hls_name:
Required for audio when outputting HLS. name of the output stream. This is Used for HLS audio to set the NAME attribute for EXT-X-MEDIA.
not (necessarily) the same as output. This is used as the NAME attribute for Defaults to the base of the playlist name.
EXT-X-MEDIA.
:hls_group_id: :hls_group_id:
Required for audio when outputting HLS. The group ID for the output stream. Used for HLS audio to set the GROUP-ID attribute for EXT-X-MEDIA.
This is used as the GROUP-ID attribute for EXT-X-MEDIA. Defaults to 'audio' if not specified.
:playlist_name: :playlist_name:
Required for HLS output. Name of the playlist for the stream. Usually ends Used for HLS to name the playlist for the stream. Usually ends
with '.m3u8'. with '.m3u8'. If unspecified, defaults to something of the form
'stream_0.m3u8', 'stream_1.m3u8', 'stream_2.m3u8', etc.

View File

@ -85,14 +85,13 @@ const char kUsage[] =
" - trick_play_factor (tpf): Optional value which specifies the trick\n" " - trick_play_factor (tpf): Optional value which specifies the trick\n"
" play, a.k.a. trick mode, stream sampling rate among key frames.\n" " play, a.k.a. trick mode, stream sampling rate among key frames.\n"
" If specified, the output is a trick play stream.\n" " If specified, the output is a trick play stream.\n"
" - hls_name: Required for audio when outputting HLS.\n" " - hls_name: Used for HLS audio to set the NAME attribute for\n"
" name of the output stream. This is not (necessarily) the same as\n" " EXT-X-MEDIA. Defaults to the base of the playlist name.\n"
" output. This is used as the NAME attribute for EXT-X-MEDIA.\n" " - hls_group_id: Used for HLS audio to set the GROUP-ID attribute for\n"
" - hls_group_id: Required for audio when outputting HLS.\n" " EXT-X-MEDIA. Defaults to 'audio' if not specified.\n"
" The group ID for the output stream. This is used as the GROUP-ID\n" " - playlist_name: Used for HLS to name the playlist for the stream.\n"
" attribute for EXT-X-MEDIA.\n" " Usually ends with '.m3u8'. If unspecified, defaults to something of\n"
" - playlist_name: Required for HLS output.\n" " the form 'stream_0.m3u8', 'stream_1.m3u8', 'stream_2.m3u8', etc.\n";
" Name of the playlist for the stream. Usually ends with '.m3u8'.\n";
enum ExitStatus { enum ExitStatus {
kSuccess = 0, kSuccess = 0,