Repository navigation
Let the tutor speak for students in an ATLAS study - #42
Merged
Merged
Conversation
Unity fetches the tutor's voice clips itself, so they never carried the study ticket and the API answered 403. The agent page now builds the clip links, with the ticket when there is one, and the avatar plays them as given. Fixes #41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #41
Unity fetches the tutor's voice clips on its own, so they went out without the study ticket and came back 403. Now the agent page builds the clip links and adds the ticket for a study student, the same way the check-in stream carries it. The avatar page just plays the links it gets.
Students outside a study are unchanged. Their clips still pass the check with the cookie.
Tested with a new speechUrl test and the full client suite. I'll check it on zany.inviteai.org with a demo study after it deploys.