Saxon
1ab6ab116a
container/mts/encoder.go: fixed comment for PTSFrequency const.
2019-05-11 16:33:09 +09:30
Saxon
aa5a089c55
container/mts/encoder.go: fixed comment for time-related constants
2019-05-11 16:32:00 +09:30
Saxon
20a5ed5362
container/mts/mpegts.go: renamed pidType to pid in GetPTSRange
2019-05-11 16:30:29 +09:30
Saxon
5652b05c21
container/mts/mpegts.go: added package level doc comment
2019-05-11 16:29:15 +09:30
Saxon
0d3463ac87
container/mts: update comments for PCRFrequency and PTSFrequency
2019-05-11 13:57:02 +09:30
Saxon
8f8ae7c558
container/mts: using uint16 for PID always
2019-05-11 13:50:40 +09:30
Saxon
04c7825063
container/mts: PCRFreq->PCRFrequency and PTSFreq->PTSFrequency
2019-05-11 13:48:32 +09:30
Saxon
ebb69ea6aa
container/mts/mpegts.go: GetPTSRange now generalised for any PID
2019-05-11 13:04:30 +09:30
Saxon
e2d9853264
container/mts: fixed build error
2019-05-11 12:49:31 +09:30
Saxon
594dca1b21
container/mts/encoder.go: export PTS frequency.
2019-05-11 12:46:31 +09:30
Saxon
62844809f2
container/mts/mpegts_test.go: writePSI and writeFrame take bytes.Buffer pointer now
2019-05-10 17:47:48 +09:30
Saxon
b12a78dad2
container/mts/mpegts.go: corrected comment
2019-05-10 17:45:04 +09:30
Saxon
5179cdaceb
container/mts/mpegts_test.go: wrote some helper functions for writing psi and frames and cleaned up commenting
2019-05-10 17:38:22 +09:30
Saxon
a86a3fa88a
container/mts/mpegts_test.go: added testing file for mpegts.go
...
Added testing file for mpegts_test.go and added test for GetPTSRange().
2019-05-10 17:22:14 +09:30
Saxon
542f017879
container/mts/pes/pes.go: simplified insertion of pts into pes []byte using comcast/gots InsertPTS func
2019-05-10 14:51:53 +09:30
Saxon
868d01527c
container/mts/mpegts.go: wrote GetPTSRange func
...
This func will return the first and last PTS from an MPEGTS clip by finding the first access unit, and then by moving backward from the end of the clip to find the start of the final PES packet.
2019-05-10 14:20:14 +09:30
Saxon Milton
11ad16dbe1
Merged in flv-testing (pull request #196 )
...
container/flv/flv_test.go
Approved-by: kortschak <dan@kortschak.io>
2019-05-09 07:50:54 +00:00
Saxon Milton
a5e40472d4
Merged in rtsp-protocol (pull request #185 )
...
protocol: added basic RTCP protocol client implementation.
Approved-by: Alan Noble <anoble@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2019-05-09 03:06:37 +00:00
Saxon
524dbea0e1
protocol/rtcp/client.go: added comment for Log func signature type
2019-05-09 12:28:31 +09:30
Saxon
5bd0e31db3
protocol/rtcp/client.go: fixed filename in file header
2019-05-09 12:24:48 +09:30
Saxon
51160c8849
protocol/rtcp/client.go: export log type
2019-05-09 11:41:51 +09:30
Saxon
841dccaec8
protocol/rtcp/rtcp.go: added package comment
2019-05-09 11:35:07 +09:30
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
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
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
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 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
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