mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-31 15:29:41 +02:00
add session & metrics to webrtc peer.
This commit is contained in:
parent
9928feefef
commit
ec8560b290
3 changed files with 8 additions and 4 deletions
|
@ -452,6 +452,8 @@ func (manager *WebRTCManagerCtx) CreatePeer(session types.Session, bitrate int,
|
|||
|
||||
peer := &WebRTCPeerCtx{
|
||||
logger: logger,
|
||||
session: session,
|
||||
metrics: metrics,
|
||||
connection: connection,
|
||||
// tracks & channels
|
||||
audioTrack: audioTrack,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue