[Asterisk-video] app_mo4 - Implemented waiting for video Iframe to start recording, video loopback and stop on dtmf.

Sergio Garcia sergio.garcia at fontventa.com
Tue Sep 11 07:26:51 CDT 2007



Both.. :)

Internally asterisk changes the ',' per '|' when passing the data to the app.. 
i think i should change it to the ast_parse_params (or somehting like that) to be safe if it changes the behaviour in the future.. 

BR
Sergio

---------- Original Message ----------------------------------
From: Klaus Darilion <klaus.mailinglists at pernau.at>
Reply-To: Development discussion of video media support in Asterisk<asterisk-video at lists.digium.com>
Date:  Tue, 11 Sep 2007 14:17:56 +0200

>Hi Sergio!
>
>What is the correct syntax:
>
>mp4save(/tmp/save.3gp,V)
>or
>mp4save(/tmp/save.3gp|V)
>
>because of:
>/* Check for params */
>params = strchr(data,'|');
>
>regards
>klaus
>
>Sergio Garcia schrieb:
>> Hi everyone,
>> 
>> the new functionality can be set up via parameters, I have not been able to make extensive testing, so any feedback would be very important, expecially which is the end user experience look like when enabling the 'V' on 3g handsets (or even if it works at all).
>> 
>>   -= Info about application 'mp4save' =-
>> 
>> [Synopsis]
>> MP4 file record
>> 
>> [Description]
>>   mp4save(filename,[options]):  Record mp4 file.
>> Note: If you are working with amr it's recommended that you use 3gp
>> as your file extension if you want to play it with a video player.
>> 
>> Available options:
>>  'v': activate loopback of video
>>  'V': wait for first video I frame to start recording
>>  '0'..'9','#','*': sets dtmf input to stop recording
>> Note: waiting for video I frame also activate video loopback mode.
>> 
>> Examples:
>>  mp4save(/tmp/save.3gp)    record video to selected file
>>  mp4save(/tmp/save.3gp,#)  record video and stop on '#' dtmf
>>  mp4save(/tmp/save.3gp,v)  activate loopback of video
>>  mp4save(/tmp/save.3gp,V)  wait for first videoto start recording
>>  mp4save(/tmp/save.3gp,V9) wait for first videoto start recording
>>                            and stop on '9' dtmf
>> 
>> 
>> BR
>> Sergio 
>> 
>> _______________________________________________
>> --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
>
 



More information about the asterisk-video mailing list