Documentation ¶
Index ¶
- Variables
- func AVConfig2FLVTag(asc, vps, sps, pps []byte) (metadata, ash, vsh *httpflv.Tag, err error)
- func AVConfig2RTMPMsg(asc, vps, sps, pps []byte) (metadata, ash, vsh *base.RTMPMsg, err error)
- func AVPacket2FLVTag(pkt base.AVPacket) (tag httpflv.Tag, err error)
- func AVPacket2RTMPMsg(pkt base.AVPacket) (msg base.RTMPMsg, err error)
- func FLVTag2RTMPMsg(tag httpflv.Tag) (msg base.RTMPMsg)
- func FLVTagHeader2RTMPHeader(in httpflv.TagHeader) (out base.RTMPHeader)
- func MakeDefaultRTMPHeader(in base.RTMPHeader) (out base.RTMPHeader)
- func RTMPMsg2FLVTag(msg base.RTMPMsg) *httpflv.Tag
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRemux = errors.New("lal.remux: fxxk")
Functions ¶
func AVConfig2FLVTag ¶
@param asc 如果为nil,则没有音频 @param vps 如果为nil,则是H264,如果不为nil,则是H265 @return 返回的内存块为新申请的独立内存块
func AVConfig2RTMPMsg ¶
@return 返回的内存块为新申请的独立内存块
func AVPacket2FLVTag ¶
@return 返回的内存块为新申请的独立内存块
func AVPacket2RTMPMsg ¶
@return 返回的内存块为新申请的独立内存块
func FLVTag2RTMPMsg ¶
@return 返回的内存块引用参数输入的内存块
func FLVTagHeader2RTMPHeader ¶
func FLVTagHeader2RTMPHeader(in httpflv.TagHeader) (out base.RTMPHeader)
func MakeDefaultRTMPHeader ¶
func MakeDefaultRTMPHeader(in base.RTMPHeader) (out base.RTMPHeader)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.