本文にスキップする
Version: 1.0

リリースノート

Flutter向けPlanetKit 1.0のリリースノートです。

v1.0.0

リリース日:2025-03-14

PlanetKitInitialMyVideoStateを追加

  • PlanetKitInitialMyVideoStateは、ビデオ通話が有効になった時にローカルユーザーのビデオ状態を決定するために追加された列挙型のクラスです。
  • PlanetKitInitialMyVideoStateタイプのプロパティまたはパラメーターのデフォルト値は、PlanetKitInitialMyVideoState.resumeです。

API

変更
  • PlanetKitCall class 1-to-1 call

    以前バージョンPlanetKit 1.0.0
    Future<bool> acceptCall({bool useResponderPreparation = false})Future<bool> acceptCall({bool useResponderPreparation = false, initialMyVideoState = PlanetKitInitialMyVideoState.resume})
  • PlanetKitConference class Group call

    以前バージョンPlanetKit 1.0.0
    Future<bool> enableVideo()Future<bool> enableVideo({initialMyVideoState = PlanetKitInitialMyVideoState.resume})
追加
  • PlanetKitInitialMyVideoState enum 1-to-1 callGroup call
    • resume
    • pause

カメラ状態のモニタリング機能を追加

  • PlanetKitCameraEventを通じてカメラの状態をモニタリングできます。

API

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

1対1通話のための国コード設定を追加

  • この機能を使用して、通話を開始する時にmyCountryCodepeerCountryCodeを設定できます。国コードを設定すると、通話は入力された値に基づいて適切なサーバーにルーティングされます。国コードが設定されていない場合(null)、LINE Planetシステムは通話を接続するために最も適切なサーバーを自動選択します。

API

追加
  • 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)

新しい通話切断の理由を追加

  • 新しい通話切断の理由が追加されました。

API

追加
  • PlanetKitDisconnectReason enum 1-to-1 callGroup call
    • maxCallTimeExceeded
    • desktopScreenLocked
    • serviceTooManyRequests

通話切断のイベントにユーザー通話解除コードを追加

  • PlanetKitCallEventHandler.onDisconnectedにユーザー通話解除コードが追加されました。

API

変更
  • PlanetKitCallEventHandler class 1-to-1 call

    以前バージョン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

マイク権限のない状態で1対1通話およびグループ通話を可能にするオプションを追加(Androidのみ)

  • Androidプラットフォームにおいて、マイク権限なしでPlanetKit通話を使用するには、allowCallWithoutMicPermissionまたはallowConferenceWithoutMicPermissiontrueに設定します。

API

追加
  • 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)