PortSIP VoIP SDK Manual for Windows  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

Int32 PortSIP.SIPCallbackEvents.onPlayAudioFileFinished (Int32 callbackIndex, Int32 callbackObject, Int32 sessionId, String fileName)
 
Int32 PortSIP.SIPCallbackEvents.onPlayVideoFileFinished (Int32 callbackIndex, Int32 callbackObject, Int32 sessionId)
 

Detailed Description

Function Documentation

◆ onPlayAudioFileFinished()

Int32 PortSIP.SIPCallbackEvents.onPlayAudioFileFinished ( Int32  callbackIndex,
Int32  callbackObject,
Int32  sessionId,
String  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 name of the file played.

◆ onPlayVideoFileFinished()

Int32 PortSIP.SIPCallbackEvents.onPlayVideoFileFinished ( Int32  callbackIndex,
Int32  callbackObject,
Int32  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.