PortSIP VoIP SDK Manual for Android  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 com.portsip.OnPortSIPEvent.onPlayAudioFileFinished (long sessionId, String fileName)
 
void com.portsip.OnPortSIPEvent.onPlayVideoFileFinished (long sessionId)
 

Detailed Description

Function Documentation

◆ onPlayAudioFileFinished()

void com.portsip.OnPortSIPEvent.onPlayAudioFileFinished ( long  sessionId,
String  fileName 
)

If called playAudioFileToRemote function 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 com.portsip.OnPortSIPEvent.onPlayVideoFileFinished ( long  sessionId)

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

Parameters
sessionIdThe session ID of the call.