Module: Cloudflare::RealtimeKit

Defined in:
lib/cloudflare/realtime_kit.rb,
lib/cloudflare/realtime_kit/app.rb,
lib/cloudflare/realtime_kit/chat.rb,
lib/cloudflare/realtime_kit/preset.rb,
lib/cloudflare/realtime_kit/meeting.rb,
lib/cloudflare/realtime_kit/session.rb,
lib/cloudflare/realtime_kit/summary.rb,
lib/cloudflare/realtime_kit/webhook.rb,
lib/cloudflare/realtime_kit/analytics.rb,
lib/cloudflare/realtime_kit/recording.rb,
lib/cloudflare/realtime_kit/livestream.rb,
lib/cloudflare/realtime_kit/transcript.rb,
lib/cloudflare/realtime_kit/participant.rb,
lib/cloudflare/realtime_kit/active_session.rb,
lib/cloudflare/realtime_kit/livestream_session.rb,
lib/cloudflare/realtime_kit/session_participant.rb,
lib/cloudflare/realtime_kit/active_livestream_session.rb

Overview

Cloudflare RealtimeKit (formerly Dyte) — managed video/audio infrastructure for meetings, livestreams, recordings, sessions, and analytics. Each resource maps to a hand-written class under this namespace.

Default app_id

Most resources (Meeting, Participant, Recording, …) live under an app. Set app_id once at process boot and every call defaults to it; pass app_id: per-call only to override.

Cloudflare::RealtimeKit.app_id = ENV["REALTIMEKIT_APP_ID"]

Cloudflare::RealtimeKit::Meeting.create(title: "Standup")          # uses default
Cloudflare::RealtimeKit::Meeting.find(id, app_id: "other-app-id")  # override

Defined Under Namespace

Modules: Analytics Classes: ActiveLivestreamSession, ActiveSession, App, Chat, Livestream, LivestreamSession, Meeting, Participant, Preset, Recording, Session, SessionParticipant, Summary, Transcript, Webhook

Class Attribute Summary collapse

Class Attribute Details

.app_idObject

Default app_id used when a resource call doesn’t pass one explicitly. Mirrors how Cloudflare.account_id defaults the account scope.



20
21
22
# File 'lib/cloudflare/realtime_kit.rb', line 20

def app_id
  @app_id
end