Commit Graph

460 Commits

Author SHA1 Message Date
saxon fc897a509d USing my readN again - tested and working 2018-07-29 09:33:09 +09:30
saxon 76ced667b9 Works when I don't use my amfEncodeString, clearly we need to work on that 2018-07-29 09:31:19 +09:30
saxon bb1f63d8bd Fixed some serious bugs 2018-07-28 23:10:57 +09:30
saxon 4847728ddf Using C memory functions until I can use go ones using linkname stuff or get mine right such that they work 2018-07-28 22:32:59 +09:30
saxon 357bf4c87b Using my realloc - tested and working 2018-07-28 21:44:05 +09:30
saxon e059095c74 Using my rtmpSendPacket func - tested and working 2018-07-28 21:41:42 +09:30
saxon 8285941eec Using my sendConnectPacket func - tested and working 2018-07-28 21:30:08 +09:30
saxon fadac283e5 Created AMF 'enum' 2018-07-28 17:14:02 +09:30
saxon 7ddd2ac6d1 Using our amfEncodeInt32 - tested and working 2018-07-28 16:44:27 +09:30
saxon 93104c1539 Using my sendBytesRecieved func - tested and working 2018-07-28 16:37:15 +09:30
saxon 43c3f7032c Ported sendbytesrecieved 2018-07-28 16:36:01 +09:30
saxon 7d9d4639b9 Using my sockBufFill - tested and working 2018-07-28 16:28:24 +09:30
saxon 670e79f8f0 Using my readN - tested and working 2018-07-28 15:50:59 +09:30
saxon 89e5f334da Hopefully fixed readN problem 2018-07-28 15:47:32 +09:30
saxon 159a21c73a using my writeN tested and worked, but still using C readN 2018-07-28 15:41:38 +09:30
saxon 55d96bb2f1 Using my handshake func failed, need to go in and see what's wrong 2018-07-28 15:37:50 +09:30
saxon 4062508078 Now rtmpConnect1 is using after having gone in and started using C funcs, let's start to try and use mine instead 2018-07-28 15:36:32 +09:30
saxon 3215983163 Tried using my rtmpConnect1 func - tested but failed - going to go in and use more c stuff until working 2018-07-28 15:34:11 +09:30
saxon 71be64631b Using my rtmpConnect0 - tested and working 2018-07-28 15:32:38 +09:30
saxon 603ac6dfc7 My rtmpConnect now working after using C funcs inside 2018-07-28 15:31:45 +09:30
saxon fc53e45505 Using my rtmpConnect - tested but failed, going to go into rtmp connect and use C funcs instead of mine 2018-07-28 15:29:05 +09:30
saxon 8c2748af0f Using my rtmpSetBufferMS - tested and working 2018-07-28 15:26:38 +09:30
saxon 42f0e791cf Using my rtmpEnableWrite - tested and working 2018-07-28 15:25:31 +09:30
saxon b20a344eb1 Commented out rtmp close and rtmp frees - tested and working 2018-07-28 15:24:36 +09:30
saxon 3a56d47244 Using my rtmpParseURL- tested and working 2018-07-28 15:23:25 +09:30
saxon 0bac388843 Using my rtmpInit - tested and working 2018-07-28 15:22:15 +09:30
saxon e7ba480770 Using my rtmpAlloc - tested and working 2018-07-28 15:20:30 +09:30
saxon 69ff0bbad5 Back to working order - now we will slowly go through changing to my funcs making sure it works 2018-07-28 15:08:09 +09:30
saxon 80cc24f665 Ported ReadN, but need to get things working 2018-07-28 14:55:25 +09:30
saxon 6a6f704840 Going to start using go structs instead of C 2018-07-28 14:27:30 +09:30
saxon 5a6c6837ea Can't understand this bug I have 2018-07-28 11:25:35 +09:30
saxon 5cba7d7c02 Wrote realloc func 2018-07-28 11:05:51 +09:30
saxon 5cca4d45a5 Getting seg fault 2018-07-28 10:15:12 +09:30
saxon 0d7d445804 Got rid of build errors, just need to test 2018-07-27 14:44:02 +09:30
saxon 736e96142c Porting alot of encoding decoding funcs 2018-07-27 14:06:40 +09:30
saxon c86bede9d0 Ported sendConnectPacket - still need to test 2018-07-26 17:06:44 +09:30
saxon 46673e0309 Finally found value for av_connect 2018-07-25 10:56:59 +09:30
saxon 839738df13 Ported handshake - still need to test 2018-07-24 21:30:50 +09:30
saxon 3e0d1a01d2 Still writing handShake func and also created new memcmp func 2018-07-23 08:38:22 +09:30
saxon 4eff566a73 Started writing handshake function - program currently still buildable 2018-07-23 00:14:23 +09:30
saxon aaa7cdbdab Ported SocksSetup and tested 2018-07-22 23:31:19 +09:30
saxon 6cc807f56f Ported RTMP_IsConnected and tested 2018-07-22 23:06:10 +09:30
saxon d00a2994e3 Ported RTMP_ConnectStream and tested 2018-07-22 23:01:50 +09:30
saxon e3eaa99284 Ported RTMP_Connect0 to rtmpConnect0 - and tested with success 2018-07-22 18:18:46 +09:30
saxon 30cf9bd6e3 Ported rtmp connect 2018-07-21 08:54:16 +09:30
saxon 5938dcf0d5 Ported RTMP_SetBufferMS and tested 2018-07-20 21:34:38 +09:30
saxon cba28550e2 Implemented ported rtmpEnableWrite 2018-07-20 21:31:55 +09:30
saxon 2d02b77fc1 Removed functions we don't need 2018-07-20 21:27:28 +09:30
saxon 09a1470df7 Wrote rtmpClose and close internal and tested - but more testing needed 2018-07-20 21:23:57 +09:30
saxon d3b00475ae Using Saxon's setup URL func, tested and working 2018-07-20 17:50:32 +09:30
saxon 3b25a0f254 Replaced RTMP_Init with Saxon's rtmpInit - tested and works 2018-07-20 17:48:44 +09:30
saxon 12788e0325 Tested rtmpAlloc - works 2018-07-20 17:47:05 +09:30
saxon 1d1ff01681 Added some test cases for helper functions 2018-07-20 17:40:37 +09:30
saxon cf8568bf40 Building without error, just need to test 2018-07-20 15:14:39 +09:30
saxon e0f07b9bca Merge branch 'librtmpPorting' of http://bitbucket.org/ausocean/av into librtmpPorting 2018-07-20 14:10:38 +09:30
saxon a0fa9106d6 Creating wrapper for unsafe.Pointer conversion 2018-07-20 14:10:08 +09:30
Jake Lane 9c1c5cb601 rtmp: Implemented afmEncodeInt24 2018-07-20 10:23:40 +09:30
saxon de4e673e94 Started writing socksSetup func 2018-07-20 01:49:03 +09:30
saxon e5696f389d Wrote rtmpSetupUrl, but need to test 2018-07-20 01:05:21 +09:30
saxon e04ae76dcf Wrote rtmp init func 2018-07-19 17:30:30 +09:30
saxon 8dc2b27bad Merge branch 'librtmpPorting' of http://bitbucket.org/ausocean/av into librtmpPorting 2018-07-19 17:25:05 +09:30
saxon b8c54118c9 Created allocate func 2018-07-19 17:24:37 +09:30
Jake Lane b18ae29132 rtmp: Implement afmEncodeInt16 2018-07-19 16:59:52 +09:30
saxon 283fb1e3ab Fixed internal compiler error 2018-07-19 16:59:03 +09:30
saxon 232cb2280f Internal compiler error 2018-07-19 16:51:16 +09:30
saxon 346774ee35 Merge branch 'librtmpPorting' of http://bitbucket.org/ausocean/av into librtmpPorting 2018-07-19 16:45:15 +09:30
saxon 0c078ea7e1 Updated linking options 2018-07-19 16:43:37 +09:30
Jake Lane 6903276a18 rtmp: Implement afmDecodeInt16 2018-07-19 16:22:35 +09:30
saxon cc616b12d4 implemented endSession func 2018-07-19 16:07:31 +09:30
saxon 6e8ef99953 Created startSession func 2018-07-19 16:05:14 +09:30
saxon e83689c8e8 using my constants instead 2018-07-19 15:38:10 +09:30
saxon 6fc7640b6b added consts and cleaned some things up 2018-07-19 15:33:33 +09:30
saxon b29debd3aa Ported sockbufsend and now actually using 2018-07-19 15:27:27 +09:30
saxon 0245ec46ee Ported sockbufsend and now using 2018-07-19 15:25:10 +09:30
saxon fe53876c4f Ported sockbufsend 2018-07-19 15:23:06 +09:30
saxon 86dba64125 Merge branch 'librtmpPorting' of http://bitbucket.org/ausocean/av into librtmpPorting 2018-07-19 14:50:03 +09:30
Jake Lane b327c5772b rtmp: afmDecodeInt24 generated port from c2go 2018-07-19 14:47:03 +09:30
saxon a9e950cef7 Just need to commit 2018-07-19 04:48:31 +09:30
saxon e51ec5b929 Create AMFObject struct 2018-07-19 01:27:56 +09:30
saxon f903ebd375 Create RTMP_LNK go struct 2018-07-19 01:24:47 +09:30
saxon 5c8274786c Created go RTMPChunk struct 2018-07-19 01:11:55 +09:30
saxon c071981cfb Create go RTMPSockBuf struct 2018-07-19 01:03:59 +09:30
saxon 10cd22d02a Created go RTMP_READ struct 2018-07-19 00:54:36 +09:30
saxon 3b33d1f050 Created go AVal struct 2018-07-19 00:46:52 +09:30
saxon 91edd77b52 Created RTMP_METHOD struct 2018-07-19 00:45:01 +09:30
saxon 8d0ee6598b Create RTMPPacket go struct 2018-07-19 00:43:59 +09:30
saxon b6cd93fa4b Created RTMP go struct 2018-07-19 00:40:36 +09:30
Jake Lane a00550b638 rtmp: Implemented afmDecodeInt24 and afmDecodeString 2018-07-18 13:32:14 +09:30
saxon daf219c937 Ported http post - tested and working 2018-07-18 13:26:23 +09:30
saxon 2dd7b344f8 Finished writing httpPost - need to build and test 2018-07-18 12:21:31 +09:30
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 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 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 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
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
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