Commit Graph

1380 Commits

Author SHA1 Message Date
saxon 4e62606622 updating this branch with master
Merge branch 'master' into psi-pr-cleanup
2019-01-11 13:15:23 +10:30
saxon 0d6aac0247 revid: fixed build errors by updating calls to mts.MetaData.SetLocation() and mts.MetaData.SetTimeStamp() 2019-01-11 11:53:41 +10:30
saxon 62a2e4a09a psi: made addCrc less stupid by stopping the make of a redundant 4 bytes 2019-01-11 11:23:53 +10:30
saxon f88115f811 mts: fixed comment 2019-01-11 10:57:53 +10:30
saxon 3ac40bac99 psi: using letters in hex for bytes in psi_test.go 2019-01-11 10:54:25 +10:30
saxon f752712dec psi: made some comments in psi_test.go more english like and corrected some errors 2019-01-10 17:34:54 +10:30
saxon b6c0433476 psi: made some global vars for pat and pmt tables unexported in psi_test.go 2019-01-10 17:32:42 +10:30
saxon 4b09a4f60a psi: trim() => trimTo() 2019-01-10 17:31:14 +10:30
saxon 7fe8356b11 mts: nonembeded mutex in TimeLocation 2019-01-10 17:26:48 +10:30
saxon 304d5501ac mts: improved some commenting 2019-01-10 11:12:33 +10:30
saxon 459b1895de mts: got rid of blank line 2019-01-09 09:16:57 +10:30
saxon f432950c28 mts: GetLocation()=>Location() and GetTimeStamp()=>TimeStamp() 2019-01-09 09:15:08 +10:30
saxon c76c4aafb9 mts: fixed some commenting 2019-01-09 09:12:46 +10:30
saxon cda6999639 psi: not using named byte in asByte 2019-01-08 20:06:07 +10:30
saxon fc7f5501e0 psi: removed conditional in HasTime and HasLocation and just used result of logic operation 2019-01-08 20:04:45 +10:30
saxon d665bece23 psi: added dan as an author to crc.go 2019-01-08 20:02:59 +10:30
saxon 6cb56421d3 mts: add getters and setters with mutex to the TimeLocation struct. 2019-01-08 20:01:30 +10:30
saxon ddf7a94ab8 mts: made standard pat and pmt tables unexported 2019-01-08 19:46:24 +10:30
saxon a63013ca4a mts: UCed some words and any std => standard 2019-01-08 19:44:33 +10:30
saxon b75dfaa4de mts: added full stops to some comments 2019-01-08 19:42:46 +10:30
saxon ebd6d5816d psi: full stop at end of comment, made lastTime belong to packer and moved some vars to a more appropriate location 2019-01-08 19:39:22 +10:30
saxon 872d689957 psi: PatTableID=>patID and PmtTableID=>pmtID i.e. also made unexported 2019-01-08 08:42:30 +10:30
Alan Noble c4bc4f7c61 Set debugMode false by default. 2019-01-07 11:49:14 +00:00
Alan Noble f564a4927d Merged in rtmp-renaming (pull request #100)
Rtmp renaming

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2019-01-07 11:44:46 +00:00
scruzin 9b7feb4dfc Fix typo. 2019-01-07 22:11:35 +10:30
scruzin 1fe011b5fb Reinitialize *s in close(). 2019-01-07 21:58:19 +10:30
scruzin 04679e4757 Removed used fields and initalize packets lazily. 2019-01-07 21:45:00 +10:30
scruzin 0b869523b4 Removed packet member from Session. 2019-01-07 20:16:11 +10:30
scruzin 8ed3c04186 Change log messages to reflect new function names. 2019-01-07 20:15:12 +10:30
scruzin ad43420270 Remove another unused file. 2019-01-07 19:31:54 +10:30
scruzin 1a7048e9f3 Updated copyright year. 2019-01-07 18:01:22 +10:30
scruzin 31b1a6a7d3 Made function names camel case and factored packet functions into packet.go. 2019-01-07 18:00:42 +10:30
saxon ffc1af2cd4 psi: removed declaration and initialisation of standard psi structures in std.go as this is dangerous 2019-01-07 17:13:50 +10:30
saxon 561e603d96 psi: ran gofmt -s -w on files 2019-01-07 17:04:57 +10:30
saxon d19327b6d5 psi: renamed std... to standard... 2019-01-07 17:02:57 +10:30
saxon 2284d38492 psi: removed more unnecessary conversions 2019-01-07 17:00:48 +10:30
saxon 83e4a4c5c5 psi: removing uneccessary conversion in psi_test.go 2019-01-07 16:58:12 +10:30
saxon b2b5db1f1f psi: using lowercase letters in hex 2019-01-07 16:32:18 +10:30
saxon 13b8c23351 psi: removed byteToBool func as can do this by other means 2019-01-07 16:30:48 +10:30
saxon ba9e5a3136 psi: renamed SD (specific data) interface to SpecificData 2019-01-07 16:27:18 +10:30
saxon 0c0afa8bde psi: removed redundent return in updateCrc 2019-01-07 16:25:08 +10:30
saxon 26f26cbeee psi: using binary.BigEndian.PutUin32 to put crc32 into the psi 2019-01-07 16:23:38 +10:30
scruzin ad55d31577 Made type and variable names idiomatic, and merged C_RTMP into Session. 2019-01-07 16:20:35 +10:30
saxon fa0154ad3d psi: using b instead of out for updateCrc 2019-01-07 16:20:06 +10:30
saxon 6ebb982238 psi: improved comment for updateCrc 2019-01-07 16:18:20 +10:30
saxon 261118187b psi: using copy inside UpdateLocation() instead of range 2019-01-07 16:16:53 +10:30
saxon 0d3abd5798 psi: using own trim function to get rid of null chars in gps string 2019-01-07 14:24:54 +10:30
saxon 8cf2181958 psi: modified error messages for updateTime and updateLocation to make clearer 2019-01-07 13:56:25 +10:30
saxon 31683b4194 psi: HasTime and HasLocation now return bool instead of error 2019-01-07 13:49:47 +10:30
scruzin 6975f5172e Make member names camel case. 2019-01-07 13:33:07 +10:30