Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BasicModule
    • Stream

Index

Constructors

constructor

  • Parameters

    Returns Stream

Properties

Readonly audio

audio: IAudioNode

Readonly video

video: IVideoNode

Methods

addPublishStreamUrl

  • addPublishStreamUrl(url: string): Promise<void>
  • Parameters

    • url: string

    Returns Promise<void>

get

  • Parameters

    Returns Promise<{ mediaStream: MediaStream }>

publish

  • publish(options: { stream: IStreamInfo }): Promise<{ liveUrl?: string }>
  • Parameters

    Returns Promise<{ liveUrl?: string }>

removePublishStreamUrl

  • removePublishStreamUrl(url: string): Promise<void>
  • Parameters

    • url: string

    Returns Promise<void>

resize

  • Parameters

    Returns Promise<undefined>

setMixConfig

  • Parameters

    Returns Promise<void>

subscribe

unpublish

  • unpublish(options: { stream: IResInfo }): Promise<undefined>
  • Parameters

    Returns Promise<undefined>

unsubscribe

  • Parameters

    Returns Promise<void>

Generated using TypeDoc