Skip to content

V1 Release

Compare
Choose a tag to compare
@MerlinVR MerlinVR released this 12 Jun 23:09
· 31 commits to master since this release
5722263

USharpVideo 1.0

image

This release is largely a rewrite of many parts of the video player to be more extendable, more clean, and more robust. 1.0 makes use of the new manual sync that VRC recently added which in this context allows for more robust and efficient syncing. Additionally there are many improvements to make the video player more robust and to cover many of the use cases that people have requested.

Upgrading from <1.0

  1. Delete the old USharpVideo folder in your project and remove the prefab from your scene
  2. Install the new USharpVideo from the package and pull the new prefab into your scene

Changelist:

  • Video player now uses manual sync which allows for much longer URLs and more robust syncing
  • Fix and improve retry logic to handle failed video loads automatically
  • Improve pause to work more seamlessly
  • Change video sync to be more accurate and robust
  • Add a reload button to the video player
  • Add a loop button for looping the current video
  • Add support for looping and shuffling the default playlist
  • Update UI to use the Feather icon library
  • Update video screen handling and rate limit handling to better handle multiple video players in the same world
  • Separate video sync from video backend (Unity vs AVPro) so the stream player can now sync video times if it is playing a video
  • Separate UI from the core video player and handle multiple copies of UI controlling the same video player
  • Optimize Update logic a little
  • Integrate audio source volume handling with the core video player
  • Handle video aspect ratio correction in shader now, this means AVPro streams can get the correct aspect ratio now
  • Add UI styling utilities to make recoloring the default UI easier and less tedious
  • Workaround bug with video callbacks that was breaking RTSP stream sync in some situations
  • Allow defaulting to the AVPro video player
  • Move Unity and AVPro video components off the main game object to avoid confusion
  • Provide RenderTextureOutput component for use cases where people want one render texture that does not need special handling from shaders to work properly
  • Add some examples for common use cases that people have asked for
  • Add editor handling for resolving YouTube and other video site URLs using YouTubeDL to allow easier testing in editor and to fix a bug with Unity's video player that prevents the editor from closing properly
  • And more that I am probably missing in the notes