Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SupportedCodecs = map[utils.AVCodecID]interface{}{ utils.AVCodecIdH264: webrtc.MimeTypeH264, utils.AVCodecIdH265: webrtc.MimeTypeH265, utils.AVCodecIdAV1: webrtc.MimeTypeAV1, utils.AVCodecIdVP8: webrtc.MimeTypeVP8, utils.AVCodecIdVP9: webrtc.MimeTypeVP9, utils.AVCodecIdOPUS: webrtc.MimeTypeOpus, utils.AVCodecIdPCMALAW: webrtc.MimeTypePCMA, utils.AVCodecIdPCMMULAW: webrtc.MimeTypePCMU, utils.AVCodecIdADPCMG722: webrtc.MimeTypeG722, } )
Functions ¶
func InitConfig ¶
func InitConfig()
func NewTransStream ¶
func NewTransStream() stream.TransStream
func TransStreamFactory ¶
Types ¶
type Sink ¶
func (*Sink) StartStreaming ¶
func (s *Sink) StartStreaming(transStream stream.TransStream) error
func (*Sink) Write ¶
func (s *Sink) Write(index int, data []*collections.ReferenceCounter[[]byte], ts int64, keyVideo bool) error
Click to show internal directories.
Click to hide internal directories.