Commit Graph

3522 Commits

Author SHA1 Message Date
Dan Kortschak 0cfabbbad0 rtmp: remove unused functions 2018-09-26 12:10:03 +09:30
Dan Kortschak ea5c54c85d rtmp: remove unsafe and C imports from amf.go
unsafe importing functions moved to rtmp.go.
2018-09-26 12:10:03 +09:30
Dan Kortschak 61798fd4a6 rtmp: make C_AMF_Decode take a []byte
Also remove never-executed and incorrect error retry logic.
2018-09-26 12:10:03 +09:30
Dan Kortschak e649a94612 rtmp: remove unused C_AMF_DecodeArray 2018-09-26 12:10:03 +09:30
Dan Kortschak d88f0601bb rtmp: make C_AMF_DecodeArray take a []byte
This is unused.
2018-09-26 12:10:03 +09:30
Dan Kortschak 7f2385b8a2 rtmp: make C_AMFProp_Decode take a []byte
Also fix errors that exists in the librtmp implementation that resulted
in failure to progress the data pointer.
2018-09-26 12:10:03 +09:30
Dan Kortschak 7077165e63 rtmp: removed unused C_AMF3Read{Integer,String} 2018-09-26 12:10:03 +09:30
Dan Kortschak 6b2ddd3deb rtmp: make C_AMF3Read{Integer,String} take a []byte
These functions are unused.
2018-09-26 12:10:03 +09:30
Dan Kortschak 04bd966c89 rtmp: make encoders return []byte 2018-09-26 12:10:03 +09:30
Dan Kortschak 47e6db5ca1 rtmp: make C_AMF_EncodeArray take a []byte 2018-09-26 12:10:03 +09:30
Dan Kortschak d01109ced6 rtmp: make C_AMF_EncodeEcmaArray take a []byte 2018-09-26 12:10:03 +09:30
Dan Kortschak d38cd89bc3 rtmp: make C_AMF_Encode take a []byte 2018-09-26 12:10:03 +09:30
Dan Kortschak e0311dae58 rtmp: make C_AMF_PropEncode take a []byte 2018-09-26 12:10:03 +09:30
Dan Kortschak b8742e9927 rtmp: make C_AMFObject hold a []C_AMFObjectProperty 2018-09-26 12:10:03 +09:30
Dan Kortschak 52f34e4a85 rtmp: make C_AMF_EncodeNamed{Boolean,Number,String} take []byte 2018-09-26 12:10:03 +09:30
Dan Kortschak 458eb932aa rtmp: make C_AMF_EncodeNumber take []byte 2018-09-26 12:10:03 +09:30
Dan Kortschak 00b4e167f4 rtmp: make C_AMF_EncodeBoolean take a []byte 2018-09-26 12:10:03 +09:30
Dan Kortschak cf87480070 rtmp: make C_AMF_EncodeInt{24,32,String} take []byte 2018-09-26 12:10:03 +09:30
Dan Kortschak 73dd7f3a7c rtmp: remove redundant int16 encoder 2018-09-26 12:10:03 +09:30
Dan Kortschak a2620e003b rtmp: make C_EncodeInt32LE take a []byte dst 2018-09-26 12:10:03 +09:30
Dan Kortschak 4f2beed32f rtmp: make decoders take []byte 2018-09-26 12:10:03 +09:30
Dan Kortschak b86ba9e49a rtmp: use bool for m_bSendEncoding and m_bSendEncoding 2018-09-26 12:10:03 +09:30
Dan Kortschak b45f70bdf8 rtmp: make C_RTMP.m_vecChannelsOut a []*C_RTMPPacket 2018-09-26 12:10:03 +09:30
Dan Kortschak 0c124eb761 rtmp: make C_RTMP.m_vecChannelsIn a []*C_RTMPPacket 2018-09-26 12:10:03 +09:30
Dan Kortschak 46786f2436 rtmp: simplify packet allocation 2018-09-26 12:10:03 +09:30
Dan Kortschak 66cdea021c rtmp: remove incorrect and redundant calloc implementation 2018-09-26 12:10:03 +09:30
Dan Kortschak f237b5453e rtmp: make C_RTMP.m_channelTimestamp a []int32 2018-09-26 12:10:03 +09:30
Dan Kortschak 86e07e2b32 rtmp: make C_RTMPChunk.c_chunk a []byte 2018-09-26 12:10:03 +09:30
Dan Kortschak f387b827ae rtmp: remove unnecessary type conversions 2018-09-26 12:10:03 +09:30
Dan Kortschak 6978c44de6 rtmp: make m_methodCalls field a slice 2018-09-26 12:10:03 +09:30
Dan Kortschak 26e3bd264a rtmp: remove read type 2018-09-26 12:10:03 +09:30
saxon 0c2ccf55fa revid: move initialisation of revids netsender up higher in New so that we don't get nil pointer deference 2018-09-25 17:10:35 +09:30
saxon e6d0ee035e revid: added yet another message 2018-09-24 20:27:43 +09:30
saxon 9b7b88be98 revid: adding another debug print to make sure we're flushing ring buffer 2018-09-24 20:24:15 +09:30
saxon 195f52ae16 revid: adding debug prints 2018-09-24 20:21:49 +09:30
saxon 724042baeb revid: change no of frames per clip to 25 for http 2018-09-24 19:56:05 +09:30
Saxon Milton 4bf78b7e97 Merged in raspivid-quality-fix (pull request #64)
raspivid stream quality fix

Approved-by: kortschak <dan@kortschak.io>
2018-09-24 06:55:08 +00:00
saxon ed8613a255 revid: return any errors from conversion of frame rate to int 2018-09-24 16:09:03 +09:30
Saxon Milton 0cf6014887 revid: passing delay corresponding to fps into lexTo - fixing quality issue when streaming from raspivid (not sending stuff too fast) 2018-09-24 15:57:00 +09:30
Saxon Milton 9bf4ee4bf0 Merged in raspivid-exec-fix (pull request #63)
revid: used args... in exec rather than strings.join to fix bug

Approved-by: kortschak <dan@kortschak.io>
2018-09-24 04:34:09 +00:00
saxon 8df244891a revid: used args... in exec rather than strings.join to fix bug 2018-09-24 13:21:03 +09:30
Saxon Milton 49e8220a25 Merged in av-logging-update (pull request #61)
revid-cli: stopped using config.Verbosity and started using config.LogLevl to fix errors
2018-09-22 05:52:02 +00:00
saxon 3d85a4471a revid-cli: stopped using config.Verbosity and started using config.LogLevl to fix errors 2018-09-22 15:20:15 +09:30
Saxon Milton be1bf3ef77 Merged in av-logging-update (pull request #57)
av-logging-update

Approved-by: kortschak <dan@kortschak.io>
2018-09-22 05:40:50 +00:00
saxon b210530330 revid: change Verbosity to LogLevel in config.go 2018-09-22 14:46:54 +09:30
saxon 8f56a82053 revid: fixed log messages in config.go to make easier to understand 2018-09-22 14:45:07 +09:30
saxon 1a2fa72e58 revid-cli: removed switch to set config verbosity - netsender already does this 2018-09-22 14:35:41 +09:30
saxon 9c56d608b3 revid-cli: passing logger to ns.Init 2018-09-21 14:42:50 +09:30
saxon 45deda6c75 revid-cli: using fatal log type if revid doesn't run 2018-09-20 11:40:12 +09:30
saxon 1f68da5bfc revid-cli: removed uppercase and exclamation marks in logging messages within main.go 2018-09-20 11:38:08 +09:30