Commit Graph

2576 Commits

Author SHA1 Message Date
Saxon 977dab9673 container/mts/encoder_test.go: finished writing test TestEncodeVideo
Test is also now checking payload data as well as MPEGTS headers.
2019-05-07 23:49:31 +09:30
Saxon 3292ce0506 container/mts: simplified Packet.Bytes(), and tested 2019-05-07 23:10:03 +09:30
Saxon 0e362e6056 container/mts: wrote test TestEncodeVideo
Wrote a test to check mts encoding of video to validate packet creation etc. Test is failing because how I did mts
encoding is interesting, thinking about changing.
2019-05-07 21:22:57 +09:30
Saxon a805dc13a6 container/mts: removed audio_test.go 2019-05-07 13:34:14 +09:30
Saxon dbec11f3b4 container/mts: renamed audio_test.go to encoder_test.go
This file will now contain any tests pertinent to the mts encoder.
2019-05-07 13:20:06 +09:30
Saxon c8531b2899 container/mts: added comments to tests 2019-05-07 13:17:33 +09:30
Saxon a8aec484df container/mts: wrote test TestFindPid and corrected bug
Completed test TestFindPid to validate function of FindPid func in mpegts.go. Through this
process, it was found that there was a bug in this func, whereby the returned packet was
not complete due to indexing issues. The bug is fixed and the test passes.
2019-05-07 02:20:07 +09:30
Saxon 52c8a43cb0 container/mts: added mpegts_test.go and first test TestBytes. 2019-05-06 23:07:26 +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 5e568f277b revid/revid.go: fixed comment for Revid.setupInput field 2019-05-06 16:04:56 +09:30
Saxon b3775265e6 revid/config.go: not breaking logging lines 2019-05-06 15:59:41 +09:30
Saxon 5c40c48e97 revid/revid.go: in Revid.Start() if errors occurs on call to Revid.setupInput() fall through error check and return err 2019-05-06 15:54:33 +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
Saxon Milton 4c080e9288 Merged in start-funcs-return-cleanup-closure (pull request #194)
revid: setupInput function for revid now returns closure that is used to do any clean up
2019-05-06 05:47:56 +00:00
Saxon 77ff88392f revid: setupInput function for revid now returns closure that is used to do any clean up 2019-05-06 15:12:05 +09:30
Saxon Milton 408492ae1a Merged in no-nil-outputs-panic (pull request #193)
revid: does not panic when not outputs are defined in a config.
2019-05-05 13:24:12 +00:00
Saxon 8f74cd4ced revid: does not panic when not outputs are defined in a config. 2019-05-05 22:50:59 +09:30
Saxon Milton 7e4cc82e35 Merged in logging-var (pull request #192)
revid: logging is now checked as a valid device variable so that logging level may be changed remotely
2019-05-05 10:33:18 +00:00
Saxon 39745c9840 av: updated go mod 2019-05-05 19:51:20 +09:30
Saxon ec290f1058 revid: logging is now checked as a valid device so that logging level may be changed remotely 2019-05-05 19:39:56 +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 c9aa43394b protocol/rtp/client.go: got rid of useless continue in recv dst write if error encountered 2019-05-03 20:04:06 +09:30
Saxon 2f039e0c4b protoocl/rtp: removed comment for 'misc constants' 2019-05-03 20:02:29 +09:30
Saxon 9b3523607b protocol/rtcp: added todo comment to jitter() 2019-05-03 20:00:18 +09:30
Saxon 7fe5e74123 protocol/rtcp/client.go: added comment for Err() regarding usage. 2019-05-03 19:58: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 a94e698c6b protocol/rtp: fixed a bug in rtp.Marker 2019-05-02 00:51:58 +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 80a7d41d8a protocol/rtp: removed op from Client i.e. what is read from Client are RTP packets. 2019-05-01 14:15:39 +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 e823ebca48 protocol/rtsp: using strings.Prefix in ReadResponse to check that protocol is correct 2019-04-30 21:43:04 +09:30
Saxon a025d55d81 protocol/rtsp: using Fprintf with strings.Builder in Request.String() and Response.String() 2019-04-30 21:41:46 +09:30
Saxon 960d0b4477 protocol/rtsp/cmd/record: using select rather than for loop to wait at end of record program 2019-04-30 21:37:06 +09:30
Saxon 6a9d2755d1 protocol/rtsp: don't need to wrap conn in bufio.Reader() 2019-04-30 21:36:06 +09:30
Saxon a4da3dab15 protocol/rtsp/client.go: using u instead of url from url.Parse in Client.Setup() 2019-04-30 21:33:35 +09:30
Saxon 8196df52d7 protocol/rtsp: added newline after file headers 2019-04-30 21:32:05 +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
Saxon d358f70585 protocol/rtp: made client_test.go more robust 2019-04-30 09:39:41 +09:30
Saxon 6694cab956 protocol/rtp: commented Client.Err() 2019-04-30 02:38:38 +09:30