setUsers [2/2]
Sets the users in batches in the CDN live streaming.
public void setUsers(Map<Integer, TranscodingUser> users) { transcodingUsers.clear(); if (users != null) { transcodingUsers.putAll(users); } userCount = transcodingUsers.size(); }
Details
This method sets all users involved in the CDN live stream. This method replaces the old user data with the new TranscodingUser data.
Parameters
- users
- All users involved in the CDN live streaming. See TranscodingUser for details.