Skip to main content
Version: 1.0

Release notes

This page provides the release notes of PlanetKit 1.0 for Flutter.

v1.0.0

Release date: 2025-03-14

Add PlanetKitInitialMyVideoState

  • PlanetKitInitialMyVideoState is 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 PlanetKitInitialMyVideoState is PlanetKitInitialMyVideoState.resume.

API

Changed
  • PlanetKitCall class 1-to-1 call

    PreviousPlanetKit 1.0.0
    Future<bool> acceptCall({bool useResponderPreparation = false})Future<bool> acceptCall({bool useResponderPreparation = false, initialMyVideoState = PlanetKitInitialMyVideoState.resume})
  • PlanetKitConference class Group call

    PreviousPlanetKit 1.0.0
    Future<bool> enableVideo()Future<bool> enableVideo({initialMyVideoState = PlanetKitInitialMyVideoState.resume})
Added
  • PlanetKitInitialMyVideoState enum 1-to-1 callGroup call
    • resume
    • pause

Add the camera state monitoring feature

  • The camera state can be now monitored with PlanetKitCameraEvent.

API

Added
  • PlanetKitCameraEvent enum 1-to-1 callGroup call
    • start
    • stop
    • error
  • PlanetKitCamera class 1-to-1 callGroup call
    • Stream<PlanetKitCameraEvent> get onCameraEvent

Add country code configuration for 1-to-1 calls

  • This feature allows the user to set both the myCountryCode and peerCountryCode when 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
  • PlanetKitMakeCallParam class 1-to-1 call
    • final String? myCountryCode
    • final String? peerCountryCode
  • PlanetKitMakeCallParamBuilder 1-to-1 call
    • PlanetKitMakeCallParamBuilder setMyCountryCode(String myCountryCode)
    • PlanetKitMakeCallParamBuilder setPeerCountryCode(String peerCountryCode)

Add new disconnect reasons

  • Added new disconnect reasons.

API

Added
  • PlanetKitDisconnectReason enum 1-to-1 callGroup call
    • maxCallTimeExceeded
    • desktopScreenLocked
    • serviceTooManyRequests

Add a user release code to the call disconnected event

  • A user release code has been added to PlanetKitCallEventHandler.onDisconnected.

API

Changed
  • PlanetKitCallEventHandler class 1-to-1 call

    PreviousPlanetKit 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 allowCallWithoutMicPermission or allowConferenceWithoutMicPermission to true to use PlanetKit call without the microphone permission in Android platform.

API

Added
  • PlanetKitMakeCallParam class 1-to-1 call
    • final bool? allowCallWithoutMicPermission
  • PlanetKitMakeCallParamBuilder class 1-to-1 call
    • PlanetKitMakeCallParamBuilder setAllowCallWithoutMicPermission(bool allow)
  • PlanetKitVerifyCallParam class 1-to-1 call
    • final bool? allowCallWithoutMicPermission
  • PlanetKitVerifyCallParamBuilder class 1-to-1 call
    • PlanetKitVerifyCallParamBuilder setAllowCallWithoutMicPermission(bool allow)
  • PlanetKitJoinConferenceParam class Group call
    • final bool? allowConferenceWithoutMicPermission
  • PlanetKitJoinConferenceParamBuilder class Group call
    • PlanetKitJoinConferenceParamBuilder setAllowConferenceWithoutMicPermission(bool allow)