Commit Graph

2854 Commits

Author SHA1 Message Date
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 83c0a1464f codec/codecutil: fixed file names in file headers and add package comment. 2019-05-10 14:39:47 +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 ae8ced3a19 codec/codecutil: byte-scanner.go -> bytescanner.go and byte-scanner_test.go -> bytescanner_test.go 2019-05-10 13:55:32 +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 1fb4381b8e codec/lex/lex_test.go: rtpRead.Read() checks for incomplete reads of packets buffer and resizes accordingly 2019-05-09 14:35:21 +09:30
Saxon c31c76e1f5 codec/h265/lex.go: renamed marker to markerIsSet 2019-05-09 14:15:11 +09:30
Saxon cbbe74b34a codec/codecutil/byte-scanner.go: renamed Scanner type to ByteScanner 2019-05-09 13:51:59 +09:30
Saxon 0effbae4f6 codec: renamed codeutils to codecutil 2019-05-09 13:48:33 +09:30
Saxon d703038b75 codec/codecutils: removed intermmediate directory bytescan, and renamed scanner.go to byte-scanner and scanner_test.go to byte-scanner_test.go 2019-05-09 13:47:52 +09:30
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 9e07984848 protocol/rtsp: added package comment. 2019-05-09 12:17:11 +09:30
Trek H 6320011190 revid: added audio input start test
test written and passing for revid with AudioInput starting
unset audio parameters in config now default.
2019-05-09 12:11:02 +09:30
Saxon 31d756fef2 codec/h265/lex_test.go: corrected comment for TestLex 2019-05-09 12:10:46 +09:30
Saxon ef16a82edb codec/h265/lex_test.go: for rtpReader.Read() getting number of bytes read from copy and using that in return 2019-05-09 12:09:54 +09:30
Saxon e44d936315 codec/h265: got rid of _d in handleFragmentation 2019-05-09 12:07:46 +09:30
Saxon 6435b3c55f codec/h265: using idx++ rather than idx += 1 in handleAggregation 2019-05-09 12:03:40 +09:30
Saxon 149f91f44d codec/h265: fixed handleAggregation func comment 2019-05-09 12:03:06 +09:30
Saxon 461533199d codec/h265: renamed RTP marker from m to marker 2019-05-09 12:02:23 +09:30
Saxon 449f8bf151 codec/h265: commented 'do nothing' on nil read error in Lex 2019-05-09 12:01:05 +09:30
Saxon 382acb54cf codec/h265: updated comment for NewLexer 2019-05-09 12:00:17 +09:30
Saxon 7dc2bdfded codec/h265: added package comment 2019-05-09 11:59:20 +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
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