Objective-C

Setting up the server

The Vonage Video archiving API lets you record a session's audio-video streams to MP4 files.

In order to archive sessions, you need to have an HTTP server set up. You can pick the right server SDK for your sever setup. The Server SDK on receiving data from the client SDK will perform the actual archiving functionality.

For example, the code below uses the PHP server SDK to start and stop recording an archive:

Note: The session ID will have to be passed from the frontend to the server, thus to be used as the value for the $sessionId variable. This also applies to the $archiveId variable.

You can only archive sessions that use the Vonage Video Media Router (sessions with the media mode set to routed)

If you do not want to write your own server, you can use a pre-built server deployed to Vonage's Code Hub. Head on over to the Vonage Video Learning Server (PHP) and click on "Deploy Code." This will download our learning server and automatically launch it for you.

If you want to explore the code, you can instead click on "Get Code" or head on over to [GitHub](https://github.com/Vonage-Community/sample-video-php-learning_server and download the code to your local machine.

Archiving

Learn how to record and store video streams using the Vonage SDK

以下の言語で利用可能:
JavaScript Java Objective-C
手順
1
Introduction
2
Setting up the server
3
Exploring the code