We are in the process of updating these pages. Please refer to the new Corelink Documentation at https://corelink-docs.hsrn.nyu.edu
Control Stream example with sender logging in first
Control Stream example with receiver logging in first
Control messages and data packets into separate streams. 5 stream types are available:
TCP control stream that uses JSON messages to communicate
WS control stream that uses JSON messages to communicate
TCP stream for data
UDP stream for data
WS stream for data
The workflow to use the streams:
Login (user must be available in the user database, we might expand in the future to LDAP, oAuth2 etc. For now the standard user is Testuser with Testpassword.
The login allows users to:
A user can log in several times and use different tokens
Tokens expire after a timeout
Get available rooms: for now the room ‘Holodeck’ will be always available
Register stream in available room
List available streams
Subscribe to available stream