Regarding room names and participant identities: there is no documented maximum character limit. Room names can be any unique string, and participant identities can be any string that is unique per participant.
If you have a specific client, database, or downstream system where you plan to store or display these values, tell me which one and I can point out common practical limits or recommend safe length limits. Would you like that?
Sources:
Connecting to LiveKit | LiveKit docs