Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

Can't play stream from HLS without audio. #292

Closed
yijianwang opened this issue Nov 15, 2016 · 3 comments
Closed

Can't play stream from HLS without audio. #292

yijianwang opened this issue Nov 15, 2016 · 3 comments

Comments

@yijianwang
Copy link

yijianwang commented Nov 15, 2016

I tried to play stream from HLS without audio through the SimpleVrVideoActivity, but failed.
I found it can play stream which has audio using the same way.
And I can play mp4 from asset without audio.

Only the HLS stream without audio can't be played, which is weird.

Did I miss some required setting, or it is just the limitation of this SDK?

Options options = new Options(); options.inputType = Options.TYPE_MONO; options.inputFormat = Options.FORMAT_HLS; Uri liveAddress = Uri.parse("http://XXX.XXX.XXX.XXX/hls/test.m3u8"); // videoWidgetView.loadVideoFromAsset("test.mp4", options); videoWidgetView.loadVideo(liveAddress, options);
This is my setting.

Update:
I tried to combine the HLS stream and the audio from my microphone, then it works. Very weird! It seems to require audio as input along with the video.

@dav-cz
Copy link
Contributor

dav-cz commented Jan 30, 2017

Thanks for the report. This should be fixed in our next release.

@dav-cz
Copy link
Contributor

dav-cz commented Feb 1, 2017

This is fixed in v1.20.0, thanks again for the report!
https://developers.google.com/vr/android/release-notes

@dav-cz dav-cz closed this as completed Feb 1, 2017
@yijianwang
Copy link
Author

Awesome! Thank you!

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

No branches or pull requests

2 participants