tencentlive

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

@Title @Description @Author Wangwengang 2021/6/6 下午8:41 @Update Wangwengang 2021/6/6 下午8:41

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildStream

func BuildStream(roomID string, duration int64) string

生成推流地址

func BuildTxSecret

func BuildTxSecret(roomId string, duration int64) string

TxSecret

func BuildTxTime

func BuildTxTime(duration int64) string

生成hex(time),86400为一天的秒数,即一天的有效期

func GetFlvStream

func GetFlvStream(roomID string, duration int64) string

func GetM3U8Stream

func GetM3U8Stream(roomID string, duration int64) string

func GetRTMPStream

func GetRTMPStream(roomID string, duration int64) string

func GetWebRtcStream

func GetWebRtcStream(roomID string, duration int64) string

func ToMd5

func ToMd5(str string) string

MD5

Types

This section is empty.

Jump to

Keyboard shortcuts

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