PortSIP VoIP SDK Manual for iOS  16.2
PortSIP features our newest, supported, quality-assured VoIP SDK used by Several hundred companies around the world for easy VoIP application develop and quality-assured code.
Functions
Play audio and video file finished events

Functions

(void) - <PortSIPEventDelegate >::onPlayAudioFileFinished:fileName:
 
(void) - <PortSIPEventDelegate >::onPlayVideoFileFinished:
 

Detailed Description

Function Documentation

◆ onPlayAudioFileFinished:fileName:()

- (void PortSIPEventDelegate) onPlayAudioFileFinished: (long)  sessionId
fileName: (char *)  fileName 

If playAudioFileToRemote function is called with no loop mode, this event will be triggered once the file play finished.

Parameters
sessionIdThe session ID of the call.
fileNameThe play file name.

◆ onPlayVideoFileFinished:()

- (void PortSIPEventDelegate) onPlayVideoFileFinished: (long)  sessionId

If playVideoFileToRemote function is called with no loop mode, this event will be triggered once the file play finished.

Parameters
sessionIdThe session ID of the call.