You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(broadcaster): cross-pod handling in getRouterRtpCapabilities #66
The handler resolves the room's owning node from Redis and, if it isn't this pod,
rejects the request instead of servicing it:
const redisRoom = await getRedisRoom(roomKey)
//TODO: Implementation for different pod connections
if (redisRoom.nodeId !== config.instanceId) {
logger.error('Different pod')
throw new ApiError(409, "Room belongs to another node")
}
Task
Replace the hard 409 "Room belongs to another node" rejection with real cross-pod
handling for the getRouterRtpCapabilities event — forward/proxy the signaling to the node that owns
the room (or redirect the client via sticky routing) so a socket that lands on a
non-owning pod can still complete this step.
Activity