mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-27 21:42:01 -08:00
hls muxer: fix timezone
This commit is contained in:
parent
2b6ce9bc59
commit
d6e3bbb08b
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ func (p *muxerStreamPlaylist) reader() io.Reader {
|
|||
cnt += "\n"
|
||||
|
||||
for _, s := range p.segments {
|
||||
cnt += "#EXT-X-PROGRAM-DATE-TIME:" + s.startTime.Format("2006-01-02T15:04:05.999+07:00") + "\n" +
|
||||
cnt += "#EXT-X-PROGRAM-DATE-TIME:" + s.startTime.Format("2006-01-02T15:04:05.999Z07:00") + "\n" +
|
||||
"#EXTINF:" + strconv.FormatFloat(s.duration().Seconds(), 'f', -1, 64) + ",\n" +
|
||||
s.name + ".ts\n"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue