Skip to main content

qbox_call_sdk 0.2.2 copy "qbox_call_sdk: ^0.2.2" to clipboard
qbox_call_sdk: ^0.2.2 copied to clipboard

Headless Flutter SDK for QBox contact-center calls: video, audio and text chat with an operator. You build the UI; the SDK handles signaling, WebRTC, chat and background calls.

0.2.2 #

  • iOS: screen sharing starts only when the first captured frame arrives. If the user declines screen recording, toggleScreenShare() returns a PermissionFailure and the operator keeps seeing the camera.
  • Removed the repository links from the package metadata.

0.2.1 #

  • Documentation: neutral placeholder addresses in examples.

0.2.0 #

  • Screen sharing in video calls: QBoxCallController.toggleScreenShare() and CallState.isScreenSharing. The screen is sent instead of the camera. Android asks the user and keeps sharing in the background (the ongoing-call service adds the mediaProjection type while sharing); iOS shares the app's own screen.

0.1.0 #

  • Bridge v2 login (QBoxCallConfig.v2): the partner backend vouches for the client with a one-time session_token; the SDK logs in with bridge_auth, keeps the visit (QBoxVisitStore) and logs in with it again after every reconnect.
  • QBoxCall.connect() returns the partner app's queues, restoreCall() brings back a text chat after an app restart, forget() erases the visit on logout.
  • BridgeAuthFailure for rejected logins; a rejected token or an expired visit is replaced with a new session_token automatically.
  • In v2 the call payload carries no client identity; regions, IIN check and location sharing are not available.
  • CallQueue.group.
  • Time without the socket no longer counts against the 20 s limit for restoring a call's media: the limit starts once the socket is back.

0.0.2 #

  • Widened the pointycastle constraint to >=3.9.0 <5.0.0, so the SDK can be used together with packages that still require pointycastle 3.x (for example encrypt 5.x).

0.0.1 #

First public release.

  • Video and audio calls over peer-to-peer WebRTC: mute, camera on/off, camera switch, loudspeaker, adaptive video quality.
  • Text chat, standalone or inside a call: replies, reactions, delivery and read receipts, edits and deletes, attachments, location sharing.
  • Pre-call steps: regions, queues, IIN/BIN/phone validation, consent, device readiness check.
  • Queue position, transfers between operators, "no operators" handling.
  • Connection recovery: socket reconnect, media restart with a 20 s limit, text chat history restore.
  • Camera and microphone are released as soon as a call ends or is cancelled.
  • Background calls on Android (foreground service with an ongoing notification and an "End call" action); screen kept on during video calls; proximity sensor during audio calls.
  • Post-call rating.
  • Errors are returned as typed Result values instead of exceptions.
2
likes
130
points
202
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Headless Flutter SDK for QBox contact-center calls: video, audio and text chat with an operator. You build the UI; the SDK handles signaling, WebRTC, chat and background calls.

License

MIT (license)

Dependencies

flutter, flutter_webrtc, http, meta, pointycastle, socket_io_client

More

Packages that depend on qbox_call_sdk

Packages that implement qbox_call_sdk