Commit Graph

30 Commits

Author SHA1 Message Date
Saxon f64c986efc codec: corrected error handling in lexers 2020-01-20 15:03:49 +10:30
Saxon fdf393566a codec/h265/lex_test.go: adapted test for changes to error lex can return 2020-01-17 16:41:12 +10:30
Saxon a26777b697 codec/h264&h265/lex.go: returning errors even if io.EOF, and not bothering to return what's currently in buffer if error 2020-01-17 16:07:10 +10:30
Scott e116e197ae Changed all %v's to %w's where appropriate 2019-12-04 14:12:20 +10:30
Saxon 970a445ca4 codec/h265/lexer.go & protocol/rtp/client.go: fixed lexer and rtp client.
The lexer had a bug which is now fixed, and the RTP client is no longer looking for SSRC
in rtp.NewClient (which means we miss a packet).
2019-05-20 20:49:50 +09:30
Saxon 0567a81757 codec/h265: removed unnecessary allocation in handle fragmentation 2019-05-19 21:14:41 +09:30
Saxon abd41d9f01 codec/h265/lex_test.go: fixed TestLex to account for previous changes 2019-05-19 20:45:26 +09:30
Saxon a2d1b09e92 codec/h265: fixed lexer to get nal header into start of fragment
Now getting the nal header and type from fu header for the first fragment. We can now
lex and create HEVC MTS to RTP - working fine. Need to use RTCP now to continue stream.
2019-05-19 17:21:41 +09:30
Saxon 92d4c5f79a container/mts/encoder.go: generalising stream id logic 2019-05-16 16:41:52 +09:30
Saxon 8a44b10864 codec/h265/lex.go: fixed indentation in file header 2019-05-11 21:26:42 +09:30
Saxon 1fb4381b8e codec/lex/lex_test.go: rtpRead.Read() checks for incomplete reads of packets buffer and resizes accordingly 2019-05-09 14:35:21 +09:30
Saxon c31c76e1f5 codec/h265/lex.go: renamed marker to markerIsSet 2019-05-09 14:15:11 +09:30
Saxon 31d756fef2 codec/h265/lex_test.go: corrected comment for TestLex 2019-05-09 12:10:46 +09:30
Saxon ef16a82edb codec/h265/lex_test.go: for rtpReader.Read() getting number of bytes read from copy and using that in return 2019-05-09 12:09:54 +09:30
Saxon e44d936315 codec/h265: got rid of _d in handleFragmentation 2019-05-09 12:07:46 +09:30
Saxon 6435b3c55f codec/h265: using idx++ rather than idx += 1 in handleAggregation 2019-05-09 12:03:40 +09:30
Saxon 149f91f44d codec/h265: fixed handleAggregation func comment 2019-05-09 12:03:06 +09:30
Saxon 461533199d codec/h265: renamed RTP marker from m to marker 2019-05-09 12:02:23 +09:30
Saxon 449f8bf151 codec/h265: commented 'do nothing' on nil read error in Lex 2019-05-09 12:01:05 +09:30
Saxon 382acb54cf codec/h265: updated comment for NewLexer 2019-05-09 12:00:17 +09:30
Saxon 7dc2bdfded codec/h265: added package comment 2019-05-09 11:59:20 +09:30
Saxon 85ece7d1ed codec/h265: using bytes.Buffer instead of custom solution 2019-05-02 00:48:57 +09:30
Saxon 659be05a1f codec/h264: using table based testing, and now also testing for when DON is being used. 2019-05-02 00:15:24 +09:30
Saxon a11b5b4857 codec/h265: fixed lex_test.go file header 2019-05-01 23:20:25 +09:30
Saxon 80ed0d2e1c codec/h265: made test data more compact. 2019-05-01 23:19:16 +09:30
Saxon c15894dc12 codec/h265: completed lex_test.go and fixed bugs in lex.go 2019-05-01 16:45:22 +09:30
Saxon 90995dff6a codec/h265: removed h265_test.go 2019-05-01 13:45:32 +09:30
Saxon 90533d08f4 codec/h265: added lex_test.go 2019-05-01 13:45:08 +09:30
Saxon 2da0a7d39a codec/h265: implemented handleFragmentation 2019-04-30 18:08:41 +09:30
Saxon 299b13b691 codec/h265: started writing lexer
Started writing lexer for h265. Wrote type Lexer as we required a data struct we can initialize before starting the lexing process, with for example, information regarding the presense of DONL and
DOND. Wrote handler for aggregation packet. Still need to do fragmentation packet.
2019-04-30 16:38:23 +09:30