update chain route
This commit is contained in:
@ -56,9 +56,10 @@ func (l *rtcpListener) Init(md md.Metadata) (err error) {
|
||||
}
|
||||
|
||||
l.laddr = laddr
|
||||
l.router = (&chain.Router{}).
|
||||
WithChain(l.options.Chain).
|
||||
WithLogger(l.logger)
|
||||
l.router = chain.NewRouter(
|
||||
chain.ChainRouterOption(l.options.Chain),
|
||||
chain.LoggerRouterOption(l.logger),
|
||||
)
|
||||
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user