@@ -62,7 +62,7 @@ func GenUserSigWithBuf(sdkappid int, key string, userid string, expire int, buf
6262 * - 第 5 位:0001 0000 = 16,发送视频的权限
6363 * - 第 6 位:0010 0000 = 32,接收视频的权限
6464 * - 第 7 位:0100 0000 = 64,发送辅路(也就是屏幕分享)视频的权限
65- * - 第 8 位:1000 0000 = 200 ,接收辅路(也就是屏幕分享)视频的权限
65+ * - 第 8 位:1000 0000 = 128 ,接收辅路(也就是屏幕分享)视频的权限
6666 * - privilegeMap == 1111 1111 == 255 代表该 userid 在该 roomid 房间内的所有功能权限。
6767 * - privilegeMap == 0010 1010 == 42 代表该 userid 拥有加入房间和接收音视频数据的权限,但不具备其他权限。
6868 */
@@ -89,7 +89,7 @@ func GenUserSigWithBuf(sdkappid int, key string, userid string, expire int, buf
8989 * - Bit 5: 0001 0000 = 16, permission for video sending
9090 * - Bit 6: 0010 0000 = 32, permission for video receiving
9191 * - Bit 7: 0100 0000 = 64, permission for substream video sending (screen sharing)
92- * - Bit 8: 1000 0000 = 200 , permission for substream video receiving (screen sharing)
92+ * - Bit 8: 1000 0000 = 128 , permission for substream video receiving (screen sharing)
9393 * - privilegeMap == 1111 1111 == 255: Indicates that the UserID has all feature permissions of the room specified by roomid.
9494 * - privilegeMap == 0010 1010 == 42: Indicates that the UserID has only the permissions to enter the room and receive audio/video data.
9595 */
@@ -122,7 +122,7 @@ func GenPrivateMapKey(sdkappid int, key string, userid string, expire int, roomi
122122 * - 第 5 位:0001 0000 = 16,发送视频的权限
123123 * - 第 6 位:0010 0000 = 32,接收视频的权限
124124 * - 第 7 位:0100 0000 = 64,发送辅路(也就是屏幕分享)视频的权限
125- * - 第 8 位:1000 0000 = 200 ,接收辅路(也就是屏幕分享)视频的权限
125+ * - 第 8 位:1000 0000 = 128 ,接收辅路(也就是屏幕分享)视频的权限
126126 * - privilegeMap == 1111 1111 == 255 代表该 userid 在该 roomid 房间内的所有功能权限。
127127 * - privilegeMap == 0010 1010 == 42 代表该 userid 拥有加入房间和接收音视频数据的权限,但不具备其他权限。
128128 */
@@ -149,7 +149,7 @@ func GenPrivateMapKey(sdkappid int, key string, userid string, expire int, roomi
149149 * - Bit 5: 0001 0000 = 16, permission for video sending
150150 * - Bit 6: 0010 0000 = 32, permission for video receiving
151151 * - Bit 7: 0100 0000 = 64, permission for substream video sending (screen sharing)
152- * - Bit 8: 1000 0000 = 200 , permission for substream video receiving (screen sharing)
152+ * - Bit 8: 1000 0000 = 128 , permission for substream video receiving (screen sharing)
153153 * - privilegeMap == 1111 1111 == 255: Indicates that the UserID has all feature permissions of the room specified by roomid.
154154 * - privilegeMap == 0010 1010 == 42: Indicates that the UserID has only the permissions to enter the room and receive audio/video data.
155155 */
0 commit comments