mirror of
https://github.com/Monibuca/plugin-hdl.git
synced 2025-10-28 18:52:04 +08:00
对hasAudio的修复
This commit is contained in:
2
main.go
2
main.go
@@ -53,7 +53,7 @@ func HDLHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
WriteEcmaArray(&buffer, amf.Object{
|
WriteEcmaArray(&buffer, amf.Object{
|
||||||
"MetaDataCreator": "monibuca",
|
"MetaDataCreator": "monibuca",
|
||||||
"hasVideo": true,
|
"hasVideo": true,
|
||||||
"hasAudio": true,
|
"hasAudio": s.AudioInfo.SoundFormat>0,
|
||||||
"hasMatadata": true,
|
"hasMatadata": true,
|
||||||
"canSeekToEnd": false,
|
"canSeekToEnd": false,
|
||||||
"duration": 0,
|
"duration": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user