Commit Graph

1601 Commits

Author SHA1 Message Date
scruzin be1610b67f Use unsigned ints for timeouts. 2019-01-06 09:37:21 +10:30
scruzin e173153ca6 Use Go errors for C_RTMP_ParseURL, C_RTMP_SetupURL, C_RTMP_Connect1, and C_RTMP_ConnectStream. 2019-01-06 09:20:32 +10:30
Alan Noble 8381d1b1e8 Merged in sockets-cleanup (pull request #96)
Socket-related code cleanup #2

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2019-01-05 22:38:08 +00:00
scruzin 4d767f106c Make for Go idiomatic. 2019-01-06 08:25:46 +10:30
kortschak c0d0eebf1a Merged in no-empty-header (pull request #95)
stream/flv: remove unnecessary header write on creation

Approved-by: Alan Noble <anoble@gmail.com>
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-01-05 20:29:31 +00:00
scruzin 513b84ad87 Further cleaned up sockets related code. 2019-01-05 23:13:19 +10:30
Dan Kortschak 05e0672e89 stream/flv: remove unnecessary header write on creation 2019-01-05 17:56:55 +10:30
Dan Kortschak b46e267983 cmd/revid-cli: use sensible default for encoding option 2019-01-05 10:33:32 +10:30
Alan Noble 250da4232a Merged in configurable-log-path (pull request #93)
Added LogPath and ConfigFile command line flags.

Approved-by: kortschak <dan@kortschak.io>
2019-01-04 23:40:13 +00:00
scruzin 04a76e424a Added LogPath and ConfigFile command line flags. 2019-01-05 08:48:47 +10:30
Alan Noble c971d4b225 Merged in portable-sockets (pull request #92)
Replaced Unix sockets with IPConn. Sock_XXX funtions have been left as is for PR readability.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2019-01-04 20:37:23 +00:00
saxon fb5acb8e6f psi: fix crc update issue by not indexing from end of pmt slice, but rather getting syntax section length field and using that to index crc 2019-01-03 17:56:08 +10:30
saxon 26a43d54bb rtp: updated error message to suit new rtpSender.send() function 2019-01-03 13:01:35 +10:30
saxon 5f20086440 rtp: removed code in rtpSender relating to chunks - something we're not using anymore in this case 2019-01-03 12:57:50 +10:30
saxon 3e5b575df0 UPdated local with remote
Merge branch 'improve-ts-encoder-performance' of http://bitbucket.org/ausocean/av into improve-ts-encoder-performance
2019-01-03 12:48:46 +10:30
saxon d037b21753 Updating branch with master
Merge branch 'master' into improve-ts-encoder-performance
2019-01-03 12:43:58 +10:30
Saxon Milton 04203ae744 psi: missed a loc =>location conversion 2019-01-03 02:10:32 +00:00
Saxon Milton 474b3a324a removing changes not relevant to this PR 2019-01-03 02:08:55 +00:00
saxon 4da0bddf2f revid: improved error message in rtpSender.send when there is no data provided but also when there is no data in the senders chunk 2019-01-03 12:08:41 +10:30
saxon a934e02e9a revid: using switch in rtpSender.send logic rather than if-else 2019-01-03 12:06:51 +10:30
saxon e12f3e0b41 revid: updated comment above revid.rtpSender declaration 2019-01-03 12:03:06 +10:30
saxon 53d737d426 revid: missed a rtpSndr 2019-01-03 11:59:29 +10:30
saxon 12c8c604e0 Updating branch with master
Merge branch 'master' into rtp-ringbuff-bypass
2019-01-03 11:57:48 +10:30
saxon 496fa994bd revid: rtpSndr=>rtpSender 2019-01-03 11:57:43 +10:30
saxon 325067ac1f revid: linuxWebcam to startWebcam to keep less specific to particular platform as we may eventually stream from webcam on windows 2019-01-03 11:49:02 +10:30
saxon 03a88313d1 revid: fixed build errors 2019-01-03 11:25:06 +10:30
saxon d4e0fb516b Fixing smartlogger errors
Merge branch 'master' into webcam
2019-01-03 10:35:29 +10:30
saxon fd3c4010e4 revid: add old webcam starting code and renamed func to LinuxWebcam considering this will only work on linux 2019-01-03 10:35:22 +10:30
saxon 5b73c2c2ba revid: using simple startWebcam func considering it's only for testing purposes and works 2019-01-03 10:11:42 +10:30
saxon e340c9b9be rtmp: removed debug prints 2019-01-02 21:55:43 +10:30
saxon cec95cd652 rtmp: using TCP rather IP 2019-01-02 21:54:01 +10:30
saxon 0b2c38117f revid: trying to fix rtmp 2019-01-02 21:28:20 +10:30
saxon 30f3f0558f Fixing smartlogger build error
Merge branch 'master' into portable-sockets
2019-01-02 20:51:46 +10:30
scruzin 04d7540b34 Replaced Unix sockets with IPConn. Sock_XXX funtions have been left as is for PR readability. 2019-01-02 18:20:30 +10:30
Saxon Milton 6d61ff7c25 Merged in change-of-logger-package (pull request #91)
Change of logger package

Approved-by: Alan Noble <anoble@gmail.com>
2019-01-02 07:05:21 +00:00
saxon cca95f1c5d revid: fixed cmds used for testing 2019-01-02 17:32:20 +10:30
saxon 686a507ff8 revid: fixed smartlogger import path 2019-01-02 17:21:33 +10:30
saxon 94e4397594 revid: trying to work out bug 2019-01-02 17:21:03 +10:30
Saxon Milton 38998ab848 Merged in change-of-logger-package (pull request #89)
av: updated logging to suit changes made on iot and utils

Approved-by: Alan Noble <anoble@gmail.com>
2019-01-02 06:25:24 +00:00
saxon a4c73cf6c5 av: updated logging to suit changes made on iot and utils 2019-01-02 15:39:47 +10:30
saxon 1436d1f256 mts: fixed build error 2019-01-02 10:36:46 +10:30
saxon d5b6e91892 rtp: using 'size' instead of 'len' 2019-01-02 10:32:48 +10:30
saxon 692f5772a1 mts: removed usage of word len, and removed empty import 2019-01-02 10:26:34 +10:30
saxon 52b8f7bf54 mts: replaced usage of Len with Size for PktSize and PayloadSize etc 2019-01-02 10:23:02 +10:30
saxon aefdc46273 revid: updated some comments 2019-01-02 08:50:59 +10:30
saxon d0d9e20c87 revid: if no data is provided to rtpSender.send() then we check if the rtpSenders chunk is not nil, if it is, then return error 2019-01-01 16:11:32 +10:30
saxon ccd4c32ff6 revid: revid now has it's own rtpSender seperate from the loadSender slice used for multiple outputs, therefore, we can now bypass the ringbuffer in this case with a check if the rtpSender exists in the packer write method 2019-01-01 16:03:04 +10:30
Saxon Milton ebccfa1a54 Merged in raspivid-no-start-fatal (pull request #87)
revid: fatal when raspivid cannot be started

Approved-by: kortschak <dan@kortschak.io>
2018-12-29 10:57:49 +00:00
saxon e4e4e217c6 revid: using smarter startWebcam func as suggested by Dan 2018-12-29 17:04:35 +10:30
saxon 7f707288eb revid-cli: webcam to Webcam in revid-cli flag interpretation switch 2018-12-29 17:01:50 +10:30