startPlayRemoteVideo method
void
startPlayRemoteVideo(
- String userId,
- TUIVideoStreamType streamType,
- TUIPlayCallback? playCallback
Implementation
void startPlayRemoteVideo(String userId, TUIVideoStreamType streamType,
TUIPlayCallback? playCallback) {
String userData = Tools.generateUserData();
if (playCallback != null) {
_playCallbackMap.addAll({userData: playCallback});
}
_engineSDK.Dart_StartPlayRemoteVideo(
_engineFFIPointer,
Tools.string2PointerChar(userId),
streamType.value(),
Tools.string2PointerChar(userData));
}