@capgo/capacitor-stream-call
Uses the https://getstream.io/ SDK to implement calling in Capacitor.
Overview
Section titled “Overview”Uses the https://getstream.io/ SDK to implement calling in Capacitor.
Core Capabilities
Section titled “Core Capabilities”login- Login to Stream Video service.logout- Logout from Stream Video service.call- Initiate a call to another user.endCall- End the current call.
Public API
Section titled “Public API”| Method | Description |
|---|---|
login | Login to Stream Video service. |
logout | Logout from Stream Video service. |
call | Initiate a call to another user. |
endCall | End the current call. |
joinCall | Join an existing call. |
setMicrophoneEnabled | Enable or disable microphone. |
setCameraEnabled | Enable or disable camera. |
addListener | Add listener for call events. |
addListener | Listen for lock-screen incoming call (Android only). Fired when the app is shown by full-screen intent before user interaction. |
removeAllListeners | Remove all event listeners. |
enableBluetooth | Enable bluetooth audio. |
acceptCall | Accept an incoming call. |
rejectCall | Reject an incoming call. |
isCameraEnabled | Check if camera is enabled. |
getCallStatus | Get the current call status. |
getRingingCall | Get the current ringing call. |
toggleViews | Cycle through the available video layouts. |
setSpeaker | Set speakerphone on. |
switchCamera | Switch camera. |
getCallInfo | Get detailed information about an active call including caller details. |
setDynamicStreamVideoApikey | Set a dynamic Stream Video API key that overrides the static one. |
getDynamicStreamVideoApikey | Get the currently set dynamic Stream Video API key. |
getCurrentUser | Get the current user’s information. |
getPluginVersion | Get the native Capacitor plugin version. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-streamcall.
Keep going from @capgo/capacitor-stream-call
Section titled “Keep going from @capgo/capacitor-stream-call”If you are using @capgo/capacitor-stream-call to plan native plugin work, connect it with Using @capgo/capacitor-stream-call for the native capability in Using @capgo/capacitor-stream-call, Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins, and Ionic Enterprise Plugin Alternatives for the product workflow in Ionic Enterprise Plugin Alternatives.