Versions in this module Expand all Collapse all v0 v0.0.2 Dec 19, 2023 Changes in this version + func DefaultRTCPFormatter(pkts []rtcp.Packet, _ interceptor.Attributes) string + func DefaultRTPFormatter(pkt *rtp.Packet, _ interceptor.Attributes) string + type PacketDumper struct + func NewPacketDumper(opts ...PacketDumperOption) (*PacketDumper, error) + func (d *PacketDumper) Close() error + type PacketDumperOption func(d *PacketDumper) error + func Log(log logging.LeveledLogger) PacketDumperOption + func RTCPFilter(callback RTCPFilterCallback) PacketDumperOption + func RTCPFormatter(f RTCPFormatCallback) PacketDumperOption + func RTCPWriter(w io.Writer) PacketDumperOption + func RTPFilter(callback RTPFilterCallback) PacketDumperOption + func RTPFormatter(f RTPFormatCallback) PacketDumperOption + func RTPWriter(w io.Writer) PacketDumperOption + type RTCPFilterCallback func(pkt []rtcp.Packet) bool + type RTCPFormatCallback func([]rtcp.Packet, interceptor.Attributes) string + type RTPFilterCallback func(pkt *rtp.Packet) bool + type RTPFormatCallback func(*rtp.Packet, interceptor.Attributes) string + type ReceiverInterceptor struct + func (r *ReceiverInterceptor) BindRTCPReader(reader interceptor.RTCPReader) interceptor.RTCPReader + func (r *ReceiverInterceptor) BindRemoteStream(_ *interceptor.StreamInfo, reader interceptor.RTPReader) interceptor.RTPReader + func (r *ReceiverInterceptor) Close() error + type ReceiverInterceptorFactory struct + func NewReceiverInterceptor(opts ...PacketDumperOption) (*ReceiverInterceptorFactory, error) + func (r *ReceiverInterceptorFactory) NewInterceptor(_ string) (interceptor.Interceptor, error) + type SenderInterceptor struct + func (s *SenderInterceptor) BindLocalStream(_ *interceptor.StreamInfo, writer interceptor.RTPWriter) interceptor.RTPWriter + func (s *SenderInterceptor) BindRTCPWriter(writer interceptor.RTCPWriter) interceptor.RTCPWriter + func (s *SenderInterceptor) Close() error + type SenderInterceptorFactory struct + func NewSenderInterceptor(opts ...PacketDumperOption) (*SenderInterceptorFactory, error) + func (s *SenderInterceptorFactory) NewInterceptor(_ string) (interceptor.Interceptor, error)