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
I want to transfer some basic user data(eg. alias, description) after entering the room, is there a way to do that, or what should I do?
Data might be changed during the room lifecycle(user also might enter or leave the room), everyone should be notified with the newest data.
The text was updated successfully, but these errors were encountered:
Hi @zeroone-ved there's no API for this currently, but this would be a great enhancement. Currently UniVoice only has APIs related to audio and chat members:
public event Action OnCreatedChatroom;
public event Action<Exception> OnChatroomCreationFailed;
public event Action OnClosedChatroom;
public event Action<short> OnJoinedChatroom;
public event Action<Exception> OnChatroomJoinFailed;
public event Action OnLeftChatroom;
public event Action<short> OnPeerJoinedChatroom;
public event Action<short> OnPeerLeftChatroom;
public event Action<short, ChatroomAudioSegment> OnAudioReceived;
public event Action<short, ChatroomAudioSegment> OnAudioSent;
Data like what you've described will currently have to be transmitted via the underlying network you're using.
Hi @adrenak I've just posted a commit to make synchronization between peers available. I also extend the interface of IChatroomNetwork, which might cause errors in the 3rd implementation, so that I leave it in my local.
Maybe I'll create another pull request after all is ready, or someone could just do it simply like this:
I want to transfer some basic user data(eg. alias, description) after entering the room, is there a way to do that, or what should I do?
Data might be changed during the room lifecycle(user also might enter or leave the room), everyone should be notified with the newest data.
The text was updated successfully, but these errors were encountered: