Commit Graph

507 Commits

Author SHA1 Message Date
saxon f7c9719d5b Move amfEncodeString under rtmpWrite 2018-07-18 12:02:02 +09:30
Jake Lane 9ac7f6d1f7 rtmp: Implement afmEncodeString 2018-07-18 11:58:13 +09:30
saxon 97cae6ff20 Ported AV_queue - tested and working 2018-07-18 11:41:44 +09:30
saxon 894a62716c Ported writeN, and tested with success 2018-07-17 19:35:25 +09:30
saxon c7930e2cbe Scratch that, it looks fine 2018-07-17 18:56:53 +09:30
saxon 510f431b90 Building and running, but not working - looks like video input into youtube is not enough, going to use nethogs 2018-07-17 18:23:31 +09:30
saxon dd41aeb966 Fixed some other little things, but still doesn't fix the seg fault 2018-07-17 18:00:24 +09:30
saxon a24003af44 Having a lot of trouble 2018-07-17 03:17:17 +09:30
saxon 09682cd6a0 Using my sendPacket - getting seg fault 2018-07-17 01:30:25 +09:30
saxon 825a5f6f29 Everything is building now, time to test with youtube 2018-07-17 01:26:52 +09:30
saxon 1c8146c8f3 Now it builds using go1.9 2018-07-17 01:08:31 +09:30
saxon 41746a8844 About to push 2018-07-17 00:07:34 +09:30
saxon d73dea687a Finished dealing with bugs, but now I have a really ugly error that gives no indication to where abouts 2018-07-16 18:50:17 +09:30
saxon 376a694cd9 Added more specific decrement functions 2018-07-16 14:37:26 +09:30
saxon d1362d659f Fixing build errors 2018-07-16 13:16:40 +09:30
saxon 876f552c2a Wrote some more helpful functions specific to certain types, and also did some more testing, and also some commenting 2018-07-16 13:00:58 +09:30
saxon ccdcba91ea Testing passed for inc ptr and dec ptr 2018-07-16 03:39:36 +09:30
saxon fc6dfef893 Started writing test file for easily testable functions 2018-07-16 01:45:52 +09:30
saxon 50c3f8c20a Writing more universal functions so that they can work on multiple types 2018-07-15 18:56:59 +09:30
saxon abd5cc27de Wrote WriteN - still need to test 2018-07-15 17:18:24 +09:30
saxon 39ad3b6ac8 Moving things around a bit to make it cleaner 2018-07-15 16:50:56 +09:30
saxon 384fa23e5b Finished writing out the sendPacket function, now time to try and compile 2018-07-15 16:48:38 +09:30
saxon 12f02fb261 Updating my progress - currently porting sendPacket 2018-07-15 16:21:20 +09:30
saxon 897c1541c3 Replaced copy with memmove 2018-07-14 22:10:01 +09:30
saxon bc007a09f8 Just saving my progress :) 2018-07-14 15:36:58 +09:30
saxon a9b5c7a26f Added some commenting above functions 2018-07-14 15:21:01 +09:30
saxon 0898d50f0f Using indxptr func in all places 2018-07-14 15:01:06 +09:30
saxon a48d2fe008 Created inxPtr func to get values in array 2018-07-14 14:59:00 +09:30
saxon 3ae7bf79da Added todo comments 2018-07-14 14:52:54 +09:30
saxon 965641be16 Got rid of C.memcpy 2018-07-14 14:49:21 +09:30
saxon 438cf8470b Created incPtr function for ptr increment 2018-07-14 14:30:58 +09:30
saxon 472ba48f07 more clean up of rtmpWrite - Removed unecessary conversions to unsafe pointer 2018-07-14 14:24:10 +09:30
saxon c3bd4b5e0b Started porting sendPacket 2018-07-14 02:08:59 +09:30
saxon 8ab61598a9 Cleaned up further 2018-07-14 01:58:23 +09:30
saxon 391c9a538e Fixed it again - don't try to emulate memcpy with a loop 2018-07-14 01:33:59 +09:30
saxon c2e1df170c Tried to make it more go like, but think I broke it 2018-07-14 01:13:17 +09:30
saxon b0aa39c29b Finally working 2018-07-13 20:30:52 +09:30
saxon 4c1892e36f Still trying to debug 2018-07-13 05:21:17 +09:30
saxon 137d60bde6 Still can't find the bug 2018-07-13 03:37:57 +09:30
saxon 4819cc92ec Fixed to the extent that youtube thinks stream is starting but nothing playing 2018-07-13 02:46:05 +09:30
saxon 7b20e8f767 Just about to fix is I think 2018-07-13 02:33:06 +09:30
saxon b1f470344d Making more C like to try and fix bugs - about to test 2018-07-12 23:47:11 +09:30
saxon f4cb2700ca Started writing sendPacket func 2018-07-12 02:50:00 +09:30
saxon d82838dcc0 Got rid of writeFrame func we don't need 2018-07-12 02:36:33 +09:30
saxon 18cdcde149 About to test 2018-07-12 01:02:46 +09:30
saxon 46cff84322 Ran go fmt 2018-07-12 00:50:18 +09:30
saxon 24eac36bbd It builds 2018-07-12 00:35:53 +09:30
saxon 929bdb32f9 Think I've cleaned it up a bit more, about to build 2018-07-12 00:31:17 +09:30
saxon 030b3f6fca Taking a break 2018-07-11 14:54:35 +09:30
saxon ea14c4989b About to try and build 2018-07-11 14:26:07 +09:30
saxon 4415d2c089 Finished making major change to how I increment pointers 2018-07-11 14:22:17 +09:30
saxon 9c67bc06a3 About to make a big change, so want to commit now 2018-07-11 14:16:19 +09:30
saxon 072c065224 rtmp.go builds after porting RTMP_Write to rtmpWrite. Still need to clean up and test 2018-07-10 20:06:49 +09:30
saxon a4349bd013 Getting rid of errors 2018-07-10 18:45:34 +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 75ce6e10bf Potentially simplified linker options 2018-07-04 23:02:02 +09:30
saxon c861862ff7 Got rtmp test working 2018-07-04 16:39:09 +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 590136197b Remove compiled objects and binaries. 2018-06-22 18:18:46 +09:30
Dan Kortschak 2dda2cfac9 rtmp: commit changes missed in 3a3181 2018-06-20 14:32:50 +09:30
Dan Kortschak 3a31812e0a rtmp: pull verbosity out of C code 2018-06-20 13:56:40 +09:30
Dan Kortschak 5bdd66e22b rtmp: rename StartSession to Open 2018-06-17 20:45:58 +09:30
Dan Kortschak b7b000aeac revid,ring: plumb in ring buffer with WriteTo
There is a residual scar of an intermediate []byte copy because of the
signature of http.NewRequest, but this can be addressed later. The rtmp
interface needed alteration so that rtmp.Session satisfies io.Writer.
2018-06-06 17:55:10 +09:30
kortschak 219971230c Merged in kortschak/av/cgo/nocopy (pull request #20)
rtmp: remove unused allocation and copy
2018-06-01 15:02:49 +00:00
Dan Kortschak c749523c2a rtmp: do not build in crypto 2018-06-01 15:19:26 +09:30
Dan Kortschak 65a4abb24b rtmp: remove unused allocation and copy 2018-06-01 08:25:42 +09:30
Dan Kortschak fb64a47d89 rtmp: fix RTMP* handling 2018-05-30 15:52:33 +09:30
richardsonjack 1204b02ee5 remove non required crypto linking flags 2018-05-30 11:25:21 +09:30
Dan Kortschak 173d7c3879 rtmp: clean up session handling and CGO interface
* Make C compilation arch-independent, including shared lib use and fix
  for broken librtmp include install.
* Provide package-root level makefile for building C lib.
* Remove package global.
* Use Go-idiomatic naming for methods.
* Restucture flow to reduce indentation.
* Use []byte len in place of additional param.
* Use unix-idiomatic return status values.
2018-05-29 15:36:28 +09:30
Saxon1 39e6a785ef removed bad free and added better to clean output chan 2018-05-06 00:26:02 +09:30
Saxon1 c56f414229 trying something else 2018-05-06 00:10:54 +09:30
Saxon1 43277c81ac maybe this will work 2018-05-06 00:04:07 +09:30
Saxon1 2316eea04c Correcting syntax error in c code 2018-05-05 23:59:51 +09:30
Saxon1 e6aefb2e65 not giving c stuff go pointers 2018-05-05 23:58:26 +09:30
Saxon1 88c2104048 Let's try this 2018-05-05 23:42:29 +09:30
Saxon1 567d52aacc another potential fix 2018-05-03 15:26:09 +09:30
Saxon1 51ade541c9 changed redundent data creation 2018-05-03 15:08:10 +09:30
Saxon1 b9987fe227 trying to fix rtmp issues 2018-04-26 16:30:18 +09:30
Saxon1 5847aad552 removed mutex 2018-04-26 16:04:47 +09:30
Saxon1 ab2fef756f added librtmp 2018-04-19 13:37:15 +09:30
Saxon Milton 7aad4dfba3 Untracking librtmp 2018-04-17 14:33:58 +09:30
Saxon Milton cd1e108dcf added uintToBool as common utility function 2018-04-16 15:05:16 +09:30
Jack Richardson 70a2058b9a remove unneeded flag 2018-03-14 15:00:17 +10:30
Unknown 86bc3602d7 go fmted 2018-03-14 11:48:03 +10:30
saxon.milton@gmail.com d718534f0f updating remote 2018-03-14 11:19:21 +10:30
Unknown 57d416563a Just cleaning stuff up before testing 2018-03-13 11:44:43 +10:30
Saxon Milton 5c4eda1d6f removing stuff i don't need 2018-03-01 01:23:39 +10:30
Unknown ff401ee48d Another update 2018-02-19 15:41:29 +10:30
Unknown ed88df0110 Auto stash before merge of "rtmpOutputFunctionality" and "origin/rtmpOutputFunctionality" 2018-02-19 15:36:13 +10:30
Unknown 182cfeef88 Still trying 2018-02-16 16:16:24 +10:30
Unknown a38b86236c almost there I think (hope) 2018-02-15 18:43:45 +10:30
Unknown 1407ebe39b Trying to get rtmp working, but it's not 2018-02-15 17:32:04 +10:30
Unknown 7f498c8d00 Debugging 2018-02-14 17:32:57 +10:30
Unknown 400f909dd4 Managed to link c code with cgo :) 2018-02-14 16:30:44 +10:30
Saxon Milton a9df7b7adc THink I've fixed some obvious syntax errors, but will need to debug tomorrow using cgo 2018-02-13 19:53:25 +10:30
Saxon Milton 8e6f6ba3e0 Adding C rtmp libraries 2018-02-13 19:17:53 +10:30
Saxon Milton cf53668bcd Working on rtmp wrapper for the C stuff 2018-02-13 19:09:26 +10:30
Saxon Milton 0ac9c3d50b Writing C based wrapper for rtmp stuff which I'll then call using cgo 2018-02-13 00:01:19 +10:30