October 2018
Intermediate to advanced
420 pages
10h 26m
English
The encoder driver is implemented on top of the sox library. The API of this library is simple, which makes it well suited for this study. However, it works only on files and not buffers, which would be an issue for a production-grade asynchronous application. This issue is ignored in this chapter to focus on the overall structure of the application. However, the next chapter will explain how to deal with this. Ensure that the sox package is installed on your system before running the server. The installation instructions are available in the Technical requirements section of this chapter. Before going into the driver implementation, let's start by writing the function that will actually perform the audio ...
Read now
Unlock full access