Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterceptorReporter ¶
type InterceptorReporter struct { syncer.TransmissionReporter // 这主要是一个TransmissionReporter用于收集数据 signaller.PubIRFBuilderFactory // 这主要是一个PubIRFBuilderFactory用于创建interceptor // contains filtered or unexported fields }
InterceptorReporter 通过interceptor收集数据
func NewInterceptorReporter ¶
func NewInterceptorReporter(local *ion.Node, gb algorithms.ReportGathererBuilder, r algorithms.ReporterInterceptorFactory) InterceptorReporter
func (InterceptorReporter) Bind ¶
func (t InterceptorReporter) Bind(reports chan<- *pb.TransmissionReport)
Bind 是给TransmissionReporter绑定输出channel
func (InterceptorReporter) NewBuilder ¶
func (t InterceptorReporter) NewBuilder(remote *ion.Node) ion_sfu.InterceptorRegistryFactoryBuilder
NewBuilder 是给PubIRFBuilderFactory创建interceptor
Click to show internal directories.
Click to hide internal directories.