saxon
|
601351b021
|
stream/mts/meta_test.go: adding comments to meta_test.go testing functions
|
2019-01-27 18:33:15 +10:30 |
saxon
|
e1ac1ac5d4
|
stream/mts/meta_test.go: using consts for commonly occuring test strings
|
2019-01-27 18:29:45 +10:30 |
saxon
|
7fc2b76e6b
|
stream/mts/meta_test.go: added TestDeleteKeyAbsent to check that we get correct err when we try to delete data of key that doesn't exist
|
2019-01-27 18:24:26 +10:30 |
saxon
|
c16f144372
|
stream/mts/meta_test.go: added TestDelete to check that deleting a particular metadata entry by key works
|
2019-01-27 18:21:49 +10:30 |
saxon
|
bd54dd128b
|
stream/mts/meta_test.go: added TestGetAbsent key to check that we get an error when we try and get data with key that doesn't exist in metadata map
|
2019-01-27 18:15:22 +10:30 |
saxon
|
17d06f49f4
|
stream/mts/meta_test.go: added TestAll func to make sure Meta.All is working correctly
|
2019-01-27 18:02:51 +10:30 |
saxon
|
3bb1ca9379
|
stream/mts: wrote NewMeta func to initialize map in the Meta struct. Also wrote two tests, one TestAddAndGet to see if we can add and get metadata, and also second TestUpdate to see if we can correctly update metadata with the same key using Meta.Add
|
2019-01-27 17:57:42 +10:30 |
saxon
|
c547c8bd19
|
stream/mts: added meta_test.go file and wrote todos for testing
|
2019-01-27 17:16:44 +10:30 |
saxon
|
46b2bc4520
|
stream/mts: added some consts to describe indexes and masks, and fixed some syntax errors, so now it all builds
|
2019-01-27 17:04:46 +10:30 |
saxon
|
1be7e08b9e
|
stream/mts: renamed Format function for metadata to Encode
|
2019-01-27 16:56:14 +10:30 |
saxon
|
9171b56d31
|
stream/mts: created new type to represent Descriptor (typedef of []bytes) so that we can create receiver functions. Wrote AddDescriptor func to add or update a descriptor in a pmt. Wrote ProgramInfoLen func to return the program info length i.e. len of descriptors. Wrote HasDescriptor to check if descriptor exists, if so return the descriptor so that we can update. Wrote descriptors which returns []byte of all descriptors. Wrote create descriptor, which adds a descriptor to the existing if any i.e. shifts data downwards to accomodate new data. Wrote update func to update a descriptor.
|
2019-01-27 16:55:00 +10:30 |
saxon
|
6f421ab706
|
stream/mts/psi.go: added more to AddDescriptor and added signature for edistDesc
|
2019-01-26 23:35:31 +10:30 |
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 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 |
saxon
|
df146cfb17
|
stream/mts/encoder.go: writing psi at start of stream
|
2019-01-23 15:50:25 +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 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
|
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 |
Alan Noble
|
54d351a55e
|
Merged in rtmp-refactoring-3 (pull request #119)
Rtmp refactoring 3
|
2019-01-19 07:56:35 +00:00 |
scruzin
|
6959243d50
|
packet.info renamed streamID and made a uint32 along with Conn.streamID.
|
2019-01-19 17:51:34 +10:30 |
scruzin
|
de07f1ae40
|
dStreamId renamed streamID.
|
2019-01-19 17:20:34 +10:30 |
scruzin
|
45f5817307
|
headBytes renamed buf.
|
2019-01-19 16:41:22 +10:30 |
scruzin
|
8b8afd08b0
|
Merge branch 'rtmp-refactoring-3' of https://bitbucket.org/ausocean/av into rtmp-refactoring-3
|
2019-01-19 16:39:41 +10:30 |
scruzin
|
b77283aa3b
|
packet.header renamed buf.
|
2019-01-19 16:38:40 +10:30 |
Alan Noble
|
9bb6b3ae6d
|
rtmp/session.go deleted (replaced by conn.go)
|
2019-01-19 04:52:32 +00:00 |
scruzin
|
5548345439
|
Fix comments munged by /.s/.c search and replaces.
|
2019-01-19 15:18:10 +10:30 |
scruzin
|
9cc0e5631c
|
Session now Conn, and NewSession()+Open() replaced by Dial().
|
2019-01-19 13:25:05 +10:30 |
scruzin
|
fc7ae413d3
|
Session renamed Conn.
|
2019-01-19 13:18:15 +10:30 |
scruzin
|
ce95901b66
|
Session renamed Conn and NewSession() and Open() replaced with Dial().
|
2019-01-19 13:16:46 +10:30 |
scruzin
|
998d41c96f
|
Session now Conn, init() moved into Dial(), and connectStream() merged into connect().
|
2019-01-19 13:12:24 +10:30 |
scruzin
|
a73c73617a
|
Session now Conn.
|
2019-01-19 13:11:19 +10:30 |