Namespace: FlashphonerSFU

FlashphonerSFU

Source:

Namespaces

Room
SFU_EVENT
SFU_PARTICIPANT_ROLE
SFU_ROOM_EVENT
SFU_ROOM_STATE
SFU_STATE
SFU_TRACK_TYPE
SFUSession

Methods

(static) createSession(options) → {FlashphonerSFU.SFUSession}

Connect to server and create local representation of the room.
Parameters:
Name Type Description
options Object Room options
Properties
Name Type Description
url String Server url
roomName String Room name
pin String Room's pin
nickname String Participant's nick
pc Object Peer connection
Source:
Throws:
Error if no options provided
Type
TypeError
Returns:
session
Type
FlashphonerSFU.SFUSession