Skip to main content
Back to plugins
@capgo/capacitor-streamcall
Tutorial
@capgo/capacitor-streamcall

Streamcall

Integrate video calling and live streaming with Stream SDK for real-time communication

Guide

Tutorial on Streamcall

Using @capgo/capacitor-stream-call

Uses the https://getstream.io/ SDK to implement calling in Capacitor.

Install

bun add @capgo/capacitor-stream-call
bunx cap sync

What This Plugin Exposes

  • login - Login to Stream Video service.
  • logout - Logout from Stream Video service.
  • call - Initiate a call to another user.
  • endCall - End the current call.

Example Usage

login

Login to Stream Video service.

import { StreamCall } from '@capgo/capacitor-stream-call';

await StreamCall.login({
  token: 'your-token',
  userId: 'user-123',
  name: 'John Doe',
  apiKey: 'your-api-key'
});

logout

Logout from Stream Video service.

import { StreamCall } from '@capgo/capacitor-stream-call';

await StreamCall.logout();

call

Initiate a call to another user.

import { StreamCall } from '@capgo/capacitor-stream-call';

await StreamCall.call({
  userId: 'user-456',
  type: 'video',
  ring: true
});

endCall

End the current call.

import { StreamCall } from '@capgo/capacitor-stream-call';

await StreamCall.endCall();

Full Reference

Keep going from Using @capgo/capacitor-stream-call

If you are using Using @capgo/capacitor-stream-call to plan native plugin work, connect it with @capgo/capacitor-stream-call for the implementation detail in @capgo/capacitor-stream-call, Getting Started for the implementation detail in Getting Started, Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, and Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins.