A custom plugin to record video in ios