본문으로 건너뛰기
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)