startPlayingFileToRemote method
Future<int>
startPlayingFileToRemote({
- required int sessionId,
- required String fileUrl,
- bool loop = false,
- PortsipPlayFileAudioMode playAudio = PortsipPlayFileAudioMode.mixedWithMicrophone,
Plays the audio/video file at fileUrl into the stream sent to the
remote party on sessionId.
Returns 0 on success, negative error code on failure.
Implementation
Future<int> startPlayingFileToRemote({
required int sessionId,
required String fileUrl,
bool loop = false,
PortsipPlayFileAudioMode playAudio =
PortsipPlayFileAudioMode.mixedWithMicrophone,
}) async {
throw UnimplementedError(
'startPlayingFileToRemote has not been implemented.',
);
}