MenuMenu

RTCMultiConnection.direction

Set stream direct i.e. how stream should flow

How to use

connection.direction = 'one-way';
connection.direction = 'one-to-one';
connection.direction = 'one-to-many';
connection.direction = 'many-to-many';

Alternatives

connection.session.oneway = true;    // one-way
connection.session.broadcast = true; // one-to-many

Remove above two booleans (from session object) to make it "many-to-many" and use maxParticipantsAllowed to force one-to-one.