Skip to content
This repository was archived by the owner on Dec 2, 2023. It is now read-only.

Conversation

@hariprasath2603
Copy link
Contributor

Description

When a user joins the room while the room TTL expires, Redis entry for the room is not created as the checking is happing only on user profile SID insted of checking in redis as like v1.

So added a check from redis for rooms.

Everywhere we have type declaration and usage for avatar and extraInfo for peer. But not set on redis while creating peers.
Before pinfo null check routines returning error sid and uid are dereferenced.

Moved the dereference after error handling for null check.
On UpdatePeer event and AddPeer  methods there is missing implementation for updating or adding avatar and extrInfo of a peer.
Peers are able to join on the TTL expired room.

But room entry not created on the redis only peers entry is created.

Checking the room entry exist on the redis if not creating one.

This kind of approach used on old version, removed on the latest releases.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant