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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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