Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host Voice in iOS AR App #9

Open
CreateUp-Academy opened this issue Dec 28, 2018 · 10 comments
Open

Host Voice in iOS AR App #9

CreateUp-Academy opened this issue Dec 28, 2018 · 10 comments

Comments

@CreateUp-Academy
Copy link

I made the scene that the host speaks with polly by sumerian. I can watch the scene that the host speaks with gesture by MacBook pro.

And I made AR App by Xcode and ARkit in accordance with tutorial, I can watch the host and gesture by iPhone XR, but I cannot hear the voice. Of course the volume is not muted.

Please let me know how to solve the problem.

@mike-starr
Copy link
Contributor

We'll look into this. Automatic playback of audio is specifically allowed in the WKWebView via webViewConfiguration.mediaTypesRequiringUserActionForPlayback = [] , but it looks like this may no longer be working.

@CreateUp-Academy
Copy link
Author

Can I improve the problem?

@alexander-santiago
Copy link

alexander-santiago commented Jan 29, 2019

Hi is there a solution yet for the problem? I am facing the same issue.
I even tried exchanged the URL with a youtube link. I did not have any issue on that. However I had to unmute on the youtube link after it was loaded.
Is there anything similiar to pass it on unmuted?

@mike-starr
Copy link
Contributor

We've identified the problem and are working on a fix. I'll update this issue when it's released.

@mike-starr
Copy link
Contributor

Fix is out. Please re-publish your scene in Sumerian to pick it up.

@CreateUp-Academy
Copy link
Author

I cannot hear the host voice with the iOS App using this code yet.

@alexander-santiago
Copy link

alexander-santiago commented Jan 31, 2019

Hi Mike, same here. I republished but unfortunately I cannot hear anything either.
Within the state machine of the the Avatar before I start the speech I added the action "unmute" just to make sure that the scene is not muted.

@mike-starr
Copy link
Contributor

I've noticed that WKWebView will sometimes cache scenes and will continue to use the cached version even if the scene's been republished. Try adding this code to ViewController.swift in the viewDidLoad function right after the call to super.viewDidLoad, which will explicitly clear its cache.

let websiteDataTypes = NSSet(array: [WKWebsiteDataTypeDiskCache, WKWebsiteDataTypeMemoryCache])
let date = NSDate(timeIntervalSince1970: 0)
WKWebsiteDataStore.default().removeData(ofTypes: websiteDataTypes as! Set<String>, modifiedSince: date as Date, completionHandler:{ })

If that doesn't work, please reach out to me (AWS-mstarr) on our public slack (https://slack.sumerian.aws) and I'll see if I can figure out what's going on with your specific scenes.

@alexander-santiago
Copy link

Unfortunately did not work, still silence. I will contact you on slack as suggested.

@mi3ctf
Copy link

mi3ctf commented Aug 30, 2019

Is this an old just still open or an active known issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants