Subscription Stream and Join a session

49 views
Skip to first unread message

Melvin Gilberto

unread,
Jan 7, 2020, 9:58:19 AM1/7/20
to OpenVidu
The question may be a bit silly, but what is the difference of subscribing to Stream and Join a Session it?
Thank you.

Pablo

unread,
Jan 7, 2020, 10:10:40 AM1/7/20
to OpenVidu
You may be connected to a Session without sending or receiving any media at all. You first connect to a session and then publish/subscribe streams.

Melvin Gilberto

unread,
Jan 7, 2020, 5:04:24 PM1/7/20
to Pablo, OpenVidu
So the flow is as follows?
- Create session or Join on the session
- Subscribe stream

from all users?

El mar., 7 de ene. de 2020 a la(s) 09:10, Pablo (pablofue...@gmail.com) escribió:
You may be connected to a Session without sending or receiving any media at all. You first connect to a session and then publish/subscribe streams.

--
You received this message because you are subscribed to the Google Groups "OpenVidu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openvidu+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openvidu/595dca69-1eea-460b-aff3-b5dbf709d549%40googlegroups.com.

Pablo

unread,
Jan 7, 2020, 6:26:55 PM1/7/20
to OpenVidu
You create a Session in OpenVidu Server through REST API or Java/Node SDK.
You create tokens for that session though REST API or Java/Node SDK
You join users to the session by consuming those tokens in your clients (method Session.connect in openvidu-browser library).

This is all explained in OpenVidu docs: https://openvidu.io/docs/cheatsheet/join-session/

Reply all
Reply to author
Forward
0 new messages