Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenSigWithUserBuf ¶
func GenSigWithUserBuf(sdkappid int, key string, identifier string, expire int, roomnum uint32, privilege uint32) (string, error)
*用于生成实时音视频(TRTC)业务进房权限加密串,具体用途用法参考TRTC文档:https://cloud.tencent.com/document/product/647/32240
- @brief 生成带userbuf的sig
- @param identifier 用户名
- @param sdkappid sdkappid
- @param roomnum 数字房间号
- @param expire 过期时间:该权限加密串的过期时间,建议300秒.
- @param privilege 用户权限,255表示所有权限
- @return byte[] sig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.