record

package
v0.0.0-...-c113072 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func H264_decode_sps

func H264_decode_sps(buf []byte, nLen uint) (int, int, uint, bool)

*

  • 解码SPS,获取视频图像宽、高和帧率信息 *
  • @param buf SPS数据内容
  • @param nLen SPS数据的长度
  • @param width 图像宽度
  • @param height 图像高度
  • @成功则返回true , 失败则返回false

func Se

func Se(pBuff []byte, nLen uint, nStartBit *uint) int

func Ue

func Ue(pBuff []byte, nLen uint, nStartBit *uint) uint

Types

type MkvSaver

type MkvSaver struct {
	// contains filtered or unexported fields
}

func NewMkvSaver

func NewMkvSaver(savePath string) *MkvSaver

func (*MkvSaver) Close

func (s *MkvSaver) Close() error

func (*MkvSaver) InitWriter

func (s *MkvSaver) InitWriter(width, height int)

func (*MkvSaver) Push264

func (s *MkvSaver) Push264(rtpPacket *rtp.Packet)

func (*MkvSaver) PushOpus

func (s *MkvSaver) PushOpus(rtpPacket *rtp.Packet)

Jump to

Keyboard shortcuts

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