consolidate room internal (#1030)
* consolidate room internal * create room internal map * pipelined room read * check error * fix pipelined reads * clean up after test
This commit is contained in:
@@ -194,6 +194,10 @@ func (r *Room) LastLeftAt() int64 {
|
||||
return r.leftAt.Load()
|
||||
}
|
||||
|
||||
func (r *Room) Internal() *livekit.RoomInternal {
|
||||
return r.internal
|
||||
}
|
||||
|
||||
func (r *Room) Hold() bool {
|
||||
r.lock.Lock()
|
||||
defer r.lock.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user