Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NoSIPPlugin

Hierarchy

  • NoSIPPlugin

Index

Methods

generate

  • generate(info: string, srtp: string, srtp_profile: string, update: boolean): void
  • Take a JSEP offer or answer and generate a barebone SDP the application can use

    memberof

    NoSIPPlugin

    Parameters

    • info: string

      opaque string that the user can provide for context; optional

    • srtp: string

      whether to mandate (sdes_mandatory) or offer (sdes_optional) SRTP support; optional

    • srtp_profile: string

      SRTP profile to negotiate, in case SRTP is offered; optional

    • update: boolean

    Returns void

hangup

  • hangup(): void
  • Get rid of an ongoing session

    Returns void

process

  • process(type: string, sdp: string, info: string, srtp: string, srtp_profile: string, update: boolean): void
  • Process a remote barebone SDP, and match it to the one we may have generated before

    memberof

    NoSIPPlugin

    Parameters

    • type: string

      <offer|answer, depending on the nature of the provided SDP

    • sdp: string

      barebone SDP to convert

    • info: string

      opaque string that the user can provide for context; optional

    • srtp: string

      whether to mandate (sdes_mandatory) or offer (sdes_optional) SRTP support; optional

    • srtp_profile: string

      SRTP profile to negotiate, in case SRTP is offered; optional

    • update: boolean

    Returns void

recording

  • recording(action: string, audio: boolean, video: boolean, peer_audio: boolean, peer_video: boolean, filename: string): void
  • Start or stop recording

    memberof

    NoSIPPlugin

    Parameters

    • action: string

      start|stop, depending on whether you want to start or stop recording something

    • audio: boolean

      true|false; whether or not our audio should be recorded

    • video: boolean

      true|false; whether or not our video should be recorded

    • peer_audio: boolean

      true|false; whether or not our peer's audio should be recorded

    • peer_video: boolean

      true|false; whether or not our peer's video should be recorded

    • filename: string

      base path/filename to use for all the recordings

    Returns void

Generated using TypeDoc