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

[Youtube][Intermittent] A different resolution is set for videos either too high or too low #2946

Closed
Softvision-RemusDranca opened this issue Mar 12, 2020 · 9 comments · Fixed by #3461
Assignees
Labels
in progress [QA]:Normal issue Label for QA to mark normal issues logged [QA]:Verified fixed Label for QA to mark verified fixed issues Youtube Youtube related issue
Milestone

Comments

@Softvision-RemusDranca
Copy link

[Affected Versions]:

  • Firefox Reality version 10-40720037 (dbb8ed3)
  • Firefox Reality version 9 rc10 (324719f).

[Affected Platforms]:

  • HTC Vive Focus Plus - Android 7.1.2
  • Oculus Quest - Android 7.1.1
  • Pico Neo2 - Android 8.1.0

[Prerequisites]:

  • The Firefox Reality browser is opened.

[Steps to reproduce]:

  1. Navigate to https://www.airpano.com/360video_list.php.
  2. Play the first video. (it redirects to Youtube)
  3. Observe the behavior.

[Expected results]:

  • The video is played correctly at the correct resolution.

[Actual results]:

  • The video is set to be played at a 5k resolution and fails to play.

[Notes]:

  • In some attempts the video Quality was set at a 360p Resolution.
  • Attached are screen recordings of the issue:
    • To high Quality: link.
    • To low Quality: link.
@daron-walters
Copy link
Collaborator

Still researching but this link and search 'Revision History' it says that some of the methods we use have been deprecated. still researching to see if that affects our playback but the intermittent nature of this makes me think there may be some issues on the youtube side of it.

@daron-walters
Copy link
Collaborator

daron-walters commented May 13, 2020

It seems the intermittent nature of this issue is because of some issues within youtube interval calls. I have included 2 different debug sessions that were called from the same url. Notice the call getPlaybackQuality is giving 2 different qualities from the same video. Also it must be of note that the video of "Christ The Redemer" says 12k but it seems 12k isnt supported yet (both in our app and on Desktop). We may need to look and at a listener for when quality changes

dctm-2946-dev-shot-2
dctm-2946-dev-shot-1

@keianhzo
Copy link
Collaborator

@Softvision-RemusDranca THis should have been fixed by #3288

@Softvision-RemusDranca
Copy link
Author

Softvision-RemusDranca commented May 20, 2020

@keianhzo I've retested this issue using Firefox Reality version 11-141402320 (eda7d95) and here are the results:
- The issue where the video is set to be played at a 5k resolution and fails to play is not reproducible on the random videos tested.
- However, I encountered the issue where some videos where Auto played at a video Quality with a very low resolution, even if higher resolutions are available. Not sure if this is controlled by Youtube or it could have something to do with a slow Internet connection.

Tested on HTC Vive Focus (Android 7.1.2) and Oculus Quest (Android 7.1.1).

@daron-walters
Copy link
Collaborator

daron-walters commented May 28, 2020

youtube auto corrects based on certain things and slow connection is one of those things. There are some listeners we can take advantage of to try to help this issue but to @keianhzo point the fixe he talked about will at least fix the first issue

@keianhzo
Copy link
Collaborator

keianhzo commented Jun 2, 2020

@Softvision-RemusDranca #3394 forces a quality override after a video playback. Before that we were only overriding the first time we hit a watching page so it should have fixed this issue. Can you confirm and if it's not the case attach STRs so we can reproduce?

@Softvision-RemusDranca
Copy link
Author

Softvision-RemusDranca commented Jun 3, 2020

@keianhzo I've retested this issue using Firefox Reality version 11-141550214 (97a9dca) and I haven't encountered it while testing with multiple videos.
However, I've observed that on Oculus Quest and Pico Neo2 I can no longer change the resolution manually, for example if I want a lower one, it's always set on 4k. Is this intended?
On the other hand this behavior is not reproducible on HTC Vive Focus, the resolution can be changed manually.

@keianhzo
Copy link
Collaborator

keianhzo commented Jun 4, 2020

@Softvision-RemusDranca Not intended, I've pushed a fix: #3461 If that one fixes the issue from your comment I guess we can close this one?

@Softvision-RemusDranca
Copy link
Author

I have verified this issue and it's no longer reproducible using Firefox Reality 11-141620047 (c93ffcd). Now, the resolution can be set manually and also, most of the videos are set to a 4k resolution, where available.

Tested on HTC Vive Focus (Android 7.1.2), Oculus Quest (Android 7.1.1) and Pico Neo 2 (Android - 8.1.0) devices.

@Softvision-RemusDranca Softvision-RemusDranca added the [QA]:Verified fixed Label for QA to mark verified fixed issues label Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress [QA]:Normal issue Label for QA to mark normal issues logged [QA]:Verified fixed Label for QA to mark verified fixed issues Youtube Youtube related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants