Add session_id to the notifications when a client joins/leaves a music session.

This commit is contained in:
tihot_jk 2012-10-28 17:27:44 -07:00
parent 568d9aedae
commit 8b2148990f
1 changed files with 3 additions and 2 deletions

View File

@ -125,8 +125,9 @@ message LeaveMusicSessionAck {
// sent by server to let the rest of the participants know a user has joined.
// this feels a little off; client could initiate this to other clients, right?
message UserJoinedMusicSession {
optional string user_id = 1; // this is the user_id and can be used for user unicast messages
optional string username = 2; // meant to be a display name
optional string session_id = 1; // the session ID
optional string user_id = 2; // this is the user_id and can be used for user unicast messages
optional string username = 3; // meant to be a display name
}
// route_to: session