Saxon
722ddc6ccb
codec/h264/lex_test.go: added test for RTPLexer.Lex(...) and also fixed some build errors
2019-05-22 14:49:25 +09:30
Saxon
ceb15e53c3
codec/h264/lex.go: wrote lexer for lexing h264 access units from RTP stream
2019-05-22 12:23:29 +09:30
Saxon
c0b5724ea7
Merge branch 'master' into h264-rtp-lexer
2019-05-22 11:10:03 +09:30
Saxon
980cf8da21
codec: H264 and MJPEG lexers now using codecutil package for byte scanner functionality
2019-05-22 11:07:39 +09:30
Saxon
91d2697a55
revid: general clean up
2019-05-21 01:48:29 +09: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
819b4a122f
codec/h264: renamed Lex to LexFromBytestream
2019-05-19 21:44:23 +09:30
Saxon
f52acc7efb
codec/h264: fixed comment for Lex
2019-05-19 21:38:05 +09:30
Saxon Milton
eaba622909
Merged in separate-codecs (pull request #188 )
...
codec: created h264 and mjpeg packages to house lexers
Approved-by: Alan Noble <anoble@gmail.com>
2019-05-19 11:46:33 +00:00
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
Trek H
5e4a2fb866
adpcm: naming
2019-05-17 00:58:40 +09:30
Trek H
a6d6a22b82
adpcm: changed enc and dec to use io.Writer as dst
...
also reordered encoder and decoder functions and remove old block consts
2019-05-17 00:52:36 +09:30
Saxon
92d4c5f79a
container/mts/encoder.go: generalising stream id logic
2019-05-16 16:41:52 +09:30
Saxon Milton
6b64314d71
Merged in h265-lexer (pull request #189 )
...
codec/h265: h265 lexer and testing
2019-05-13 07:41:17 +00:00
Saxon
8a44b10864
codec/h265/lex.go: fixed indentation in file header
2019-05-11 21:26:42 +09:30
Saxon
83c0a1464f
codec/codecutil: fixed file names in file headers and add package comment.
2019-05-10 14:39:47 +09:30
Saxon
ae8ced3a19
codec/codecutil: byte-scanner.go -> bytescanner.go and byte-scanner_test.go -> bytescanner_test.go
2019-05-10 13:55:32 +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
cbbe74b34a
codec/codecutil/byte-scanner.go: renamed Scanner type to ByteScanner
2019-05-09 13:51:59 +09:30
Saxon
0effbae4f6
codec: renamed codeutils to codecutil
2019-05-09 13:48:33 +09:30
Saxon
d703038b75
codec/codecutils: removed intermmediate directory bytescan, and renamed scanner.go to byte-scanner and scanner_test.go to byte-scanner_test.go
2019-05-09 13:47:52 +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
Trek H
29e49a7a1c
adpcm, pcm: updated documentation
2019-05-08 20:04:40 +09:30
Trek H
9fadb47902
adpcm: naming and documentation
2019-05-06 18:02:17 +09:30
Trek H
0570d7823d
adpcm: using consts where needed
2019-05-06 17:56:34 +09:30
Saxon
478db11ecc
codec: file descriptions under file header so that they are put in godoc
2019-05-06 15:47:51 +09:30
Trek H
c27a726831
adpcm: updated BytesOutput function to account for padding
2019-05-05 18:46:03 +09:30
Trek H
60d789e697
adpcm: updated tests to use new test files
2019-05-05 18:08:50 +09:30
Saxon
314a8dab9a
codec: updated commenting and file header descriptions for files in h265 and mjpeg packages
2019-05-03 19:52:23 +09:30
Saxon
2f733cc468
codec: added codecutils/bytescan package
2019-05-03 19:36:34 +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
Trek H
ef9a38cb76
adpcm: length check before initialization
2019-05-02 00:02:33 +09:30
Trek H
d06388cfe9
adpcm: added overflow checks, improved initialization, naming
2019-05-01 23:53:08 +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
Trek H
b412b75fc6
adpcm: fixing offset error
2019-04-26 23:54:05 +09:30
Saxon
32621f0cfe
av: fixed build errors
2019-04-26 20:46:43 +09:30
Saxon
b42e7f9b13
codec: created h264 and mjpeg packages to house lexers
2019-04-26 20:31:12 +09:30
Trek H
c089980175
adpcm: added function for calculating number of adpcm bytes output per given pcm bytes
2019-04-26 20:28:53 +09:30
Trek H
a9b1891bbb
adpcm: fixed merge error
2019-04-26 20:02:38 +09:30
Trek H
2fd8d8de1b
Merge branch 'adpcm-nonblock' of https://bitbucket.org/ausocean/av into adpcm-nonblock
2019-04-26 20:01:48 +09:30
Trek H
e55cc27a55
adpcm: changed adpcm to not have blocks of fixed size
2019-04-26 19:58:30 +09:30
Trek H
d136d13e38
adpcm: modified the adpcm encoding and decoding to not use blocks
2019-04-26 19:49:05 +09:30
Trek H
f597a04289
pcm: changed location to codec
2019-04-09 15:42:44 +09:30
Saxon
937f54f418
av: fixed conflicts with master
2019-03-28 11:03:05 +10:30
Saxon
5366eca2f2
av: fixed imports
2019-03-25 11:51:03 +10:30
Saxon
3a736172ee
av: restructured directories
2019-03-25 11:34:56 +10:30