Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

_appKey

_appKey: string

_localStream

_localStream: WeChatLocalStream

_participantMap

_participantMap: {}

Type declaration

_recorder

_remoteStream

_remoteStream: WeChatRemoteStream

_remoteStreamMap

_remoteStreamMap: {}

Type declaration

_revoke

_revoke: () => void

Type declaration

    • (): void
    • Returns void

_selfParticipant

_selfParticipant: ConferenceParticipant

_state

_videoLayout

_videoLayout: VideoLayout

clientInfo

clientInfo: any

confProps

destinations

destinations: SocketDestinations

listenerMap

listenerMap: {}

Type declaration

pageTarget

pageTarget: any

微信小程序page页面的 this 对象 用于获取自定义组件对象

socket

socket: WeChatSocket

Static reporter

reporter: Reporter = new Reporter('WeChatConference')

Accessors

participantMap

  • get participantMap(): {}

recorder

selfParticipant

state

videoLayout

Methods

Private _clientInit

  • _clientInit(): (Anonymous function)
  • 初始化方法

    Returns (Anonymous function)

_destroy

  • _destroy(): Promise<any>
  • Returns Promise<any>

_dispatcherr

  • _dispatcherr(err: any): void
  • Parameters

    • err: any

    Returns void

Private _dispatchmsg

  • _dispatchmsg(msg: any): void
  • 处理信令消息

    Parameters

    • msg: any

    Returns void

_sendSignalling

  • _sendSignalling(signal: any, options?: { destination?: string; isPlainText?: boolean }): Promise<any>
  • Parameters

    • signal: any
    • Default value options: { destination?: string; isPlainText?: boolean } = {}
      • Optional destination?: string
      • Optional isPlainText?: boolean

    Returns Promise<any>

addEventListener

addEventListeners

clearListener

  • clearListener(): void

destroy

  • destroy(): void

disableAudioOutput

  • disableAudioOutput(): Promise<any>

disableUploadAudioStream

  • disableUploadAudioStream(): Promise<any>

disableUploadVideoStream

  • disableUploadVideoStream(): Promise<any>

dispatchEvent

  • dispatchEvent(event: Event): boolean

dispatchEventLite

enableAudioOutput

  • enableAudioOutput(): Promise<any>

enableUploadAudioStream

  • enableUploadAudioStream(): Promise<any>

enableUploadVideoStream

  • enableUploadVideoStream(): Promise<any>

hasListener

join

leave

  • leave(): Promise<any>

login

query

  • query(channelId: string): Promise<any>
  • Parameters

    • channelId: string

    Returns Promise<any>

removeEventListener

requestVideo

sendMessage

  • sendMessage(type: string, content: string | Object, toUserId: string): Promise<any>
  • Parameters

    • type: string
    • content: string | Object
    • toUserId: string

    Returns Promise<any>

setAudioRoute

  • setAudioRoute(route: "speaker" | "ear"): Promise<any>
  • Parameters

    • route: "speaker" | "ear"

    Returns Promise<any>

setPageTarget

  • setPageTarget(target: any): void
  • Parameters

    • target: any

    Returns void

start

startCameraVideo

startVideo

stop

  • stop(): Promise<any>

switchCamera

Object literals

Static DEFAULT_CONFERENCE_PROPS

DEFAULT_CONFERENCE_PROPS: object

accountName

accountName: undefined = undefined

accountPwd

accountPwd: string = ""

appKey

appKey: undefined = undefined

cdType

cdType: "WeChat" = "WeChat"

isStart

isStart: undefined = undefined

jmdsType

jmdsType: "JSM.JMDS.WeChat" = "JSM.JMDS.WeChat"

mediaType

mediaType: "1" = "1"

mtcConfCapacityKey

mtcConfCapacityKey: number = 100

mtcConfCompositeModeKey

mtcConfCompositeModeKey: number = 5

mtcConfPasswordKey

mtcConfPasswordKey: string = "123456"

mtcConfQualityGradeKey

mtcConfQualityGradeKey: number = 1

mtcConfReplayKey

mtcConfReplayKey: false = false

mtcConfRoleKey

mtcConfRoleKey: ConferenceRole = ConferenceRole.PARTP

mtcConfSecurityKey

mtcConfSecurityKey: number = 0

mtcConfStateKey

mtcConfStateKey: number = 3

nickName

nickName: string = ""

password

password: string = "123456"

regionId

regionId: string = "0"

Static DEFAULT_EVENT_LISTENER_OPTIONS

DEFAULT_EVENT_LISTENER_OPTIONS: object

once

once: false = false

Static DEFAULT_JOIN_CONFERENCE_PARAM

DEFAULT_JOIN_CONFERENCE_PARAM: object

capacity

capacity: number = 6

conferencePassword

conferencePassword: null = null

displayName

displayName: null = null

enableRecord

enableRecord: null = null

role

role: ConferenceRole = ConferenceRole.PARTP

Static DEFAULT_SOCKET_DESTINATIONS

DEFAULT_SOCKET_DESTINATIONS: object

close

close: string = "/acd/close"

createConference

createConference: string = "/acd/guest/conference"

Generated using TypeDoc