Hierarchy

  • MemberImpl
    • SfuBotMember

Implements

  • RemoteMemberImplInterface

Properties

channel: SkyWayChannelImpl
context: SkyWayContext
id: string
name?: string
onForwardingListChanged: Event<void> = ...

Description

[japanese] forwardingの数が変化した時に発火するイベント

onForwardingStarted: Event<{
    forwarding: Forwarding;
}> = ...

Type declaration

Description

[japanese] forwardingを開始した時に発火するイベント

onForwardingStopped: Event<{
    forwarding: Forwarding;
}> = ...

Type declaration

Description

[japanese] forwardingを終了した時に発火するイベント

onLeft: Event<void>
onMetadataUpdated: Event<string>
side: "remote" = 'remote'
subtype: "sfu" = SfuBotMember.subtype
type: MemberType = 'bot'
subtype: "sfu" = 'sfu'

Accessors

  • get metadata(): undefined | string
  • Returns undefined | string

  • get publications(): Publication<LocalStream>[]
  • Returns Publication<LocalStream>[]

  • get state(): MemberState
  • Returns MemberState

  • get subscriptions(): Subscription<RemoteStream>[]
  • Returns Subscription<RemoteStream>[]

Methods

  • Returns Promise<void>

    Throws

    SkyWayError

  • Parameters

    • publication: Publication<LocalAudioStream | LocalVideoStream | LocalCustomVideoStream>
    • configure: Partial<ForwardingConfigure> = {}

    Returns Promise<Forwarding>

    Description

    [japanese] StreamのPublicationをForwardingする

    Throws

    Example

    const forwarding = await bot.startForwarding(publication, { maxSubscribers: 99 });
    
  • Parameters

    Returns Promise<void>

    Description

    [japanese] Forwardingを停止する

  • Parameters

    • metadata: string

    Returns Promise<void>

Generated using TypeDoc