nareix / joy4

Golang audio/video library and streaming server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

packetization-mode = 0 ,好像无法解析

DDDHu opened this issue · comments

commented

a=control:*
b=AS:4106
a=range:clock=20190424T063812Z-20190425T064816Z
m=video 0 RTP/AVP 96
i=Video Media
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=4D0014;packetization-mode=0

me too.
image
image

report panic
panic: runtime error: integer divide by zero

goroutine 1 [running]:
github.com/nareix/joy4/format/mp4.(*Stream).tsToTime(...)
git/gopath/src/github.com/nareix/joy4/format/mp4/stream.go:57
github.com/nareix/joy4/format/mp4.(*Demuxer).ReadPacket(0xc00a7d8b40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x30, 0x11a9fc0)
git/gopath/src/github.com/nareix/joy4/format/mp4/demuxer.go:314 +0x24e