Documentation ¶
Index ¶
- Constants
- Variables
- func NewJessibucaSession(streamid string, writeChanSize int, pc *peerConnection, ...) *jessibucaSession
- func NewWhepSession(streamid string, writeChanSize int, pc *peerConnection, ...) *whepSession
- func NewWhipSession(streamid string, pc *peerConnection, lalServer logic.ILalServer) *whipSession
- type G711RtpDecoder
- type G711RtpEncoder
- type H264RtpDecoder
- type H264RtpEncoder
- type H265RtpDecoder
- type IRtpDecoder
- type IRtpEncoder
- type OpusRtpDecoder
- type OpusRtpEncoder
- type Packer
- type RtcServer
- type SafariHEVCRtpEncoder
- type UnPacker
Constants ¶
View Source
const ( PacketH264 = "H264" PacketHEVC = "HEVC" PacketSafariHevc = "SafariHevc" PacketPCMA = "PCMA" PacketPCMU = "PCMU" PacketOPUS = "OPUS" )
Variables ¶
View Source
var ErrNeedMoreFrames = errors.New("need more frames")
Functions ¶
func NewJessibucaSession ¶
func NewJessibucaSession(streamid string, writeChanSize int, pc *peerConnection, lalServer logic.ILalServer) *jessibucaSession
func NewWhepSession ¶
func NewWhepSession(streamid string, writeChanSize int, pc *peerConnection, lalServer logic.ILalServer) *whepSession
func NewWhipSession ¶
func NewWhipSession(streamid string, pc *peerConnection, lalServer logic.ILalServer) *whipSession
Types ¶
type G711RtpDecoder ¶
type G711RtpDecoder struct { IRtpDecoder // contains filtered or unexported fields }
func NewG711RtpDecoder ¶
func NewG711RtpDecoder(f format.Format) *G711RtpDecoder
type G711RtpEncoder ¶
type G711RtpEncoder struct { IRtpEncoder // contains filtered or unexported fields }
func NewG711RtpEncoder ¶
func NewG711RtpEncoder(pt uint8) *G711RtpEncoder
type H264RtpDecoder ¶
type H264RtpDecoder struct { IRtpDecoder // contains filtered or unexported fields }
func NewH264RtpDecoder ¶
func NewH264RtpDecoder(f format.Format) *H264RtpDecoder
type H264RtpEncoder ¶
type H264RtpEncoder struct { IRtpEncoder // contains filtered or unexported fields }
func NewH264RtpEncoder ¶
func NewH264RtpEncoder(codec []byte) *H264RtpEncoder
type H265RtpDecoder ¶ added in v0.3.3
type H265RtpDecoder struct { IRtpDecoder // contains filtered or unexported fields }
func NewH265RtpDecoder ¶ added in v0.3.3
func NewH265RtpDecoder(f format.Format) *H265RtpDecoder
type OpusRtpDecoder ¶
type OpusRtpDecoder struct { IRtpDecoder // contains filtered or unexported fields }
func NewOpusRtpDecoder ¶
func NewOpusRtpDecoder(f format.Format) *OpusRtpDecoder
type OpusRtpEncoder ¶
type OpusRtpEncoder struct { IRtpEncoder // contains filtered or unexported fields }
func NewOpusRtpEncoder ¶
func NewOpusRtpEncoder(pt uint8) *OpusRtpEncoder
type RtcServer ¶
type RtcServer struct {
// contains filtered or unexported fields
}
func NewRtcServer ¶
func (*RtcServer) HandleJessibuca ¶
func (*RtcServer) HandleWHEP ¶
func (*RtcServer) HandleWHIP ¶
type SafariHEVCRtpEncoder ¶
type SafariHEVCRtpEncoder struct { IRtpEncoder // contains filtered or unexported fields }
func NewSafariHEVCRtpEncoder ¶
func NewSafariHEVCRtpEncoder(codec []byte) *SafariHEVCRtpEncoder
Click to show internal directories.
Click to hide internal directories.