Commit Graph

4101 Commits

Author SHA1 Message Date
saxon 3ac40bac99 psi: using letters in hex for bytes in psi_test.go 2019-01-11 10:54:25 +10:30
scruzin 22b76b5bda Session.read()/write() both now return (int, error). 2019-01-11 10:35:20 +10:30
scruzin 67cc591dd2 Use idiomatic consts. 2019-01-11 10:27:41 +10:30
scruzin fc815c23e7 Session.Write() now checks len(data) before the FLV test. 2019-01-11 10:10:27 +10:30
scruzin 5be5aad6cf Idiomatic names for constants (1st pass). 2019-01-11 09:52:21 +10:30
scruzin 8a23609f6e Exit test for errors and fatals errors regardless of testVerbosity. 2019-01-11 07:24:31 +10:30
scruzin 82522643bb First cut at refactoring packet.write(). 2019-01-11 00:41:28 +10:30
scruzin b3b1b04814 Merged Session.start()/close() into Open()/Close() respectively. 2019-01-11 00:29:51 +10:30
scruzin d4a0fad2be Removed now unused rtmp_headers.go. 2019-01-11 00:22:32 +10:30
scruzin 94446beddb Split remaining code in rtmp_headers across rtmp.go and session.go. 2019-01-11 00:19:50 +10:30
scruzin 7bb9fcc2c7 Remove superfluous call to handlePacket() from connectStream(). 2019-01-11 00:10:29 +10:30
scruzin b388f5374f Removed superfluous url param from setupURL() and obtain it from the Session object instead. 2019-01-11 00:06:44 +10:30
scruzin 53bccaaaa7 Simplifed connectStream(). 2019-01-11 00:01:26 +10:30
scruzin f635be6712 Propagate errors from handleInvoke(). 2019-01-10 23:48:11 +10:30
scruzin 058cc41356 readPacket(), sendPacket() and resizePacket() now Packet methods read(), write() and resize() respectively. 2019-01-10 23:29:51 +10:30
scruzin 6a8e78a256 readN()/writeN() now Session.read()/write() respectfully. 2019-01-10 23:16:20 +10:30
scruzin 26e8133a6e Merge Session.write() into Session.Write(). 2019-01-10 23:05:24 +10:30
scruzin 56a3bf8b26 Simplified Session.write(). 2019-01-10 22:52:43 +10:30
scruzin e6504734d0 Rate limit TestFromFrame output to 25 FPS. 2019-01-10 21:22:00 +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
scruzin 3c83ba0022 Added RTMP_PACKET_SIZE_AUTO. 2019-01-10 16:34:00 +10:30
Alan Noble 6e034fd264 Merged in rtmp-logging (pull request #102)
Added proper logging and made more names idiomatic (although not finished yet.)

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: Alan Noble <anoble@gmail.com>
2019-01-10 05:17:06 +00:00
scruzin a318f9c3eb Added media streaming tests and improved comments. 2019-01-10 15:33:24 +10:30
saxon b219690b10 rtmp: added streaming from file test 2019-01-10 13:58:58 +10:30
saxon d9c98a0341 rtmp: added streaming from file testing 2019-01-10 13:56:20 +10:30
scruzin 2333d1953e packetSize -> headerSizes. 2019-01-10 13:23:12 +10:30
scruzin 9796465018 Exit if RTMP_TEST_KEY not defined. 2019-01-10 12:51:18 +10:30
scruzin 3dbaa810fc Additional logging. 2019-01-10 12:49:52 +10:30
scruzin e772d37a1b Warn about EOF errors. 2019-01-10 12:48:31 +10:30
saxon 304d5501ac mts: improved some commenting 2019-01-10 11:12:33 +10:30
scruzin 076a9c030a Better field names. 2019-01-09 22:51:07 +10:30
scruzin c386f45bbd Removed out of date comment. 2019-01-09 22:25:10 +10:30
scruzin c8ec317823 Merge init into NewSession. 2019-01-09 22:05:04 +10:30
scruzin d1958ff75d Initial revision. 2019-01-09 17:34:38 +10:30
scruzin 0a69c59f50 Additional logging. 2019-01-09 17:33:19 +10:30
scruzin 88e1415b10 Include pkg name in fatal log messages. 2019-01-09 16:08:02 +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