Recording Events - iOS
VideoSDK provides onRecordingStateChanged event which will notify you of the current state of recording for the meeting.
onRecordingStateChanged
- This event will be triggered when the meeting's recording status changed.
- You can implement this method of the abstract Class MeetingEventListenerand add the listener toMeetingclass using theaddEventListener()method ofMeetingClass.
Example
Here is the usage of the event mentioned in this page.
- Swift
extension MeetingViewController: MeetingEventListener {
    func onRecordingStateChanged(state: RecordingState) {
        switch(state) {
            case .RECORDING_STARTING:
                print("recording starting")
            
            case .RECORDING_STARTED:
                print("recording started")
                
            case .RECORDING_STOPPING:
                print("recording stopping")
        
            case .RECORDING_STOPPED:
                print("recording stopped")
        }
    }
}
API Reference
The API references for all the methods and events utilised in this guide are provided below.
Got a Question? Ask us on discord

