mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #304, rewrite hls/ts code, support h.264+mp3 for hls. 2.0.117.
This commit is contained in:
parent
3c813847bd
commit
922150b2cf
8 changed files with 54 additions and 10 deletions
|
@ -492,6 +492,13 @@ vhost with-hls.srs.com {
|
|||
# @remark the hls_mount must endswith .m3u8.
|
||||
# default: [vhost]/[app]/[stream].m3u8
|
||||
hls_mount [vhost]/[app]/[stream].m3u8;
|
||||
# the default audio codec of hls.
|
||||
# when codec changed, write the PAT/PMT table, but maybe ok util next ts.
|
||||
# so user can set the default codec for mp3.
|
||||
# the available audio codec: aac, mp3
|
||||
# default: aac
|
||||
# TODO: FIXME: update wiki for it.
|
||||
hls_acodec aac;
|
||||
}
|
||||
}
|
||||
# the vhost with hls disabled.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue