Commit Graph

3930 Commits

Author SHA1 Message Date
saxon 2ff7e6318d mts: made psi counter max packet interval const 2018-11-21 17:30:46 +10:30
saxon 7a1c628731 rtp: cleaned up queue structure in rtp/encoder.go - made safer, error checking etc 2018-11-21 17:30:46 +10:30
saxon 16614df9f5 rtp: started using mpegts encoder inside rtp encoder so that fragmentation i.e. smaller rtp packets is easier. Streams fine. 2018-11-21 17:30:46 +10:30
saxon 42097ddef7 rtp: added print messages for debugging purposes
rtp: added print messages for debugging purposes

rtp: removed binaries
2018-11-21 17:30:46 +10:30
saxon fce0937810 rtp: wrote some code so that config validated udp and rtp stuff as well 2018-11-21 17:30:46 +10:30
saxon c0e6ba2a5b rtp: checking for udp output and rtp packetisation in revid such that the right sender and encoder is selected 2018-11-21 17:30:46 +10:30
saxon f82c26ee62 rtp: added udp output and rtp packetisation options to revid-cli 2018-11-21 17:30:19 +10:30
saxon 3515958a99 rtp: added rtp and udp options to the revid config 2018-11-18 13:22:48 +10:30
saxon d291744f63 revid: wrote loadsender implementation for udp sending for the rtp - need to test 2018-11-18 12:32:11 +10:30
saxon 5cc35a77a5 rtp: finished encoder file - wrote encode function, wrote timestamp function and sequence number function - need to test 2018-11-17 23:17:08 +10:30
saxon ddf25e1fbe rtp: started writing encoder for rtp. Needto work out what the packet type part of the header should be 2018-11-17 17:43:04 +10:30
saxon 1a15889522 rtp: fixed bug by actually checking to see if there is padding before adding padding size to end buf - which would mean there's actually padding 2018-11-17 17:17:54 +10:30
saxon a6cbfee22b rtp: finished testing function, works, but first test failing 2018-11-17 17:04:26 +10:30
saxon 9f329d49b6 rtp: writing test function inside rtp_test.go 2018-11-17 16:52:57 +10:30
saxon 4e7e779de7 rtp: created rtp packet structure, wrote byte function (interprets packet structure and creates equivalent byte slice and started writing test utilities 2018-11-16 19:35:19 +10:30
kortschak b4fc5fb045 Merged in remove-unsafe-chan-use (pull request #69)
revid: clean up output clips some more
2018-10-24 00:27:35 +00:00
Dan Kortschak 57caef8937 revid: clean up output clips some more
The low volume throttle is removed since that's the job of the kernel's scheduler.
2018-10-19 21:11:02 +10:30
kortschak cec4f3803f Merged in remove-stream-chan (pull request #68)
revid: remove stream chan

* revid,stream: factor chan operations out into a separate type

* revid: remove stream chan

* revid: reduce label length

Approved-by: Alan Noble <anoble@gmail.com>
2018-10-19 00:50:08 +00:00
Dan Kortschak 4f5a47b1e5 revid: fix logging for completed stream with error 2018-10-05 08:21:21 +09:30
Dan Kortschak 81997cd68e revid: self-document and harmonize arguments to raspivid 2018-10-05 08:20:27 +09:30
Dan Kortschak c20ed48c40 revid: move command creation and logging out of switch 2018-10-05 08:20:27 +09:30
kortschak 8b07457f52 Merged in gardening/clarity (pull request #67)
stream,revid: clean up data flow and docs

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2018-10-04 02:04:04 +00:00
Dan Kortschak aba6ab1645 stream,revid: clean up data flow and docs 2018-10-04 10:35:43 +09:30
kortschak 85b29ff9db Merged in gardening/rtmp-safe-packets (pull request #59)
rtmp: make packet handling safer

Approved-by: Alan Noble <anoble@gmail.com>
2018-10-02 10:09:26 +00:00
Saxon Milton 9d5ba49b7c Merged in http-fix (pull request #65)
Revid side HTTP fix

Approved-by: Alan Noble <anoble@gmail.com>
2018-10-02 08:22:48 +00:00
Dan Kortschak 50884b8034 rtmp: re-add recvtimeout option setting 2018-10-01 11:31:16 +09:30
Dan Kortschak c91896d919 rtmp: add SOCKS negotiation back 2018-10-01 09:10:53 +09:30
Dan Kortschak f61bd0a193 rtmp: use std net for connections 2018-09-30 18:59:01 +09:30
Saxon Milton 6a0c9941ea revid: capturing any errors from r.lexTo 2018-09-28 04:23:43 +00:00
Dan Kortschak fcfdd69b8e rtmp: remove unsafe use from rtmp.go 2018-09-26 17:06:06 +09:30
Dan Kortschak 9c72a93763 rtmp: replace first half of C_RTMP_SendPacket pointer walk with index walk 2018-09-26 16:01:16 +09:30
Dan Kortschak d101946cfe rtmp: attempt to find some clarity of flow 2018-09-26 15:06:50 +09:30
Dan Kortschak b054ab103f rtmp: prepare for the horror of walking backwards 2018-09-26 14:52:07 +09:30
Dan Kortschak ac15477af1 rtmp: remove http-specific code 2018-09-26 14:39:46 +09:30
Dan Kortschak 5203982233 rtmp: remove direct unsafe use in C_RTMP_SendPacket 2018-09-26 14:37:53 +09:30
Dan Kortschak dc040ccf9c rtmp: simplify C_RTMP_SendPacket 2018-09-26 14:07:54 +09:30
Dan Kortschak 6e5e597b11 rtmp: use slices in C_RTMP_ReadPacket 2018-09-26 13:52:28 +09:30
Dan Kortschak 22c926611d rtmp: simplify header parsing 2018-09-26 13:22:44 +09:30
Dan Kortschak 85b74d6624 rtmp: fix C types for arm 2018-09-26 12:43:13 +09:30
Dan Kortschak e5faa396c1 rtmp: use C.CString
Now GODEBUG=cgocheck=0 is not needed.
2018-09-26 12:10:03 +09:30
Dan Kortschak d93357bb6f rtmp: remove unused functions 2018-09-26 12:10:03 +09:30
Dan Kortschak 43b3c8631d rtmp: remove unused memset 2018-09-26 12:10:03 +09:30
Dan Kortschak f25661ec2d rtmp: extract socket code into separate file 2018-09-26 12:10:03 +09:30
Dan Kortschak 29f7d24623 rtmp: clean up C_HandShake 2018-09-26 12:10:03 +09:30
Dan Kortschak cb47db73c8 rtmp: make C_RTMPPacket.m_body a []byte
Punt on, but prepare for, the more ridiculous C-isms.
2018-09-26 12:10:03 +09:30
Dan Kortschak 467984513b rtmp: make C_CloseInternal reconnect a bool 2018-09-26 12:10:03 +09:30
Dan Kortschak 0eb66a6ece rtmp: make C_HandleInvoke take a []byte 2018-09-26 12:10:03 +09:30
Dan Kortschak b1ecf52a44 rtmp: fix incorrect type 2018-09-26 12:10:03 +09:30
Dan Kortschak 9cfe8c430b rtmp: use []byte for RTMP message sends 2018-09-26 12:10:03 +09:30
Dan Kortschak eccc9377ab rtmp: use []byte for encoding in C_SendConnectPacket 2018-09-26 12:10:03 +09:30