tsimport { FiretellClient, Call, EClientEventName } from '@firetell/firetell-client-sdk';const client = new FiretellClient(clientJwt, 'yourcompany.firetell.app');await client.ready;const call = new Call(client, {to: '+12125550123',number: '14155550100',isVideo: true,});call.on('remoteStream', (stream) => {remoteVideoElement.srcObject = stream;});client.events.on(EClientEventName.CALL_OFFER, async (incomingCall: Call) => {// Automatically evaluates SDP video track and opens Camera + Mic when presentawait incomingCall.accept();});await call.start();
| SDK / Nền tảng | Tính năng Video được hỗ trợ |
|---|---|
| @firetell/firetell-client-sdk (Trình duyệt) | Gọi video WebRTC với isVideo: true, gắn luồng stream cục bộ/từ xa, tự nhận diện SDP m=video. |
| Firetell Flutter SDK (iOS & Android) | Luồng camera/mic native, hiển thị trạng thái video khi nhận VoIP Push và đồng bộ call.camera. |
| Dữ liệu hậu kiểm | Kết hợp lưu trữ bản chép lời tách kênh qua webhook call.transcription.completed. |