tencentyun

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenSig

func GenSig(sdkappid int, key string, identifier string, expire int) (string, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL