Commit Graph

3810 Commits

Author SHA1 Message Date
Trek H 2bb3a6b82f revid: added missing files for audio input 2019-05-08 17:21:21 +09:30
Saxon 7955018ab0 container/flv: removed some unecessary comments 2019-05-08 17:06:23 +09:30
Saxon 3692ba772d protocol/rtp/client.go: removed dummyLogger as not required anymore. 2019-05-08 16:57:58 +09:30
Saxon 534a0bcecb protocol/rtp/client.go: updated file description in file header. 2019-05-08 16:57:07 +09:30
Saxon c48e681c41 protocol/rtp/client.go: removed buffering in client.
Removed buffering in rtp client. This simplified things alot e.g. the recv routine has been removed, and therefore anything that was there to help with handling of the routine is also gone
like the Start() and Stop() methods as well as signalling channels and waitgroups. The client is now just effectively a wrapper for a udp conn.
2019-05-08 16:54:02 +09:30
Trek H faa6246a51 Merge branch 'master' into revid-audio 2019-05-08 16:23:56 +09:30
Saxon 7e96f5999c protocol/rtp/client.go: updated comment for NewClient to remove mention of removed op argument 2019-05-08 15:47:11 +09:30
Saxon aa7553947a protocol/rtp/rtp.go: renamed Pkt type to Packet. 2019-05-08 15:45:08 +09:30
Saxon 4f2d2f7c26 container/flv/flv_test.go: commented test functions 2019-05-08 15:41:19 +09:30
Saxon 553ba8dc54 container/flv/audio_test.go: added test TestAudioTagBytes
Wrote test TestAudioTagBytes to check that we can correctly get a []byte representation of an
AudioTag.
2019-05-08 15:39:12 +09:30
Saxon 48645d1cf3 container/flv/flv_test.go: wrote test TestVideoTagBytes
Wrote test TestVideoTagBytes which checks that we can get a valid []byte representation of a
VideoTag. The test is passing.
2019-05-08 15:14:35 +09:30
Saxon a06083ecb7 protocol/rtcp/client.go: no newline at the end of error string in parse() 2019-05-08 13:54:56 +09:30
Saxon f5d38b1bfc protocol/rtcp/client.go: using fmt.Errorf rather than errors.New(fmt.Sprintf(...)) in parse() 2019-05-08 13:53:36 +09:30
Saxon ea309b295e protocol/rtcp/client.go: only using one quit chan for both send and recv routines. 2019-05-08 13:51:54 +09:30
Saxon 76612ea8df protocol/rtcp/client.go: not embedding log 2019-05-08 13:49:09 +09:30
Saxon 040cd18db3 protocol/rtcp/client.go: moved err chan to bottom of fields list. 2019-05-08 13:48:12 +09:30
Saxon 5e705f793e container/mts/mpegts_test.go: using consts where I should be 2019-05-08 00:09:42 +09:30
Saxon bccd7c2762 container/mts/mpegts.go: error test for invalid packet size in FindPid corrected 2019-05-08 00:07:23 +09:30
Saxon 9dcf866162 container/mts/mpegts.go: removed unused const 2019-05-08 00:06:05 +09:30
Saxon 1e7d3508e3 container/mts/encoder_test.go: simplified some code and improved commenting 2019-05-08 00:03:44 +09:30
Saxon a0e2360f2b container/mts/encoder_test.go: corrected typo in comment for expectedHeaders 2019-05-07 23:57:48 +09:30
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
Trek H 7d4da08cf0 revid: audio lexer reading and writing correct bytes 2019-05-07 16:52:58 +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
Trek H a3c7cb5616 revid: added chunkSize to audioInput and bufferSize to lex functions
The audio lexers need to know how much data they will be receiving unlike video which has a fixed buffer size.
This means that all the lex function will need to be given a buffer size since they are used as a function pointer with the same signature.
2019-05-05 17:56:14 +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