Saxon
b42510ae22
container/mts: added Clip.SegmentForMeta and accompanying testing.
...
Added a function to segment a Clip into sub Clips that have a consistent meta key and value.
Also added testing for this method.
2019-06-17 20:05:11 +09:30
Saxon
74992aee19
container/mts: added commenting to SegmentForMeta and accompanying testing
2019-06-17 16:34:22 +09:30
Saxon
3eab25e18b
container/mts: added SegmentForMeta func and testing
...
This func will further segment an MTS segment to each series of packets that
correspond to a given key and val of meta. Testing for this func has also been
written.
2019-06-17 04:30:54 +09:30
Saxon
1a233d8576
container/mts: wrote function TrimToMtsRange and added related testing
...
This function will return a sub slice of MPEG-TS corresponding to an interval of metadata.
Also wrote testing for this function.
2019-06-16 04:08:41 +09:30
Saxon
548b7caa81
revid: fixed rtpPort and rtcpPort parsing and added H264 and H265 IDs
...
Added H264ID and H265ID consts and added logic to select this const for use in encoder based on mediaType param in NewEncoder. Also now
declaring PMT in NewEncoder so that we can set streamID correctly based on mediaType.
2019-05-16 13:57:10 +09:30
Saxon
8081fd48a0
container/mts/mpegts.go: fixed conflict with master
2019-05-13 17:07:53 +09:30
Saxon
51f4d123bf
container/mts: using MPEG-TS in comments rather than MPEGTS or mpegts
2019-05-11 21:14:28 +09:30
Saxon
ebb69ea6aa
container/mts/mpegts.go: GetPTSRange now generalised for any PID
2019-05-11 13:04:30 +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
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
5e705f793e
container/mts/mpegts_test.go: using consts where I should be
2019-05-08 00:09:42 +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