Commit Graph

1025 Commits

Author SHA1 Message Date
Dan Kortschak 7e1d7f77b8 revid,encoding/{flv,mts}: remove in-bound chans for packet encoders 2018-08-19 21:28:20 +09:30
Dan Kortschak 437c7756df flv: rename encoder type 2018-08-19 21:05:04 +09:30
Dan Kortschak 5d8eca850c mts: rename encoder type 2018-08-19 20:39:57 +09:30
Dan Kortschak c0f9f7bf7b encoding: restructure packages handling stream encoding 2018-08-19 20:29:22 +09:30
kortschak 9e28fd45fd Merged in gardening/tsgen (pull request #44)
generator: clean up MPEG-TS encoding

Approved-by: Alan Noble <anoble@gmail.com>
2018-08-19 08:45:29 +00:00
saxon 9f61f33deb deleting binary 2018-08-19 13:35:22 +09:30
Dan Kortschak 7ee79ad0be generator: update copyright dates 2018-08-19 13:34:33 +09:30
Dan Kortschak b036517329 generator: add CRC32 calculation
This uses a big-endian CRC32 algorithm rather than the hash/crc32
package's little-endian implementation.
2018-08-19 10:25:37 +09:30
Dan Kortschak 9a73d00fff generator: disect and annotate pat and pmt tables 2018-08-18 23:28:26 +09:30
Dan Kortschak 3279a4746d generator: refactor main processing loop and improve commentary 2018-08-18 17:19:26 +09:30
saxon d7d2d3b9d5 Got rid of all C.realloc and replaced with my realloc func - tested and working 2018-08-18 15:48:49 +09:30
saxon 54ee353f6b Wrote calloc func and replaced C.calloc with it - tested and working 2018-08-18 14:01:38 +09:30
saxon eda42f4e10 Got rid of all C.mallocs and changed to my malloc, also removed all C.free - tested and working 2018-08-18 13:56:10 +09:30
saxon efb5b75f1a Started using my structs - tested and working 2018-08-18 13:51:07 +09:30
Dan Kortschak 7d1bfcefe9 generator: merge PTS and PCR clocks 2018-08-18 13:36:14 +09:30
Dan Kortschak 1fb325314d generator: clean up time 2018-08-18 13:21:50 +09:30
saxon 3da48c15d3 removed unused code 2018-08-18 12:54:40 +09:30
Dan Kortschak 15d2fc6afe generate: remove sdtPid map entry 2018-08-18 12:06:34 +09:30
Dan Kortschak ddb78a6234 generator: clean up MPEG-TS encoding
This deletes or marks unused cruft, removes internal chans and makes
interface chans single item long to make way for removal.
2018-08-18 11:27:39 +09:30
saxon 05b9416aa4 Simplified code 2018-08-18 01:00:51 +09:30
saxon 6b2644a517 Fixed problems with mpegts generator 2018-08-18 00:48:13 +09:30
saxon aef3cd3001 Using AMFProp_Decode everywhere -tested and working 2018-08-15 20:46:38 +09:30
saxon 1e6bf462da Chedk that everything is working 2018-08-15 20:43:47 +09:30
Dan Kortschak 8be354a6d5 Port AMF3ReadInteger, AMF3ReadString, AMF3DC_AddProp and AMFProp_SetName 2018-08-15 19:27:14 +09:30
Dan Kortschak 346e63ca7c Finish up most of AMFProp_Decode
Punt one call, AMF3_Decode, that has AMF3ReadInteger, AMF3ReadString,
AMF3CD_AddProp, AMF3Prop_Decode and AMFProp_SetName as deps.
2018-08-15 17:29:05 +09:30
saxon 2e608aba88 In the middle of AMFProp_Decode 2018-08-15 05:28:34 +09:30
saxon 6113174e3d Ported AMF_AddProp - tested and working 2018-08-15 04:47:43 +09:30
saxon a2931934a6 Ported AMFProp_Reset - tested and working 2018-08-15 04:33:34 +09:30
saxon 62a1f6dec1 Ported AMF_Reset - tested and working 2018-08-15 04:28:34 +09:30
saxon 11bc432b54 Ported SendCheckBW - tested and working 2018-08-15 04:23:15 +09:30
saxon 6e7dbcda60 Ported SendPublish - tested and working 2018-08-15 04:19:18 +09:30
saxon a3654269e5 Ported RTMP_SendCreateStream - tested and working 2018-08-15 04:13:24 +09:30
saxon a61d4a3a60 Ported SendFCPublish - tested and working 2018-08-15 04:05:15 +09:30
saxon e02c785881 ported SendReleaseStream - tested and working 2018-08-15 04:00:49 +09:30
saxon 6cfabc671f Ported AV_erase - tested and working 2018-08-15 03:34:18 +09:30
saxon 27006d8fd3 Forgot to actually ues AMFProp_GetNumber - tested and working 2018-08-15 03:16:46 +09:30
saxon 9c460b90cf Ported AMFProp_GetNumber - tested and working 2018-08-15 03:14:35 +09:30
saxon 137c5a0c14 Ported AMF_GetProp - tested and working 2018-08-15 03:09:57 +09:30
saxon 48042f6813 Ported AMFProp_GetObject - tested and working 2018-08-15 02:54:41 +09:30
saxon 165a855d51 Ported AMFProp_GetString to C_AMFProp_GetString - tested and working 2018-08-15 02:47:40 +09:30
saxon e1079dab98 Ported C_AMF_Decode - tested and working 2018-08-15 02:36:17 +09:30
saxon 11798bb9ff Updated c stuff to be more usable while we port 2018-08-14 22:59:58 +09:30
saxon bd4131e974 Added files and line numbers to port todos 2018-08-14 22:59:10 +09:30
saxon 9266fc79d7 Simplified code (identified code that doesn't run in our use case - reducing no of funcs to port 2018-08-14 22:51:25 +09:30
saxon 4723a46c91 Fixed seg fault bug - HandlInvoke ported to C_HandleInvoke - tested and working 2018-08-14 22:30:47 +09:30
saxon da99cbe86b Ported HandleInvoke - need to test 2018-08-14 18:22:37 +09:30
saxon 73e2c9977a Identified functions that need porting using todo comments above HandleInvoke in rtmp.go at +1911 onwards 2018-08-14 16:36:42 +09:30
saxon 96290d295d Marking functions that need to be ported 2018-08-14 12:52:40 +09:30
saxon ceb954a328 Ported AVMATCH - not yet tested 2018-08-14 12:45:03 +09:30
saxon 5a3383c27d Fixing the formatting of HandleInvoke - it was real bad before - probably wrong 2018-08-14 12:33:52 +09:30