mirror of https://bitbucket.org/ausocean/av.git
e0039da2e4
Removed packetization flag for revid-cli as no longer required. Packetization will be decided based on outputs. Removed buffer type definition and Write receiver func in mtsSender_test.go as this is now defined in revid.go. Made ringbuffer size and element size consisten no matter the output methods, as we're now going to only be putting h264 in there. Modified H264 lex function to take an io.Writer rather than an Encoder. Removed destination []loadSender slice from revids fields and added an encoder []stream.Encoder slice to hold encoders used during a particular configuration. Each encoder will write to the desired outputs. Modified logic regarding encoder and sender setup. We now check what outputs we have and add encoders to revid's encoder slice depending on what each output requires. Modified outputClips routine such that it ranges through revid's encoders and encodes to them. They then write to the senders and they handle logic regarding the amount of data they send out and when. They also handle actions to perform on send failures. Wrote multiSender struct which will be written to from encoders. It will then use it's senders to distribute the data accordingly to senders that work with the encoding from said encoders. Modified senders so that their load methods no longer take ring chunks, but rather slices. Modified senders such that their release methods no longer perform chunk closing. |
||
---|---|---|
.. | ||
flv | ||
lex | ||
mts | ||
rtp | ||
encoding.go |