Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace JuphoonRTCGuest

Index

Functions

createGuestClient

  • createGuestClient(appKey: string, token: string, socketAddress?: string): RTCGuest
  • 创建访客client

    Parameters

    • appKey: string

      appKey

    • token: string

      token

    • Optional socketAddress: string

      WebSocket的连接地址

    Returns RTCGuest

detect

  • 检测浏览器环境的支持程度

    Parameters

    • Default value requestUser: boolean = true

      是否请求用户的媒体设备, 请求媒体设备能够得到更加完整的兼容信息

    Returns Promise<RTCSupportInfo>

getMediaDevices

getVersion

  • getVersion(): any
  • 获取SDK版本信息

    Returns any

setConfig

Generated using TypeDoc