Commit Graph

3236 Commits

Author SHA1 Message Date
saxon ecf7263bc1 stream/mts/meta.go: started using mutex where I was supposed to 2019-01-26 22:42:31 +10:30
saxon df07f3ff48 stream/mts/meta.go: added Format func, but need to complete later once specs are clarified 2019-01-26 22:36:34 +10:30
saxon 8f5a2352b2 stream/mts: added meta.go file to contain struct and methods relating to Metadata and operations 2019-01-26 21:57:14 +10:30
saxon 87ded6bf2e stream/mts/encoder.go: implemented metadata receiver functions: Add, Get, All and Delete 2019-01-26 21:53:19 +10:30
saxon d107231224 stream/mts: starting to work out meta logistics in encoder.go and added incomplete AddDescriptor function in psi package 2019-01-26 18:04:21 +10:30
saxon aea41fb710 stream/mts: adding some constants 2019-01-25 16:25:01 +10:30
saxon c4d68f1562 cmd/ts-repair: updated comments and made funcs more robust 2019-01-25 16:10:13 +10:30
saxon e6671c5772 cmd/ts-repair: got rid of debug prints 2019-01-25 15:18:27 +10:30
saxon 0fe5affc00 cmd/ts-repair: got setting of discontinuity indicators working and also adding adaptation fields to pat and pmt for this reason. 2019-01-25 15:03:57 +10:30
saxon ea1458014c mts: fixing cc 2019-01-24 22:29:43 +10:30
saxon 31b9ec07e9 stream/mts/encoder.go: no need to have a now field to capture current time - this can be local to encode function 2019-01-24 14:39:14 +10:30
saxon 42c9fb1d09 stream/mts/encoder.go: writing psi based on time interval rather than number of packets interval 2019-01-24 14:33:22 +10:30
Saxon Milton 286ae4334b Merged in psi-at-start (pull request #127)
stream/mts/encoder.go: writing psi at start of stream

Approved-by: Alan Noble <anoble@gmail.com>
2019-01-24 02:53:53 +00:00
Trek H b1d8c3888c adpcm test working with wav files 2019-01-23 16:33:28 +10:30
saxon df146cfb17 stream/mts/encoder.go: writing psi at start of stream 2019-01-23 15:50:25 +10:30
saxon 5637d2b015 revid-cli: added sendRetry flag so that we can have the option to either keep sending on failure, or just drop data. 2019-01-22 15:53:41 +10:30
saxon 37bdb2cf8e av/revid: removed test commands that we're not using anymore 2019-01-22 14:31:42 +10:30
saxon 2da8d2af85 av/rtmp/rtmp_test.go: using local rtmpSender io.writer implemntation to handle errors from rtmp 2019-01-22 13:54:56 +10:30
saxon 4602a555d5 av/stream/flac: updated test file directory 2019-01-22 12:27:52 +10:30
saxon 9ffc5367cb av/stream/flac: cleaned up testing file 2019-01-22 12:14:40 +10:30
Saxon Milton bea48d8657 Merged in findPMT-improve (pull request #122)
mts/mpegts.go: FindPMT now also returns index

Approved-by: Alan Noble <anoble@gmail.com>
2019-01-22 01:01:18 +00:00
saxon 6b4e0946dd stream/mts/mpegts.go: updated FindPMT comment 2019-01-22 11:27:24 +10:30
saxon ba209a1d7c mts/mpegts.go: FindPMT now also returns index 2019-01-22 11:21:12 +10:30
saxon 99b7f4a44b av/stream/flac: saving progress 2019-01-22 11:15:39 +10:30
saxon b5611bb2b4 av/stream/flac: added writeseeker tests 2019-01-22 10:45:36 +10:30
saxon 6f1767d152 av/stream/flac: finished cleaning up decode 2019-01-22 10:40:40 +10:30
saxon 7628efdbc2 av/stream/flac: working on cleaning up decode code 2019-01-22 10:26:22 +10:30
saxon 5f3bf33213 av/stream/flac/decode.go: wrote func headers 2019-01-21 22:52:17 +10:30
Saxon Milton 1ec23badcc Merged in remove-LocationStrBytes (pull request #118)
Get rid of LocationStrBytes func

Approved-by: kortschak <dan@kortschak.io>
2019-01-21 11:40:02 +00:00
saxon bc3a73bedc av/stream/psi/psi_test.go: updated comment for buildPmtWithMeta() 2019-01-21 18:25:06 +10:30
saxon 28e26cd151 av/stream/flc: using my own writeSeeker implementation - working 2019-01-21 17:50:09 +10:30
saxon 155134eeed av/stream/flac: moved readAll to after loop 2019-01-21 17:37:16 +10:30
saxon 6fda0b3c3f av/stream/flac: using writerseeker to pass to wav.NewEncoder because I don't want to give it a file, but it's not working 2019-01-21 17:34:15 +10:30
saxon 44c79e2256 av/stream/flac: wrote decode function and test to see if we can get wav. 2019-01-21 15:41:49 +10:30
saxon 56422a366e av/stream/flac: added decode.go and flac_test.go 2019-01-21 14:57:40 +10:30
scruzin 2697dcf515 More elegant switch in parseURL() for port logic. 2019-01-21 10:57:40 +10:30
scruzin 3a70dc6ddc parseURL() now returns errUnimplemented for SSL. 2019-01-21 10:38:27 +10:30
saxon 67d952c6a7 psi/psi_test.go: made buildPmtWithMeta() safer and readable 2019-01-20 21:58:23 +10:30
saxon a24e4ecb81 psi/psi_test.go: not making it look like I'm appending directly to a global 2019-01-20 21:48:34 +10:30
saxon c4990c946f psi/psi_test.go: not wrapp tstStr in []byte 2019-01-20 21:39:07 +10:30
saxon 239cebe347 psi/psi_test.go: made location tsts const 2019-01-20 21:12:26 +10:30
saxon 3835ff7ce1 psi/psi_test.go: made location tsts strings again and have buildPmtWithMeta take a string instead of []byte 2019-01-20 21:11:09 +10:30
saxon b69c990b21 psi/psi_test.go: got rid of bytes declaration for location strigns 2019-01-20 21:04:27 +10:30
saxon 1a966e8f9b psi/psi_test.go: improved some naming 2019-01-20 20:43:00 +10:30
saxon 5c4795786e psi/helpers.go: modified UpdateLocation() to make updating of location in pmt cleaner, and also removed redundant conversion of string to byte slice 2019-01-20 20:14:27 +10:30
scruzin 0105c76dc5 Move port defaulting logic to parseURL(). 2019-01-20 13:33:44 +10:30
scruzin 89d9bf3eef Return errors from the loop in connect() rather than breaking. 2019-01-20 10:28:05 +10:30
scruzin efe40a6778 Move test for empty RTMP 'app' into parseURL(). 2019-01-20 09:59:28 +10:30
scruzin a362d1d2ab connect() now closes c.link.conn upon an error. 2019-01-20 09:50:51 +10:30
scruzin 04ad1fec25 Log packet size before la and ra. 2019-01-20 09:20:56 +10:30