Options
All
  • Public
  • Public/Protected
  • All
Menu

session上的监听

Hierarchy

  • ISessionListener

Index

Methods

  • onTrackSubscribeFail(code: RCRTCCode, session: RCCallSession): void
  • 资源订阅失败

    deprecated

    Parameters

    Returns void

  • onRTCStateReport(report: IRCRTCStateReport, session: RCCallSession): void
  • 用于接收RTC状态数据报告

    deprecated

    Parameters

    Returns void

  • onTrackPublishFail(code: RCRTCCode, session: RCCallSession): void
  • 资源发布失败

    deprecated

    Parameters

    Returns void

  • RTC 每次 Ping 结果

    deprecated

    Parameters

    Returns void

  • onICEConnectionStateChange(state: RTCIceConnectionState, session: RCCallSession): void
  • ICE 连接状态变更通知

    deprecated

    Parameters

    Returns void

  • onSendPacketLoss(packetLostRate: number, delay: number, session: RCCallSession): void
  • 上行丢包率及延迟信息回调,每秒回调一次

    Parameters

    • packetLostRate: number

      丢包率,0-100

    • delay: number

      发送端的网络延迟,单位毫秒

    • session: RCCallSession

    Returns void

  • 下行丢包率及码率信息回调,每秒回调一次

    Parameters

    Returns void