add H265 decoder and encoder (#154)

This commit is contained in:
Alessandro Ros
2022-11-15 23:01:26 +01:00
committed by GitHub
parent a7e222d3e6
commit 9795e9175a
12 changed files with 781 additions and 29 deletions

View File

@@ -52,7 +52,7 @@ func main() {
// called when a RTP packet arrives
c.OnPacketRTP = func(ctx *gortsplib.ClientOnPacketRTPCtx) {
// decode an LPCM packet from the RTP packet
// decode LPCM samples from the RTP packet
op, _, err := dec.Decode(ctx.Packet)
if err != nil {
return