pullhttpflv demo support save flv file

pull/236/head
ZSC714725 2 years ago
parent a9bd1cb692
commit 9548549a68

@ -39,6 +39,8 @@ func main() {
return
}
defer flvfile.Close()
session := httpflv.NewPullSession()
err = session.Pull(url, func(tag httpflv.Tag) {
if tag.Header.Type == httpflv.TagTypeMetadata {

Loading…
Cancel
Save