Commit Graph

2483 Commits

Author SHA1 Message Date
Dan Kortschak 372c42d5aa flv,generator: clean up FLV handling 2018-07-07 15:27:59 +09:30
Dan Kortschak d7525e0a47 cmd/revid-cli: add profiling support 2018-07-05 20:54:10 +09:30
Dan Kortschak db6ca2922a revid,parse: wire parse.H264 to revid
Through experimentation I have realised the previous ordering of NALU
types does not work with YouTube. I have also exhaustively checked the
requirement for each of the 3 NALU types that are checked and all are
needed. Finally, I have checked whether 7 is needed because of its
inclusion in a parallel branch; checking for this type prevents this
code from working.
2018-07-05 19:10:17 +09:30
saxon e4a1583583 Working on porting rtmp write func 2018-07-05 16:25:46 +09:30
saxon 157ac833db Implemented writeFrame in go, next is rtmp write frame 2018-07-05 12:38:02 +09:30
saxon 132cf79f4c Merge branch 'LibRTMPPortingAttempt2' of https://bitbucket.org/ausocean/av into LibRTMPPortingAttempt2 2018-07-05 11:27:38 +09:30
saxon 3d3b4d2af5 Getting ready for a test run 2018-07-05 10:16:30 +09:30
saxon.milton@gmail.com c9b162cc0b Merged in revidTestingImrpovement (pull request #38)
RevidTestingImrpovement

Approved-by: saxon.milton@gmail.com <saxon.milton@gmail.com>
2018-07-05 00:42:53 +00:00
saxon d68b1c78bf Reverting rtmp.go to orginal 2018-07-05 09:58:57 +09:30
saxon 419ee0e76e Deleting stuff I don't need 2018-07-05 09:49:30 +09:30
saxon 1f6c2cf466 Getting rid of tests I don't need atm 2018-07-05 09:30:47 +09:30
saxon 75ce6e10bf Potentially simplified linker options 2018-07-04 23:02:02 +09:30
saxon cac22540c0 Using flag for rtmp url 2018-07-04 22:44:39 +09:30
saxon e6c2cf5f00 Improved error message 2018-07-04 22:19:45 +09:30
saxon 76909221a9 Using out instead of outputFile 2018-07-04 22:15:24 +09:30
saxon b59e756d53 Using n instead of count, and also simplified code 2018-07-04 22:13:18 +09:30
saxon b3a57557e2 Using ReadAll for reding instead of just read 2018-07-04 22:05:38 +09:30
saxon eda6fc54bd Use f instead of inputFile 2018-07-04 21:45:03 +09:30
saxon 0933912f76 Using log instead of fmt 2018-07-04 21:43:17 +09:30
saxon c861862ff7 Got rtmp test working 2018-07-04 16:39:09 +09:30
saxon 72cd0b7a03 Got simple frame check working 2018-07-04 14:57:23 +09:30
saxon ff4d628da9 Merge branch 'revidTestingImrpovement' of https://bitbucket.org/ausocean/av into revidTestingImrpovement 2018-07-04 13:36:14 +09:30
saxon 0f47256297 Got h264 file to flv rtmp test driver built 2018-07-04 13:34:09 +09:30
Saxon Milton fd730a5235 need to update remote 2018-07-04 00:12:44 +09:30
Saxon Milton 79710f27f6 Trying to get it to build 2018-07-02 13:12:11 +09:30
Dan Kortschak 353d2cfcc7 revid,revid-cli: remove non-functional RTP mention and add MPEGTS config option 2018-06-30 21:50:55 +09:30
Saxon Milton 94a9f8fe77 no message 2018-06-29 03:31:05 +09:30
Saxon Milton 0cae97b9ee removing stuff we don't need 2018-06-29 01:06:40 +09:30
Saxon Milton bbb3ddf00f changing package names to hopefully something more go idiomatic 2018-06-28 22:54:20 +09:30
Saxon Milton a235398961 Removed testing file that's being moved to test repos 2018-06-28 22:32:21 +09:30
Saxon Milton ede44cefe1 for some reason didn't track changes, committing again 2018-06-28 21:56:06 +09:30
Saxon Milton f1aefcdfeb added appropriate test files and ran go fmt over av 2018-06-28 21:52:48 +09:30
Dan Kortschak 3990482ac4 rtmp: actually use our rtmp
Previously ld was linking with the system-wide lib, which is a
dependency of apt, and so present on the system by default. We could
drop our code here, but at the moment it is convenient to leave for
devugging purposes.
2018-06-28 21:09:21 +09:30
Alan Noble dd9e7751e5 Skip looping for X23 when rv is nil. 2018-06-28 16:13:06 +09:30
Alan Noble 796aaa9d95 Start revid if !paused. 2018-06-28 16:01:15 +09:30
Alan Noble 0daaf89154 Defend against nil rv in send(). 2018-06-28 15:31:34 +09:30
Alan Noble 9dd53b58a0 Initialize vs by calling VarSum() before looping. 2018-06-28 14:34:05 +09:30
Saxon Milton 55db8289ca Still writing 2018-06-28 14:20:57 +09:30
Saxon Milton bf59e8adfc Removed redundant passing of byte length 2018-06-28 12:51:23 +09:30
Saxon Milton 9d186f51bb started porting rtmpWrite func 2018-06-28 03:32:16 +09:30
Saxon Milton 6b4ece57e5 Started moving functionality to rtmp.go 2018-06-28 02:53:50 +09:30
Alan Noble 5ff305e71a Merged in netsender-sharing (pull request #36)
Added ns to Revid struct, so it could be exposed as a httpSender, and refactored revid-cli accordingly.

Approved-by: kortschak <dan@kortschak.io>
2018-06-27 02:05:17 +00:00
Alan Noble 99ef1d0727 PR feedback and some other clean-up. 2018-06-27 07:50:05 +09:30
Alan Noble 1645b759f1 Added ns to Revid struct, so it could be exposed as a httpSender, and refactored revid-cli accordingly. 2018-06-26 15:53:55 +09:30
Dan Kortschak 62147e160d parse: new package to replace parser
This package provides stateless parsing, simplifying inclusing in
concurrent use and reducing synchronisation.

Use depends on a chan writer type until the generator package is
simplified.
2018-06-25 23:22:38 +09:30
Alan Noble 1383fd8b91 Ignore system params in updateRevid(). 2018-06-25 11:26:08 +09:30
Alan Noble 1e2396716e Removed all command-line params but -NetSender so that all (non-default) params are taken from NetReceiver. 2018-06-25 11:17:57 +09:30
Alan Noble 904fa6d7dc Added "Output" case to updateRevid() plus better error checking. 2018-06-25 11:09:56 +09:30
Alan Noble 9d113cc498 Renamed NativeRtmp to just Rtmp - since it is exposed to clients. FfmpegRtmp should be deprecated. 2018-06-25 10:53:26 +09:30
Alan Noble 72d7dc3991 GetConfigParam() renamed Param(). 2018-06-25 10:10:37 +09:30