Saxon Milton
080800d43a
Merged in rtp-client (pull request #186 )
...
protocol/rtp: RTP client
Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-05-09 01:22:54 +00:00
Trek H
29e49a7a1c
adpcm, pcm: updated documentation
2019-05-08 20:04:40 +09:30
Trek H
28eba2ad60
revid: changed PCM lexer timing
...
previously the lexer would read before any audio was generated, resulting in silence but now the timing is correct.
2019-05-08 19:56:02 +09:30
Trek H
e699c30a85
revid: updated documentation and licenses
2019-05-08 19:31:25 +09:30
Trek H
9099082609
revid: setting up mts encoder with pid based on media type
2019-05-08 19:05:00 +09:30
Trek H
76765c8a20
revid: updated revid test to use new mtsEncoder func
2019-05-08 18:07:33 +09:30
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