Joachim Bauch
26c79210c8
Move room type names to constants and don't expose roomworker properties.
9 years ago
Joachim Bauch
c46c0b7f14
Reverse data in session ids.
...
The session ids contain a Gorilla SecureCookie which internally encodes
"timestamp|value". As a result, newer session ids compare "greater"
than older ids. This is a problem for conferences where the participants
decide based on comparison of the session id who calls who, so later
participants always have to call all of the existing participants.
With this change, the (random) value is at the start of the session id,
resulting in "random" ordering of participants. Also some tests have
been added to check session en-/decoding.
9 years ago
Joachim Bauch
a74f424a86
Also send "Conference" message after "Room" messages.
9 years ago
Joachim Bauch
7bda39351b
Don't send "Conference" event if user couldn't join room.
9 years ago
Joachim Bauch
2a8ac1bb53
Implement new API for tests.
9 years ago
Joachim Bauch
f9906b5973
Evaluate room type mapping and send Conference messages for conference rooms.
...
The messages are trigger whenever a new user joins a conference room. For
such rooms, clientside Conference messages are ignored.
9 years ago
Joachim Bauch
7fbc4449ca
Make mapping of room name to room type configurable.
9 years ago
Simon Eisenmann
597d06d764
Pipeline API is now optional and disabled by default.
9 years ago
Simon Eisenmann
71035380d8
Added default sink.
9 years ago
Simon Eisenmann
d86e805d94
Added to and from userid to sink/pipeline API.
9 years ago
Simon Eisenmann
33aa9e4e15
Implement NATS sink outbound encoding.
9 years ago
Simon Eisenmann
96cc6fd64c
Extended Pipeline manager to support Sink creation.
9 years ago
Simon Eisenmann
9ff675bca9
Implement sessionCreate via NATS.
9 years ago
Simon Eisenmann
336f2eda8f
Implemented pipeline for Offer, Candidate and Bye.
9 years ago
Simon Eisenmann
b363c210f2
Wrap nats connections as reference.
9 years ago
Simon Eisenmann
447bc7fe8e
Moved NATS connecting helpers to own submodule.
9 years ago
Simon Eisenmann
e617374095
Refactored structure of Go source code to module and binary.
9 years ago