npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ventuz-stream-player

v0.8.4

Published

A web component for showing and interacting with Ventuz Stream Out outputs

Downloads

199

Readme

ventuz-stream-player

Build Status

A web component for playing back Ventuz Stream Out outputs in the browser, with keyboard, mouse, and touch input support.

Tested on Chrome, Edge and Firefox on Windows, Safari and Chrome on MacOS, Chrome on Android, and Safari on iPadOS.

Usage

Ventuz configuration

  • ventuz-stream-player requires at least Ventuz 8.1. Earlier versions are missing the required Websocket API needed for the component to run.
  • Add any number of Stream Out outputs to your Device Configuration. The following settings are required or recommended:
    • Codec: Both H.264 and HEVC are supported. To enable HEVC playback on Windows machines, you will need to install the HEVC Video Extensions on the machine running your browser.
    • Color Sampling: 4:2:0 is the safe choice; some browsers (eg. Chrome/Edge on Windows and Safari on iPad) may support 4:4:4.
    • Encode Mode: Low latency if you want input, Streaming otherwise.
    • Rate Control etc: What suits you best. Please note that this choice may impact input latency depending on the browser and platform. If in doubt, experiment.
    • HDR Color Space: Rec.2100 HDR is fully supported with HEVC (on Chromium based browsers on Windows and MacOS, and Safari on MacOS and iPadOS). In other cases, please select Rec.709 as a fallback.

Including the component in your project

npm based projects can just run npm install ventuz-stream-player and add import 'ventuz-stream-player' to the code. Otherwise, download the current release and include or import ventuz-stream-player-min.js from the package's dist directory.

Then add the web component anywhere in your markup or DOM. It might look like this:

<ventuz-stream-player url="http://localhost:22404/remoting/2.0/streamoutws?o=0" latency="0" fullscreenbutton></ventuz-stream-player>

Note that the component's default width and height is 100% so it's the parent container's job to decide the actual size.

Attributes

ventuz-stream-player supports the following HTML attributes:

  • url: URL of the Stream Out web socket endpoint. Usually this is http://<host>:22404/remoting/2.0/streamoutws?o=<outputno> for Ventuz 8.
  • latency: Minimum playback latency in seconds. The default is zero, increasing it trades latency for playback stability.
  • noinput/nokeyboard/nomouse/notouch: Disable all / keyboard / mouse / touch input
  • fullscreenbutton: Display a button to enter fullscreen
  • retryinterval: Connection retry delay in seconds. Default is 3, 0 means don't retry

Styling

You can style the appearance of ventuz-stream-player by overriding the following CSS selectors:

  • ventuz-stream_player for the main element
  • ventuz-stream-player .vsp-statusdisplay for the status display (errors, etc)
  • ventuz-stream-player .vsp-fsbutton for the fullscreen button

Internationalization

You can change the error message strings by listening to the ventuz-stream-player:strings event. The event details contain an object with all built-in messages; just change the strings in that object to anything you'd like. For a list of all possible strings, check the defaultStatusMsgs object in ventuz-stream-player.ts.

Building

This project is using npm and Vite so the usual commands apply:

  • npm install installs all prerequisites
  • npm run dev runs the Vite development server
  • npm run build builds the minified bundle and packages it in the dist folder
  • npm pack creates a tarball for offline distribution

3rd party Credits

Portions from wfs.js, Copyright (c) 2018 ChihChengYang, licensed under the BSD-2-Clause license

Portions from hls.js, Copyright (c) 2017 Dailymotion, licensed under the Apache License, Version 2.0