mirror of https://bitbucket.org/ausocean/av.git
da5fdccaf3
Currently time calculations in the mts encoder are based on the premise that each mpegts packet is a 'frame', and in the rtp encoder that each encoding of multiple packets into one rtp packet is a 'frame', these are both false. Mpegts encoding and rtp encoding should do timestamp calculations using a reasonable approximation of time at encoding/send. |
||
---|---|---|
.. | ||
encoder.go | ||
rtp.go | ||
rtp_test.go |