Release notes
This page provides the release notes of PlanetKit 1.0 for Flutter.
v1.0.0
Release date: 2025-03-14
Add PlanetKitInitialMyVideoState
PlanetKitInitialMyVideoStateis an enum class added to determine the state of the local user's video when a video call is activated.- The default value for a property or parameter of type
PlanetKitInitialMyVideoStateisPlanetKitInitialMyVideoState.resume.
API
Changed
-
PlanetKitCallclass 1-to-1 callPrevious PlanetKit 1.0.0 Future<bool> acceptCall({bool useResponderPreparation = false})Future<bool> acceptCall({bool useResponderPreparation = false, initialMyVideoState = PlanetKitInitialMyVideoState.resume}) -
PlanetKitConferenceclass Group callPrevious PlanetKit 1.0.0 Future<bool> enableVideo()Future<bool> enableVideo({initialMyVideoState = PlanetKitInitialMyVideoState.resume})
Added
PlanetKitInitialMyVideoStateenum 1-to-1 callGroup callresumepause
Add the camera state monitoring feature
- The camera state can be now monitored with
PlanetKitCameraEvent.
API
Added
PlanetKitCameraEventenum 1-to-1 callGroup callstartstoperror
PlanetKitCameraclass 1-to-1 callGroup callStream<PlanetKitCameraEvent> get onCameraEvent
Add country code configuration for 1-to-1 calls
- This feature allows the user to set both the
myCountryCodeandpeerCountryCodewhen initiating a call. When these country codes are configured, calls are routed to the appropriate server based on the input values. If a country code is not set (null), the LINE Planet system will automatically choose the most suitable server for connecting the call.
API
Added
PlanetKitMakeCallParamclass 1-to-1 callfinal String? myCountryCodefinal String? peerCountryCode
PlanetKitMakeCallParamBuilder1-to-1 callPlanetKitMakeCallParamBuilder setMyCountryCode(String myCountryCode)PlanetKitMakeCallParamBuilder setPeerCountryCode(String peerCountryCode)
Add new disconnect reasons
- Added new disconnect reasons.
API
Added
PlanetKitDisconnectReasonenum 1-to-1 callGroup callmaxCallTimeExceededdesktopScreenLockedserviceTooManyRequests
Add a user release code to the call disconnected event
- A user release code has been added to
PlanetKitCallEventHandler.onDisconnected.
API
Changed
-
PlanetKitCallEventHandlerclass 1-to-1 callPrevious PlanetKit 1.0.0 final void Function(PlanetKitCall call, PlanetKitDisconnectReason reason, PlanetKitDisconnectSource source, bool byRemote) onDisconnectedfinal void Function(PlanetKitCall call, PlanetKitDisconnectReason reason, PlanetKitDisconnectSource source, String? userCode, bool byRemote) onDisconnected
Add options to allow 1-to-1 calls and group calls without microphone permission (Android only)
- Set
allowCallWithoutMicPermissionorallowConferenceWithoutMicPermissiontotrueto use PlanetKit call without the microphone permission in Android platform.
API
Added
PlanetKitMakeCallParamclass 1-to-1 callfinal bool? allowCallWithoutMicPermission
PlanetKitMakeCallParamBuilderclass 1-to-1 callPlanetKitMakeCallParamBuilder setAllowCallWithoutMicPermission(bool allow)
PlanetKitVerifyCallParamclass 1-to-1 callfinal bool? allowCallWithoutMicPermission
PlanetKitVerifyCallParamBuilderclass 1-to-1 callPlanetKitVerifyCallParamBuilder setAllowCallWithoutMicPermission(bool allow)
PlanetKitJoinConferenceParamclass Group callfinal bool? allowConferenceWithoutMicPermission
PlanetKitJoinConferenceParamBuilderclass Group callPlanetKitJoinConferenceParamBuilder setAllowConferenceWithoutMicPermission(bool allow)