How to save selected video background effect from one call to the next using adapter.onStateChange #5453
mgamis-msft
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using our CallAdapter or CallWithChatAdapter, you may want to save the selected video background effect from one call to the next. In this show and tell we will save the background effect to the browser local storage.
We will listen through onStateChange callback like to track the selected video background effect and save it to local storage:
The following should result in your composite saving the user's last video background effect for the next call like in this short video:
2024-11-28.23-58-56.mp4
Beta Was this translation helpful? Give feedback.
All reactions