Commit Graph

10 Commits

Author SHA1 Message Date
Scott 0a79ac3474 Fixed mjpeg extract.go returning errors when it should not. 2020-01-09 16:03:52 +10:30
Saxon d0e356314d codec/mjpeg/jpeg.go: moved get24 to bottom of file and gave comment. 2020-01-07 13:06:56 +10:30
Saxon ef699451d5 codec/mjpeg: renamed Ctx type to Context and name value of this type ctx instead of c 2020-01-03 19:38:30 +10:30
Saxon 657ed2f277 codec/mjpeg/jpeg.go: renamed ParseScan to ParsePayload, updated call and comment 2020-01-03 17:15:06 +10:30
Saxon db0e292507 codec/mjpeg/extract.go: simplified error message when can't get RTP payload 2020-01-03 17:15:06 +10:30
Saxon 341af70d81 codec/mjpeg/jpeg.go: fixed indentation on file header 2020-01-03 17:15:06 +10:30
Saxon e1e890d49e codec/mjpeg/extract.go: corrected comment for Extractor.dst field 2020-01-03 17:15:06 +10:30
Saxon 398543ac8e codec/mjpeg: tidying up
Separated my code from code that was ported from ffmpeg (differen copyright). Also added utils.go file to house the putBuffer and bytestream types. Reduced copying and use of bytes.Buffer.
Instead expanded putBuffer functionality so that I can use this throughout process (reduce copying from buffer to buffer).
2020-01-03 17:15:06 +10:30
Saxon 2d824707ee Fixed bugs, now working 2020-01-03 17:15:06 +10:30
Saxon f0f401ab8c codec/mjpeg/extract.go: wrote Extractor type
Wrote extractor type that provides an Extract function to extract JPEG frames from an RTP/MJPEG stream and writes them to a destination.
2020-01-03 17:15:05 +10:30