Commit Graph

1455 Commits

Author SHA1 Message Date
saxon ae4d052a9f need to update with master
Merge branch 'master' into fix-psi-bug
2019-01-13 20:13:42 +10:30
saxon 1ae261dce4 psi: return t instead of d in addPadding() func 2019-01-13 20:13:35 +10:30
Saxon Milton a3fec17cb4 Merged in improve-rtp-encoder-performance (pull request #84)
Improve rtp encoder performance

Approved-by: Alan Noble <anoble@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2019-01-13 08:05:12 +00:00
Saxon Milton 9b699afa30 Merged in remove-unused-loglevels (pull request #110)
revid: removing unused loglevel consts defined in revid.go

Approved-by: kortschak <dan@kortschak.io>
2019-01-13 08:04:39 +00:00
saxon bf8d85d0ba revid: removed unused loglevels 2019-01-13 17:03:58 +10:30
saxon 7f140baf22 rtp: corrected error in comment 2019-01-13 16:42:30 +10:30
saxon cb762c04c6 rtp: set defPayloadSIze to sendLen which is 7 *188 and also commented consts 2019-01-13 16:40:25 +10:30
saxon efbc2a1a77 revid: fixed conflict with master regarding fatal log when raspivid doesn't start successfully 2019-01-13 14:36:49 +10:30
Saxon Milton af6c8d875f Merged in improve-ts-encoder-performance (pull request #83)
Improve ts encoder performance

Approved-by: kortschak <dan@kortschak.io>
2019-01-13 00:13:38 +00:00
saxon c4e2ca64a9 psi: modified addPadding to only do one resize 2019-01-12 17:51:39 +10:30
saxon 46f5ffd6f2 mts: PktSize to PacketSize 2019-01-12 17:36:35 +10:30
saxon 010abcfd0c mts: ccMask to continuityCounterMask in encoder.go 2019-01-12 17:34:43 +10:30
saxon 662d71bf54 mts+psi: fixed conflicts with master 2019-01-12 17:03:55 +10:30
Dan Kortschak 65e2ab3f6a stream/mts{,psi}: fix comments 2019-01-11 22:29:48 +10:30
Dan Kortschak 9d70949e2e stream/flv: write first previous tag size 2019-01-11 14:55:05 +10:30
Dan Kortschak 7f07c4cb20 revid,stream/flv: add back initial header write 2019-01-11 13:53:05 +10:30
Saxon Milton 9eeefef8c7 Merged in psi-pr-cleanup (pull request #101)
psi: clean up

Approved-by: kortschak <dan@kortschak.io>
2019-01-11 02:48:35 +00:00
saxon 9ca7288622 psi: removed conflict with master 2019-01-11 13:17:14 +10:30
saxon 4e62606622 updating this branch with master
Merge branch 'master' into psi-pr-cleanup
2019-01-11 13:15:23 +10:30
Saxon Milton 28d23ad200 Merged in remove-read-funcs-in-psi-pkg (pull request #98)
mts/psi: remove read funcs as we're not using them at this time

Approved-by: kortschak <dan@kortschak.io>
2019-01-11 02:22:40 +00:00
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
Alan Noble d87dfca283 Merged in rtmp-refactoring (pull request #103)
Rtmp refactoring

Approved-by: kortschak <dan@kortschak.io>
Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: Alan Noble <anoble@gmail.com>
2019-01-11 01:18:35 +00:00
saxon 62a2e4a09a psi: made addCrc less stupid by stopping the make of a redundant 4 bytes 2019-01-11 11:23:53 +10:30
scruzin 2f3c2cc0e2 Added ToDo. 2019-01-11 11:17:14 +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
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