This example demonstrates the new recordWithInterval function that records audio for a specified duration and returns base64 data with MIME type.
recordWithInterval