Skip to content

Instantly share code, notes, and snippets.

Created March 11, 2017 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/e107c186f24063756d031f8c4080c3a5 to your computer and use it in GitHub Desktop.
Save anonymous/e107c186f24063756d031f8c4080c3a5 to your computer and use it in GitHub Desktop.
final Set<Map.Entry<String, Participant>> participants = connectedTo.getParticipants().entrySet();
Log.i(TAG, "Listing participants for room " + room.getName());
for (Map.Entry<String, Participant> entry : participants) {
final Participant participant = entry.getValue();
Log.i(TAG, String.format("Identity: %s - SID: %s", participant.getIdentity(), participant.getSid()));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment