what does session mean ?

36 views
Skip to first unread message

Arafat Al Mahmud

unread,
Oct 8, 2014, 6:48:59 AM10/8/14
to turn-server-project...@googlegroups.com
In /examples/scripts/restapi/secure_relay_secret.sh file its indicated that ' "-q 100" means that single user can create no more than 100 sessions' Who is an user actually ? The application that initiated the request ? or the user in the username field ? What is a session actually ? How a session is created ? If the application reload with same parameters I mean same username and credentials, then a new session request is made ? Consider me a complete newbie.

Oleg Moskalenko

unread,
Oct 8, 2014, 11:59:11 AM10/8/14
to turn-server-project...@googlegroups.com
The number of sessions per user is calculated as the number of simultaneously alive sessions per user name (the user part in the username for restapi). The source of the sessions (multiple applications of a single application with many sessions) does not matter.

Arafat Al Mahmud

unread,
Oct 8, 2014, 11:32:40 PM10/8/14
to turn-server-project...@googlegroups.com
In one of my peer to peer voice application, through telnet cli I discovered that number of sessions was 1. But I expected it to be 2 as there was two peers. why it was not so ?

Oleg Moskalenko

unread,
Oct 9, 2014, 2:02:33 AM10/9/14
to turn-server-project...@googlegroups.com
I guess that one was "peer" and another was "client", in TURN terminology. Only the "clients" have sessions.

Before asking any more questions, if you do want to understand how it works, read the RFC 5766.
Reply all
Reply to author
Forward
0 new messages