Trek H
2d5ba8cd8f
audio: added validate functions for device config
2019-06-18 18:35:45 +09:30
Trek H
6dd70639fe
audio: removed bufSize arg in Lex funcs and use ByteLexer
2019-06-18 17:24:32 +09:30
Trek H
b418944daa
codecutil: added ByteLexer struct for configuring buffer size
2019-06-18 14:50:36 +09:30
Trek H
fb12a2f69e
pcm, audio: style changes
2019-06-17 13:29:01 +09:30
Trek H
01561e363d
codecutil and audio: tests written using test tables
2019-06-14 19:49:49 +09:30
Trek H
e3ba1e43f3
Merge branch 'master' into revid-audio
2019-06-14 00:15:04 +09:30
Trek H
9fe09255be
audio and revid: changes for pr
...
added license to lex.go
changed pcm functions to return alsa.Buffers
style, syntax and clarification added to audio.go
new method of finding buffersize in audio.go uses a new function called nearestPowerOfTwo
2019-06-13 23:35:52 +09:30
Saxon
2640b1b615
Merge branch 'h264-rtp-lexer'
2019-06-07 02:00:41 +09:30
Saxon
ce457e1d95
should have been in last commit
2019-06-07 02:00:31 +09:30
Saxon Milton
499a26c09f
Merged in h264-rtp-lexer (pull request #202 )
...
codec/h264: added RTPLexer
Approved-by: Alan Noble <anoble@gmail.com>
2019-06-06 16:02:04 +00:00
Saxon
fa128d1809
codec/h264: renamed RTPLexer to Extracter
...
Renamed the RTPLexer to Extracter, renamed NewRTPLexer to NewExtracter and renamed Lex to Extract. Put Extracter and accompanying methods in file extract.go.
Put tests relating to Extracter in extract_test.go.
2019-06-07 01:27:31 +09:30
Trek H
96c1b51173
revid and audio: seperated audio into own package
...
audio device input is now handle in its own package which resides in the new input directory
a list of codecs was added to codecutil package to help with multiple packages using the same codecs
2019-06-06 02:09:55 +09:30
Trek H
bea747085f
revid: updated lex funcs in tests, changed audioDevice logger
...
Since adding the extra bufSize arg to Lex functions, the test functions using them needed to be updated.
NewAudioDevice was changed to accept a logger to log to instead of creating a new one.
2019-06-04 12:28:40 +09:30
Trek H
409dcabe0a
revid: added codec conversion after recording
2019-06-04 02:31:35 +09:30
Trek H
90c34c4108
revid: fixed issues after merge
2019-06-03 18:35:28 +09:30
Trek Hopton
0da410166f
Merged in adpcm-nonblock (pull request #191 )
...
Changed adpcm to not use blocks
Approved-by: kortschak <dan@kortschak.io>
2019-05-30 11:44:00 +00:00
Saxon
aad0c54039
codec/h264/lex_test.go: removed unnecessary conversion
2019-05-30 19:06:50 +09:30
Saxon
20d5f9605f
codec/h264/lex.go: checking NAL packet lengths
2019-05-30 19:05:08 +09:30
Saxon
8b7c62602f
codec/h264/lex.go: made nalType if statement in RTPLexer.Lex more go like
2019-05-30 18:49:27 +09:30
Trek H
762653b59a
adpcm: naming and syntactical changes
2019-05-29 02:57:17 +09:30
Saxon
1df0d214c9
revid/revid.go: fixed merge conflicts
2019-05-27 15:00:41 +09:30
Saxon Milton
4b74ea3291
Merged in revid-rtsp-camera (pull request #200 )
...
revid: RTSP Camera Input
Approved-by: Alan Noble <anoble@gmail.com>
2019-05-27 05:16:59 +00:00
Saxon
0ee6e86638
codec/h264/lex.go: fixed bug in handleFUA
2019-05-27 14:23:33 +09:30
Saxon
85a5f043c8
codec/h264/lex.go: removed FUIndicatorIdx const in handleFUA
2019-05-27 14:08:44 +09:30
Saxon
a39cd31a57
codec/h264/lex.go: added spec link for nal type consts
2019-05-27 14:07:04 +09:30
Saxon
5b970823ef
codec/h264/lex_test.go: renamed t to tmp in destination.Write()
2019-05-24 10:41:18 +09:30
Saxon
41f442437d
codec/h264/lex_test.go: improve comment for rtpReader struct
2019-05-24 10:40:17 +09:30
Saxon
e158101170
codec/h264/lex_test.go: fixed Saxon Nelson-Milton author indentation in file header
2019-05-24 10:38:54 +09:30
Saxon
5dfff61887
codec/h264/lex.go: merge logic for start end packet writing into first if
2019-05-24 10:38:06 +09:30
Saxon
04cd2e66ff
codec/h264/lex.go: updated comment for RTPLexer.handleFUA()
2019-05-24 10:36:30 +09:30
Saxon
930c35a154
codec/h264/lex.go: udpated comment for RTPLexer.handleSTAPA
2019-05-24 10:36:00 +09:30
Saxon
e1fd6837ef
codec/h264/lex.go: updated comment for RTPLexer.Lex()
2019-05-24 10:34:52 +09:30
Saxon
b49e65d928
codec/h264/lex.go: commented buffer size consts
2019-05-24 10:33:34 +09:30
Saxon
35069bd4f3
codec/h264/lex.go: using if and else statements rather than switch for start and end indicator logic in handleFUA
2019-05-23 13:55:25 +09:30
Trek H
a1fe6c6deb
adpcm: encoder and decoder structs are now exported
2019-05-22 15:10:02 +09:30
Saxon
0e7504374e
codec/h264: fixed some minor naming and comment spelling
2019-05-22 15:09:54 +09:30
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