안내
스트림콜에 대한 튜토리얼
@capgo/capacitor-stream-call에 대한 튜토리얼
__CAPGO_KEEP_0__을 사용하여 __CAPGO_KEEP_1__에서 호출을 구현합니다. 설치 SDK to implement calling in Capacitor.
- 스트림 비디오 서비스에 로그인합니다.
bun add @capgo/capacitor-stream-call
bunx cap sync
https://getstream.io/
login__CAPGO_KEEP_0__를 사용하여 __CAPGO_KEEP_1__에서 호출을 구현합니다.logout- Stream Video 서비스에서 로그아웃합니다.call- 다른 사용자에게 전화 걸기.endCall- 현재 전화 연결 종료.
예시 사용
login
Stream Video 서비스 로그인.
import { StreamCall } from '@capgo/capacitor-stream-call';
await StreamCall.login({
token: 'your-token',
userId: 'user-123',
name: 'John Doe',
apiKey: 'your-api-key'
});
logout
Stream Video 서비스에서 로그아웃합니다.
import { StreamCall } from '@capgo/capacitor-stream-call';
await StreamCall.logout();
call
다른 사용자에게 전화 걸기.
import { StreamCall } from '@capgo/capacitor-stream-call';
await StreamCall.call({
userId: 'user-456',
type: 'video',
ring: true
});
endCall
- 현재 전화 연결 종료.
import { StreamCall } from '@capgo/capacitor-stream-call';
await StreamCall.endCall();
전체 참조
- GitHub: https://github.com/Cap-go/capacitor-streamcall/
- 문서: /docs/plugins/streamcall/
Using @capgo/capacitor-stream-call
만약 사용 중이라면 Using @capgo/capacitor-stream-call 네이티브 플러그인 작업을 계획하기 위해 사용하는 경우, @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-stream-call과 연결하세요. @capgo/capacitor-stream-call을 사용하여 @capgo/capacitor-stream-call의 구현 세부 정보를 확인하세요. for the implementation detail in @capgo/capacitor-stream-call, Getting Started의 구현 세부 정보를 확인하세요. __CAPGO_KEEP_0__ 플러그인 디렉토리 Capgo 플러그인 디렉토리의 제품 워크플로를 확인하세요. Capgo 플러그인들 Capacitor 플러그인들에 대한 Capgo의 구현 세부 정보를 확인하세요. for the implementation detail in Capacitor Plugins by Capgo, and 플러그인 추가 또는 업데이트 플러그인 추가 또는 업데이트에 대한 구현 세부 정보.