Getting Started
설치 지시와 이 플러그인의 전체 마크다운 가이드를 포함한 설정 지시를 복사하십시오.
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-realtimekit`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/realtimekit/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
설치
설치 제목AI-Assisted Setup을 사용하여 플러그인을 설치할 수 있습니다. AI 도구에 Capgo 기능을 추가하려면 다음 명령어를 사용하세요:
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-plugins다음 명령어를 사용하여 다음 프롬프트를 복사하세요:
Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-realtimekit` plugin in my project.만약 Manual Setup을 선호한다면, 플러그인을 설치하기 위해 다음 명령어를 실행하고 아래 플랫폼별 지침을 따르세요:
bun add @capgo/capacitor-realtimekitbunx cap syncImport
Importimport { CapacitorRealtimekit } from '@capgo/capacitor-realtimekit';initialize
RealtimeKit 플러그인을 사용하기 전에 초기화합니다.클립보드에 복사
import { CapacitorRealtimekit } from '@capgo/capacitor-realtimekit';
await CapacitorRealtimekit.initialize();startMeeting
시작 회의시작 회의
import { CapacitorRealtimekit } from '@capgo/capacitor-realtimekit';
await CapacitorRealtimekit.startMeeting({ authToken: 'your-auth-token', enableAudio: true, enableVideo: true,});타입 참조
타입 참조StartMeetingOptions
회의 시작 옵션회의를 시작하는 데 필요한 설정 옵션입니다.
export interface StartMeetingOptions { /** * Authentication token for the participant. * This token is required to join the Cloudflare Calls meeting. * * @since 7.0.0 */ authToken: string;
/** * Whether to join with audio enabled. * Default is true. * * @default true * @since 7.0.0 */ enableAudio?: boolean;
/** * Whether to join with video enabled. * Default is true. * * @default true * @since 7.0.0 */ enableVideo?: boolean;}진실의 근원
타입 참조이 페이지는 플러그인의 src/definitions.ts공개 API이 업스트림에서 변경될 때 다시 싱크를 실행하세요.
시작하기
시작하기만약에 당신이 Getting Started 계획 대시보드와 API 연산을 계획하고 싶다면 Using @capgo/capacitor-realtimekit Using @capgo/capacitor-realtimekit API 개요 API 구현 세부사항 __CAPGO_KEEP_0__ 구현 세부사항 __CAPGO_KEEP_0__ 키 API 구현 세부사항 for the implementation detail in API Keys, and Devices __CAPGO_KEEP_0__