Module: createReceiver

It takes parameters streamID and port and requests a receiver function from Corelink protocol which has inputs workspace name, streamID,source IP,token etc. Further,it checks for statusCode,streamID,port,potocol,streamList,MTU. UDP protocol is the set up on receiver's side. The function expects and object with the following parameters:
Parameters:
Name Type Description
workspace String Workspaces are used to separate out groups of streams so that several independent groups of researchers can work together.
protocol String Protocol for the stream to use (UDP/TCP/WS)
streamIDs String Allows a user to select streams to Subscribe to. If StreamID is not given, all streams are sent
type String type information can be freely selected.But well known formats will be published.At the moment those are 3d, audio.
alert String alert is an optional argument that false,if new streams of this type are registered will send the streamID’s to the client via server initiated controlFunction (default is false)
echo String receive data that was sent by the same user (default is false)
receiverID String Receiver streamID to remove streams from
Source: