Commit Graph

32 Commits

Author SHA1 Message Date
saxon 2da8d2af85 av/rtmp/rtmp_test.go: using local rtmpSender io.writer implemntation to handle errors from rtmp 2019-01-22 13:54:56 +10:30
scruzin 9cc0e5631c Session now Conn, and NewSession()+Open() replaced by Dial(). 2019-01-19 13:25:05 +10:30
Dan Kortschak 7d989a17f2 rtmp: fix build 2019-01-17 16:20:51 +10:30
Saxon Milton a76be1fd5b Merged in single-frame-h264 (pull request #108)
av: allow for single h264 frame streaming

Approved-by: kortschak <dan@kortschak.io>
2019-01-16 05:28:20 +00:00
Alan Noble b9d99cc78a Merged in rtmp-refactoring-2 (pull request #107)
Second pass at RTMP refactoring.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-01-15 04:31:26 +00:00
scruzin aa789f7e78 TestSetupURL renamed TestInit. 2019-01-13 14:33:14 +10:30
scruzin fb36a2dccf Added TestErrorHandling which subsumes TestOpenClose. 2019-01-13 14:30:40 +10:30
scruzin 8898ee3add setupURL() now a method on Session and renamed init(). 2019-01-13 09:18:52 +10:30
saxon 1e1a6bf0eb rtmp: re-added blank line in rtmp_test.go and renamed sei to suppEnhInfo 2019-01-11 23:43:54 +10:30
saxon 61c1ff6ee4 rtmp: got handle errors that should stop the encoding with a middle man rtmpSender 2019-01-11 18:19:58 +10:30
saxon b63c55ae48 flv: fixed NewEncoder so that we still create encoder even if the HeaderByte write fails 2019-01-11 18:09:32 +10:30
saxon 83f5e9e68d rtmp: no longer hardcoding frame test file path 2019-01-11 18:03:07 +10:30
saxon 10860e4e48 lex: modified h264 lexer to consider nal type 6 packets, i.e. sei packets, which seem important fro repeating single frames 2019-01-11 17:20:56 +10:30
Dan Kortschak 7f07c4cb20 revid,stream/flv: add back initial header write 2019-01-11 13:53:05 +10:30
scruzin 2f3c2cc0e2 Added ToDo. 2019-01-11 11:17:14 +10:30
scruzin 8a23609f6e Exit test for errors and fatals errors regardless of testVerbosity. 2019-01-11 07:24:31 +10:30
scruzin b388f5374f Removed superfluous url param from setupURL() and obtain it from the Session object instead. 2019-01-11 00:06:44 +10:30
scruzin e6504734d0 Rate limit TestFromFrame output to 25 FPS. 2019-01-10 21:22:00 +10:30
scruzin a318f9c3eb Added media streaming tests and improved comments. 2019-01-10 15:33:24 +10:30
saxon b219690b10 rtmp: added streaming from file test 2019-01-10 13:58:58 +10:30
saxon d9c98a0341 rtmp: added streaming from file testing 2019-01-10 13:56:20 +10:30
scruzin 9796465018 Exit if RTMP_TEST_KEY not defined. 2019-01-10 12:51:18 +10:30
scruzin d1958ff75d Initial revision. 2019-01-09 17:34:38 +10:30
Dan Kortschak fcfdd69b8e rtmp: remove unsafe use from rtmp.go 2018-09-26 17:06:06 +09:30
Dan Kortschak e5faa396c1 rtmp: use C.CString
Now GODEBUG=cgocheck=0 is not needed.
2018-09-26 12:10:03 +09:30
Dan Kortschak 43b3c8631d rtmp: remove unused memset 2018-09-26 12:10:03 +09:30
Dan Kortschak 0cfabbbad0 rtmp: remove unused functions 2018-09-26 12:10:03 +09:30
Dan Kortschak fed685b107 rtmp: fix test 2018-09-08 16:07:00 +09:30
Dan Kortschak 74e468dfb3 rtmp: remove unnecessary type conversions with unconvert 2018-09-01 23:31:08 +09:30
Dan Kortschak 40785e7454 rtmp: make tests pass 2018-09-01 23:20:32 +09:30
Dan Kortschak 6187df1c20 rtmp: remove deadcode and make tests pass 2018-08-31 11:13:59 +09:30
saxon 07518774b4 rtmp: fixed testing file 2018-08-22 16:18:38 +09:30