ffmpeg is now installed from vcpkg, registered as submodule.
ringbuf_framenum: set the buffer size of internal ringbuffer to collect samples asynchrounously between audio thread and network. Note that the number will be multiplied to Signal Vector Size in Audio Setting. Default is x4.
"getlatency" message for mc.rtpreceiver~
outputs packet latency from second outlet. Note that this latency just taken from RTP packets' timestamp and does not include a latency caused from buffering. Generally, large signal vector size may causes a large latency, too small buffer size causes audio glitch. 128~512 is recommended.
C++ class refactorings & cleeanups.
2 new Attributes are added.
use_rtsp(bool, default=true): you can choose either of using rtsp handshaking or raw rtp protocol.
Note that, when using raw rtp protocol, receiver assumes audio parameter from internal parameters because it does no handshaking. Thus different paramters between sender and receiver in this mode may cause audio glitch or some unexpected behaviour.
Also, it has a bug that turning on&off of dsp quickly will cause temporary hang for 4~5 second.
Added GitHub workflow and funding pages.
Fixed hangs when receiver is reinstanciated before finishes connection.
Fixed hanging when sender/receiver could not connect to server. Now sender also transmits packets asynchronously from audio/main thread.
This release contains many many refactorings.
Especially, receiving packets and pushing samples to object's output works asynchronously on mc.rtpreceiver~
.
This resolved the problem that receiver blocks audio thread when no packet is arrived.
Also, an initial connection protocol has been changed from raw rtp to RTSP.
- An attribute for choosing audio codec(PCM 16bit and Opus) has been added on this release but Opus is not working properly.
- Receiver's audio codec parameters have not been taken from an infomation given by RTSP initialization.
- fixed a problem that the app crashes when a frame does not contain format information.
- working with multiple channels(confirmed up to 8ch)
- fixed some crashes
SUPER EARLY RELEASE BUILD for macOS.
Zip file includes all externals, XML for object infos and source codes as well.
To use the packages, drop unzipped folder into ~/Documents/Max 8/Packages