Stitching
The archiving API allows developers to record video streams in an OpenTok session. These archives can be played back, or you can download the individual streams.
It turns out that downloading the individual streams does not make sharing very easy. If you recorded a conversation between two people for example you will end up with two FLV files. It would be much nicer if the two video files could be combined into one, so the resulting single video can easily be shared and played back.
This is where the stitching API comes in to play. Stitching allows you to combine an archive with up to four individual streams into a single MP4 file that can be played back in the HTML5 video player of your choice. Stitching individual videos is hard, but the stitching engine we built will time align all the individual streams, and mix the audio properly.






