DynamicKey5

package
v0.0.0-...-374cd21 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MEDIA_CHANNEL_SERVICE  = 1
	RECORDING_SERVICE      = 2
	PUBLIC_SHARING_SERVICE = 3
	IN_CHANNEL_PERMISSION  = 4
)
View Source
const (
	ALLOW_UPLOAD_IN_CHANNEL = 1
)

extra key

Variables

View Source
var (
	NoUpload         = "0"
	AudioVideoUpload = "3"
)

permission

Functions

func GenerateInChannelPermissionKey

func GenerateInChannelPermissionKey(appID, appCertificate, channelName string, unixTs, randomInt, uid, expiredTs uint32, permission string) (string, error)

func GenerateMediaChannelKey

func GenerateMediaChannelKey(appID, appCertificate, channelName string, unixTs, randomInt, uid, expiredTs uint32) (string, error)

func GeneratePublicSharingKey

func GeneratePublicSharingKey(appID, appCertificate, channelName string, unixTs, randomInt, uid, expiredTs uint32) (string, error)

func GenerateRecordingKey

func GenerateRecordingKey(appID, appCertificate, channelName string, unixTs, randomInt, uid, expiredTs uint32) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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