addUser

Adds a user for video mixing during the CDN live streaming.

public int addUser(TranscodingUser user) {
    if (user == null || user.uid == 0) {
      return -Constants.ERR_INVALID_ARGUMENT;
    }

Parameters

user
The transcoding user. See TranscodingUser for details.

Returns

  • 0: Success.
  • < 0: Failure.