What asterisk version do you use?
For asterisk 11 you need to change the codec handling.
I created a version for asterisk 1.8/11 some time ago: 
https://github.com/marcelloceschia/app_mp4



Am 30.04.2014 um 13:23 schrieb [Digital^Dude] ® <millennium....@gmail.com>:

> The patch was being rejected for 1.4.x anyways, I have applied it manually, 
> now I get:
> 
> app_mp4.c: In function âmp4_saveâ:
> app_mp4.c:974: error: request for member âcodecâ in something not a structure 
> or union
> make[1]: *** [app_mp4.o] Error 1
> 
> 
> 
> On Wed, Apr 30, 2014 at 3:57 PM, Borja SIXTO <borja.si...@i6net.com> wrote:
> Hi,
> 
> You need to patch the Asterisk before (I think Sergio provided it).
> 
> But most of the componants need to be ported to the last asterisk release...
> 
> Regards,
> 
> 
> Borja from i6net.com
> 
> 
> Le 30/04/2014 12:50, [Digital^Dude] ® a écrit :
>> make gives this:
>> 
>> codec_amr.c: In function 'amrtolin_sample':
>> codec_amr.c:227: error: 'AST_FORMAT_AMRNB' undeclared (first use in this 
>> function)
>> codec_amr.c:227: error: (Each undeclared identifier is reported only once
>> codec_amr.c:227: error: for each function it appears in.)
>> codec_amr.c: In function 'lintoamr_frameout':
>> codec_amr.c:345: warning: unused variable 'byte_count'
>> codec_amr.c: At top level:
>> codec_amr.c:409: error: 'AST_FORMAT_AMRNB' undeclared here (not in a 
>> function)
>> make[1]: *** [codec_amr.o] Error 1
>> make: *** [codecs] Error 2
>> 
>> Any ideas how to fix it?
>> 
>> 
> 
> -- 
> Borja Sixto, Research & Innovation - http://www.i6net.com
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-video
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-video

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-video

Reply via email to