Commit Graph

2609 Commits

Author SHA1 Message Date
saxon d23ab3b1a0 rtmp: Finished reordering funcs in rtmp.go to better reflect order in rtmp.c in C librtmp 2018-08-24 18:50:04 +09:30
saxon 43701a252f rtmp: start reordering funcs in rtmp.go, still need to do a few more 2018-08-24 10:43:34 +09:30
saxon 1441d1d968 rtmp: reordered struct order in rtmp_headers.go such that it matches up with order in rtmp.h under C librtmp 2018-08-24 10:34:10 +09:30
saxon e22516d9cb rtmp: fixed order of struct declarations in amf_headers.go to match that of amf.h under C librtmp? 2018-08-24 10:30:24 +09:30
saxon dfa146f276 rtmp: file header comments to reflect file name and appropriate authors 2018-08-24 10:25:36 +09:30
saxon 9cb70ac06b rtmp: created session.go file and moved librtmp wrapper functions into this file, i.e. NewSession, Open, Close and Write 2018-08-24 09:52:51 +09:30
saxon 4fa0637fa1 rtmp: moved amf structs into amf_headers.go and rtmp structs into rtmp_headers.go 2018-08-24 09:47:11 +09:30
saxon dec662d19e rtmp: created rtmp_headers.go and amf_headers.go files to store stuff that was in rtmp.h and amf.h files respectively 2018-08-24 09:41:02 +09:30
saxon 0adddd1833 rtmp: started reordering funcs in rtmp.go - realised that I need a rtmp_headers.go file to store stuff that's from rtmp.h 2018-08-24 09:38:17 +09:30
saxon 898c843f18 rtmp: added appropriate imports to each file to correct build errors 2018-08-24 09:33:05 +09:30
saxon 68b9f2a5e0 rtmp: created parseurl file and moved C_RTMP_ParseURL and C_RTMP_ParsePlaypath from to rtmp.go to parseurl.go 2018-08-24 07:04:01 +09:30
saxon 8f3d4b75bf rtmp: moved all AMF funcs from rtmp.go to amf.go 2018-08-24 06:58:22 +09:30
saxon 7a9fef826c rtmp: moved amf structs from rtmp.go to amf.go 2018-08-24 06:49:47 +09:30
saxon 595fa5a469 rtmp: tracking new file amf.go 2018-08-24 06:47:13 +09:30
saxon 6019bb4559 rtmp: moved amf enum from rtmp.go to amf.go 2018-08-24 06:44:15 +09:30
saxon.milton@gmail.com d813a56ad6 Merged in librtmpPorting (pull request #41)
LibrtmpPorting

Approved-by: saxon.milton@gmail.com <saxon.milton@gmail.com>
2018-08-23 20:55:15 +00:00
saxon ce95cad9ef rtmp: addedd additional licensing information in rtmp.go header 2018-08-24 06:14:37 +09:30
saxon fbd94e659f rtmp: updated cgo LDFLAGS so that not outdated and does not cause undefined symbol runtime error on pi 2018-08-24 06:11:21 +09:30
Dan Kortschak b8bf44f57e parse=>stream/lex: move lexing to better location and name 2018-08-23 15:06:32 +09:30
Dan Kortschak eedc473125 revid,parse: remove io.Writer/stream.Encoder shim 2018-08-23 14:51:12 +09:30
kortschak 90fac96048 Merged in encoding (pull request #45)
encoding: remove in-bound chans

Approved-by: Alan Noble <anoble@gmail.com>
2018-08-23 04:31:38 +00:00
saxon 07518774b4 rtmp: fixed testing file 2018-08-22 16:18:38 +09:30
saxon 0def69f012 revid: added flag options to usage output 2018-08-22 13:45:20 +09:30
saxon 6dd791f7e1 rtmp: changed call to allocate to call to malloc as allocate does not exist anymore 2018-08-21 18:44:26 +09:30
saxon 5f7d84a120 revid: getting rid of crt dependency and using C.realloc for the time being 2018-08-21 18:42:13 +09:30
Alan Noble ce04e5f5ce revid: convert size for realloc to int32 so that compiler doesn't complain when on go1.10 2018-08-21 17:58:04 +09:30
Alan Noble cacf89e499 Run revid-cli as pi user. 2018-08-21 15:01:16 +09:30
Alan Noble d703622b41 Set GOPATH. 2018-08-20 17:50:54 +09:30
Alan Noble 2d4a3bf70a Require GOPATH. 2018-08-20 17:43:56 +09:30
Alan Noble eff48ef4fc Removed obsolete basic-driver. 2018-08-20 14:52:41 +09:30
saxon aae9acdd64 Removed unused consts 2018-08-20 11:57:13 +09:30
saxon 1b4db5b0dc Removed session interface and mad session struct exported 2018-08-20 10:22:36 +09:30
Alan Noble 1e9c042c02 BaseDir is always under /home/pi plus extra error checking. 2018-08-20 09:03:05 +09:30
Dan Kortschak 05ba19e4aa encoding->stream: rename packages 2018-08-20 07:49:02 +09:30
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