Re: ARI Channel recording

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for your answer!! 

Unfortunately I'm using the CEF browser based on Chromium and it doesn't support H264 because license isn't free so renegotiation is not an option.

I've noticed when recording a channel with video asterisk automatically tries to save the video feed to a separate file besides the .wav. In my case I can see "file.c:1484 ast_writefile: No such format 'vp9' " error in the logs, so I would assume is just that the code for VP9 encoding hasn't been added to Asterisk yet. Do you know if this is due to any other reason besides nobody taking the time to implement it (reasons like VP9 licensing, performance hit, etc.)? It seems like VP9 is royalty-free and the encoder source code is on GitHub. I might try to look into making a PR for this sometime in the future if I have some time, but I don't want to waste my time if this idea has already been discussed among developers and discarded for some reason.

Thanks again!

-----Original Message-----
From: asterisk-app-dev [mailto:asterisk-app-dev-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Joshua C. Colp
Sent: Tuesday, October 15, 2019 4:50 PM
To: asterisk-app-dev@xxxxxxxxxxxxxxxx
Subject: Re:  ARI Channel recording

On Tue, Oct 15, 2019, at 5:14 PM, Marcelo Garay wrote:
> Hello,
> 
> I’m trying to record video on a channel (from webrtc) using ARI (POST 
> /channels/{channelId}/record), but when I specify h264 for the format 
> I get error: ast_writestream: Unable to translate to format h264, 
> source format vp9
> 
> So my specific questions are:
> 
> 1) Can video be recorded using ARI?

I don't know if it's ever really been tried, recording/playback of video is not something anyone has put a focus n.
 
> 2) What file formats can be used to record video?

Only really h264 and h263 I believe.
 
> 3) If H264 is possible, how do I solve the error shown above?

You'd need to negotiate h264 on the channel. As it is you're using VP9, and Asterisk does not do video transcoding.

--
Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org

_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev


_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev




[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux