Comments regarding reconserver_0.9.0-1_amd64.changes

Daniel Pocock daniel at pocock.com.au
Mon Sep 2 06:53:33 UTC 2013



On 02/09/13 00:09, Paul Richards Tagliamonte wrote:
> Hey Dan,
> 
> Where's the source to record_prompt.h and playback_prompt.h?
> 
> There's a *HUGE* binary payload in there.


It is easy to find where they are used, they are used as audio tracks:

grep _prompt * finds the following code:

      // Load 2 items into cache for testing
      {
         resip::Data buffer(Data::Share, (const char*)playback_prompt,
sizeof(playback_prompt));
         resip::Data name("playback");
         addBufferToMediaResourceCache(name, buffer, 0);
      }
      {
         resip::Data buffer(Data::Share, (const char *)record_prompt,
sizeof(record_prompt));
         resip::Data name("record");
         addBufferToMediaResourceCache(name, buffer, 0);
      }

There is no attempt to execute them as code.

We could potentially extract them to audio files and generate the
*_prompt.h files at build time, but is it really necessary for something
like this?




More information about the Pkg-voip-maintainers mailing list