Recording MP4 videos with freeswith

Source: Internet
Author: User
Tags freeswitch

Freeswitch supports recording voice calls in WAV/MP3 format by default, but it is not supported for video recording, such as MP4 format, asteriskCommunityThere is an organizational unit. asteriskvideo enables you to record and play MP4 files on Asterisk. You can refer to freeswitch's audio recording method to add the ability to record videos to a certain file format, freeswitch introduces the media-bug vocabulary to process recordings or listen to channel media capabilities.

Media-bug provides an interface for subscribing to media channels. switch_core_media_bug_add subscribes to media event notifications, such as video Event Callback, and then writes data to the callback function, write the MP4 container using the open-source library mpeg4ip.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.