=== WpStream - Live Streaming, Video on Demand, Pay Per View ===
Contributors: wpstream
Tags: live streaming, video streaming, live video, broadcast, live shopping
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.1
Stable tag: 4.9.7
License: GPL
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Stable: trunk

WpStream is a Video Streaming Plugin that lets you broadcast live events and helps you sell tickets or recordings via WooCommerce.

== Description ==

[youtube https://www.youtube.com/watch?v=TopBhvGvwbs]

WpStream is the only video streaming solution on WordPress that is designed to help you create your video streaming website without adding any load to your hosting server.

WpStream makes it possible for you to stream live content directly on your site, bypassing the need for third-party solutions. By taking control of your live stream, you can fully maximize the use of your video content, choosing how to display it, to whom, and whether you want to charge for it.


<h3><a href="https://wpstream.net/wpstream-video-streaming-theme/" target="_blank">Hello WpStream Theme</a></h3>

Hello WpStream is a lightweight, flexible WordPress theme designed for seamless integration with WpStream, the ultimate live streaming plugin. Perfect for businesses and creators, this theme offers an intuitive setup, responsive design, and full support for live shopping, video content, and real-time interactions. Whether you're hosting live events, product launches, or virtual classes, Hello WpStream makes it easy to engage your audience and enhance your e-commerce experience.

<h3>Live Streaming</h3>

<a href="https://wpstream.net/live-streaming/" target="_blank">Live Streaming on your website</a> can be carried out directly from your browser or with the help of Streaming Apps with custom RTMP. With just a webcam, you can go live in less than 3 minutes. As for streaming apps, a few popular client picks are:

<ul>
<li>OBS Studio</li>
<li>StreamYard</li>
<li>Restream</li>
<li>Wirecast</li>
<li>Larix</li>
<li>Melon App</li>
<li>Streamlabs</li>
<li>Zoom</li>
</ul>

Whether you are using your laptop, phone, or GoPro, going LIVE and streaming video on your website has never been easier. Gone are the days where you needed a sophisticated and complex live streaming set up. Free-To-View, Pay-Per-View, and Subscription live streams available.


<h3>Recordings / Video On Demand (VODs)</h3>

Record your live streams or upload video files to create <a href="https://wpstream.net/recordings-video-on-demand/" target="_blank" >Video-On-Demand content</a>. Video playback or streaming video is compatible on all modern browsers and platforms.

Allow your viewers to catch up on your video content by offering it On Demand. Free-To-View, Pay-Per-View, and Subscription VOD available.


<h3>Monetization with WooCommerce</h3>

Live streaming and <a href="https://wpstream.net/monetization/" target="_blank">VOD monetization is carried out with WooCommerce</a>. Transform your business idea into one that includes video streaming and watch how your profits follow. With just a basic setup, you can create your Pay-Per-View and Subscription Livestreams and VODs on your website.

<h3>Content Rights and Free Speech</h3>

WpStream believes in your <a href="https://wpstream.net/free-speech-and-content-rights/" target="_blank">Right to Free Speech</a> and autonomy over what you live stream on your website. Add your own logo, branding, and identity to your live streams and videos.

If you have a private event, you can set up a <a href="https://wpstream.net/password-protected-live-streaming-everything-you-need-to-know/" target="_blank"> password protected live stream</a>. Perfect for company meetings, kids activities, weddings, and other private events.



<h3>Widgets, blocks, and shortcodes</h3>

<h4>Live and VOD Player embedding</h4>

Each Live Stream and On Demand video will have its own pre-made video page. Alternatively, customize the location and position of the video player using the <a href="https://wpstream.net/wpstream-shortcodes/" target="_blank">“WpStream Player” block, widget, or regular shortcode</a>. Available with Elementor, WPBakery, and other page builders.

<h4>E-Commerce Marketplace / TWITCH feature</h4>

Allow regular users, streamers, and influencers to go LIVE on your website via the front-end (like TWITCH). Set up profiles and add the <a href="https://docs.wpstream.net/docs/elementor-3/" target="_blank">“Start Streaming” block, widget, or shortcode</a> to their page so they can go live at any time without admin access. Available with Elementor, WPBakery, and other page builders.

<h4>Live Channels and Video Lists</h4>

Show viewers which streamer or channel is currently LIVE on your video streaming website and all the On Demand videos they can catch up with any time, any where, on any device. Use the <a href="https://wpstream.net/wpstream-shortcodes/" target="_blank">WpStream Channel List or WpStream Video on Demand List</a>.  Available with Elementor, WPBakery, and other page builders.


Check out our <a href="https://docs.wpstream.net/docs-category/getting-started/" target="_blank">documentation</a>, <a href="https://wpstream.net/blog/" target="_blank">blog</a>, and <a href="https://www.youtube.com/channel/UCIjItiJc4Z7aJApj3W6ArJA" target="_blank">YouTube Channel</a> for latest updates, tips, and instructions on how to create your video streaming website.


== CONNECT WITH US ==
<a href="https://www.youtube.com/channel/UCIjItiJc4Z7aJApj3W6ArJA" target="_blank">YouTube</a>
<a href="http://facebook.com/wpstreamsoftware" target="_blank">Facebook</a>
<a href="http://twitter.com/streaming4wp" target="_blank">Twitter</a>
<a href="http://linkedin.com/company/wpstream" target="_blank">LinkedIn</a>


== Screenshots ==
1. Add your WpStream Credentials
2. WpStream Onboarding Wizard
3. WpStream Onboarding Wizard - Going Live
4. WpStream Settings Page
5. WpStream Channel Settings
6. Turning On a Channel
7. WpStream Player on frontend
8. Pay Per View Live Channel with WooCommerce
9. Your Channel List
10. Your Recordings
11. Setting up a Subscription with WooCommerce Subscriptions Plugin

== Frequently Asked Questions ==

=What can I use WpStream for?=
Live Streaming, Video (On Demand), and Pay-Per-View on WordPress websites. Most popular use cases for live video content include <a href="https://wpstream.net/broadcast-live-fitness-and-exercise-classes/" target="_blank">Fitness</a>, <a href="https://wpstream.net/churches-and-houses-of-worship/" target="_blank">Faith</a>, <a href="https://wpstream.net/education-and-e-learning/" target="_blank">Education</a>, and <a href="https://wpstream.net/news-broadcasting/" target="_blank">News / TV Broadcasting</a>.

=Which plan is the best for my streaming needs?=
We calculate your ideal plan based on the number of hours you will be streaming, the number of viewers, the amount of storage you need, and the quality of your broadcast. You can calculate which plan is best for you by adding your numbers <a href="https://wpstream.net/pricing/#band_calculator" target="_blank">here</a>.

=How many LIVE channels can I run concurrently?=
You can run anywhere from 5 to 150  LIVE concurrent channels, depending on the streaming plan you have. Check them out <a href="https://wpstream.net/pricing/" target="_blank">here</a>.

=Can I monetize my LIVE and Video (On Demand) content?=
Absolutely! You can set up subscriptions, pay-per-view, or hybrid models with WooCommerce. Find out more information about the different monetization options for LIVE and Video content  <a href="https://wpstream.net/how-to-monetize-your-live-streaming-content-with-wpstream/" target="_blank">here</a>.

=Can my website users go live on my website on their own?=
Regular users are able to GO LIVE via the Front-End. Check out the <a href="https://docs.wpstream.net/docs/elementor-3/" target="_blank">documentation</a> to find out how streaming video is done by regular users.

=What can I live stream with?=
Through any modern browser or using apps with RTMP (Real-Time Messaging Protocol) capability. For example, StreamYard, OBS, Wirecast, iPhones, and Androids. <a href="https://wpstream.net/live-streaming/" target="_blank">See here</a>.

= Where do I report security bugs found in this plugin? =
Please report security bugs found in the source code of the WpStream plugin through the [Patchstack Vulnerability Disclosure  Program](https://patchstack.com/database/vdp/9e5fbaaa-34e8-4647-9a67-08c4760f554d). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.

== Installation ==
1. Review our comprehensive tutorials here  https://wpstream.net/category/getting-started/
2. Install and enable the plugin from https://downloads.wordpress.org/plugin/wpstream.zip or by searching for 'WpStream' in your plugin install page
3. Signup with <a href="https://wpstream.net/">WpStream</a> and get your credentials
4. Under the "WpStream" section of your WordPress admin, use the WpStream credentials to activate your plugin
5. (Optional) Install and activate <a href="https://wordpress.org/plugins/woocommerce/">WooCommerce</a> if you need to create pay-per-view video products
6. Create and publish a new 'Free Live Channel" (under 'Free Free Live Channel / Free Video') or a 'Live channel' type Product (under 'Products')
7. After publishing your Channel/Product, click the "BROADCAST TO CHANNEL" button. Wait for the channel to become available and select your favorite way to broadcast ('Browser' or '3rd Party'). The browser broadcast will open a pop-up that will immediately begin to broadcast. The '3rd party' option will give you the 'rtmp' parameters you need to set up on your encoder (i.e. OBS)
8. Live video will be available on the Channel/Product 'permalink' page shortly after starting your broadcast


== Changelog ==

= 4.9.7 =
* Fix - Login during Quick Start onboarding

= 4.9.6 =
* Fix - Show paid channels/VODs on the My Account dashboard
* Enhancements - Added nonce verification to AJAX requests

= 4.9.5 =
* Fix - Saving the Non-Admin User Roles Allowed to Broadcast setting
* Fix - Warning for no role account when accessing a page with role-blocked shortcodes

= 4.9.4 =
* Fix - Broadcaster reconnecting when losing connection
* Fix - Automatically select the right camera resolution when trying to use a non-supported resolution
* Fix - Broadcaster button on mobile devices

= 4.9.3 =
* Fix - Video not showing correctly when Hello WpStream theme is active

= 4.9.2 =
* Enhancement - Add loading spinner to the video player when loading
* Enhancement - Improve the quota to periodically update the data
* Fix - Channel status on the dashboard
* Fix - Logo size on mobile devices

= 4.9.1 =
* Fix - External Streaming App modal not showing

= 4.9 =
* Enhancement - Live update quota in the admin area

= 4.8.7 =
* Fix - Show/hide player elements based on subscription plan

= 4.8.6 =
* Fix - Basic streaming changes

= 4.8.5 =
* Enhancement - Better track the quota calls

= 4.8.4 =
* Fix - Optimizing the quota calls

= 4.8.3 =
* Fix - Saving individual/global channel settings
* Enhancement - Update the quota updates for better accuracy

= 4.8.2 =
* Fix - Accessing the broadcaster from the front-end (e.g. BuddyBoss profile)
* Fix - Update the broadcaster rewriting rules
* Enhancement - Update the POT file

= 4.8.1 =
* Fix - Broadcaster reconnecting issue

= 4.8 =
* Improvement - Broadcaster experience improvements
* Improvement - Extend channel settings functionality
* Enhancement - Update requests to WpStream API
* Fix - Missing translations and updating the POT file

= 4.7.2 =
* Fix - Issue with closing the onboarding wizard

= 4.7.1 =
* Fix - Minor styling issues

= 4.7 =
* Feature - Improve broadcaster experience with the new browser broadcaster
* Fix - Video Player styling fixes

= 4.6.7.9 =
* Fix - Fix default value for channel settings
* Fix - Initial Video Player message when the streaming has started

= 4.6.7.8 =
* Improvement - Decrease number of remote requests

= 4.6.7.7 =
* Fix - Fatal error due to loading wrong PHP file

= 4.6.7.6 =
* Enhancement - Moved functionality from the Hello WpStream theme to the plugin

= 4.6.7.5 =
* Enhancement - Added the support tab in the settings area for environment status and logs
* Fix - Show the option to turn on the channel only on published channels

= 4.6.7.4 =
* Feature - Give the video player a different look using the theme option
* Feature - Display a logo over the video player
* Enhancement - Fix issue regarding the basic streaming functionality when the video doesn't start

= 4.6.7.3 =
* Fix - Broken WpStream login functionality
* Enhancement - Automatically save changes on the plugin settings

= 4.6.7.2 =
* Fix - Styling of the play button over the player
* Enhancement - Register custom WooCommerce products

= 4.6.7.1 =
* Enhancement - Added new demo option

= 4.6.7 =
* Feature - Max viewers

= 4.6.6.9 =
* Fix - WpStream shortcodes not working

= 4.6.6.8 =
* Fix - WpStream Widgets not appearing when using Elementor

= 4.6.6.7 =
* Tested up to WordPress 6.8
* Fix - Show the self-hosted or external video even when there are no resources
* Fix - Creating multiple channels or VODs during the Quick Start Wizard
* Fix - Channel status on first page load

= 4.6.6.6 =
* Enhancement - Add support for uploading video files larger than 5GB

= 4.6.6.5 =
* Fix - Show the videos list in the Quick Start Wizard after login
* Fix - Fix BuddyBoss live stream issue in the News Feed and Activity pages

= 4.6.6.4 =
* Enhancement - Added new demo option

= 4.6.6.3 =
* Fix - stop file uploading when the size exceeds 5GB.

= 4.6.6.2 =
* Fix - plugin crashes on playground.wordpress.net

= 4.6.6.1 =
* Fix - display error when plugin registration times out

= 4.6.6 =
* Feature - basic streaming
* Enhancement - change text/labels
* Enhancement - iproved error logging

= 4.6.5 =
* Feature - set up import demos
* Enhancement - cache channel info in transient for lower api usage
* Enhancement - QoE adjustments

= 4.6.4 =
* Tested up to WordPress 6.7.1
* Upgrade video.js to 8.20
* Load ultra-low-latency scripts on demand
* QoE enhancements

= 4.6.2 =
* improve the enqueque of wpstream js files
* fixed the way WooCommerce "Shop Manager" user role see the admin interface
* replace qr code generation link since google qr code is not available anymore
* added stable tag
* Lock To Website option fix ( inversed action)
* Fix clicking on Create new Pay-Per-View VOD from this recording will lead to an error if WooCommerce is not installed

= 4.6.1.1 =
* Enhancement - QoE adjustments
* Enhancement - more explicit error messages

= 4.6.1 =
* Enhancement - Collect and send QoE data

= 4.6.0.7 =
* Hotfix - temporarily disable player title overlay

= 4.6.0.6 =
* Fix - can't play VOD due to transparent overlay

= 4.6.0.5 =
* Fix - the 'x' on the mute icon is 'chipped' 
* Enhancement - add title overlay capability to player
* Optimization - moved code from theme
* Update - fpr theme changes
* Enhancement - show video collections above comments
* Enhancement - do not show actors, media categories, ratings in the admin product list
* Fix - exclude_from_search issue with wpstream post types
* Enhancement - show title as overlay
* Enhancement - more explicit error messages

= 4.6.0.4 =
* Fix - corner cases

= 4.6.0.3 =
* Work around youtube playback issue

= 4.6.0.2 =
* Fix improper content width (theme)
* Fix - class for warning message

= 4.6.0.1 =
* Fix full witdth trailer (theme)

= 4.6 =
* Cumulative changes to accomodate upcoming WpStream Theme

= 4.5.12 =
* Upgrade video.js to 8.11.5 (includes VHS v3.11.2)

= 4.5.11.6 =
* Fix for the case when woocommerce is not activated

= 4.5.11.5 =
* Upload image for category in wp-admin fix

= 4.5.11.4 =
* Further (minor) player adjustments for theme

= 4.5.11.3 =
* Player and visuals adjustments for theme

= 4.5.11.2 =
* Minor player adjustments
* Label changes
* Fix: code not showing price when we have wpstream_bundle in theme

= 4.5.11.1 =
* Tested up to WP v6.4.1

= 4.5.11 =
* Player changes for trailer/theme
* Fluid Player for Live and VOD

= 4.5.9.1 =
* Fix - version mismatch

= 4.5.9 =
* VOD Player changes for trailer/theme

= 4.5.8 =
* Fix - expired subscriptions may still allow access to content 

= 4.5.7 =
* Enhanced player messages

= 4.5.6 =
* Upgrade video.js to v8.5.2 (includes VHS v3.5.3)
* Workaround for low latency content misbehaving in the presence of cache plugins

= 4.5.5.1 =
* Explicit changelog

= 4.5.5 = 
* Adding security nonce on channel updates
* Updated youtube.min.js library to work with the latest video js player
* Removed vimeo support
* Minor code improvements

= 4.5.4 = 
* Fixed warning message on subscriptions

= 4.5.3 = 
* Fixed Low latency and Adaptive bit rate for auto-start channels
* Fixed WooCommerce notifications labels
* Added CSS improved for BuddyBoss player

= 4.5.2 = 
* fix for low latency delayed start on android
* update video player
* tested up to WP 6.2

= 4.5.1 = 
* Added Low Latancy beta to channel settings (can be enabled/disabled for each channel)
* Added Adaptive bitrate beta to channel settings (can be enabled/disabled for each channel)

= 4.5 = 
* Improved functionality for low latency

= 4.4.19 =
* Fixed bug for wpstream channel list block

= 4.4.18 =
* Player adjustments
* Cache encryption keys

= 4.4.17 =
* Fixing the Zip variant

= 4.4.11 =
* WpStream Integration with BuddyBoss Web.
* BuddyBoss users can live stream from their profile.
* Live stream will appear on BuddyBoss Platform 'News feed'.
* Adding a nonce for admin setting form

= 4.4.10 =
* Enable on boarding for mobile

= 4.4.9 =
* added new customizable message- “We are not live…”
* added new pot file
* fix on WpStream player widget for Elementor
* fix css conflict
* fix on front end streaming widget for Elementor (unclosed div)

= 4.4.8 =
* Improved code on Captcha request.

= 4.4.7 =
* Fix register captcha requested too often
* Improved onboarding process
* Added video help links on settings

= 4.4.6 =
* Fix on getting the video list
* Fixed typos on plugin

= 4.4.5 =
* fix on onboarding wizard

= 4.4.4 =
* Added onboarding wizard
* Readme updates

= 4.4.3 =
* Tested with 6.0

= 4.4.2 =
* Fixes warnings on fresh installations for video recording list

= 4.4.1 =
* Update title on readme

= 4.4 =
* Player improvements
* Spelling improvements

= 4.3.5 =
* Player improvements
* Spellings

= 4.3.3 =
* Added channel ID on channel card
* Fixed css issue for mobile screen resolutions

= 4.3.2 =
* Fix on displaying the RTMP
* URL improved turning off
* Fixed php8 warning

= 4.3 =
* Added Auto Start On option

= 4.2 =
* Interface redesign

= 4.1 =
* Improved methods when dealing with video on demand files change the thumb size on item list

= 4.0.4 =
* "Not logged in" fixed message
* Branding
* New menu position for WpStream items

= 4.0.3 =
* Change token transient name to avoid login issues

= 4.0.2 =
* Fix: reset connection data on plugin update

= 4.0.1 =
* New version based on WpStream API

= 3.14.3 =
* Failover mechanism in case connection with WpStream is lost

= 3.14.1 =
* Customize the ‘Off Air’ Message on the player when you are no longer streaming by accessing the ‘Live Metrics’

= 3.12.5 =
* Cosmetic Code Changes

= 3.12.4 =
* Video Player – Playback improvements

= 3.12.3 =
* Added 2 new blocks for Elementor and Visual Bakery:
* Video on demand list
* Live event list (with option to show only active [live] events)

= 3.12.2 =
* Fix “Sorry, this product cannot be purchased.” error
* Fix disappearing ‘Add To Cart’ button

= 3.12.1 =
* Fix message display

= 3.12 =
* New plugin option interface
* Message control
* General subscription mode (Netflix mode)
* Option to control media per subscription
* Improved media management control

= 3.11 =
* Enable new Browser Broadcast action (New Generation Browser Broadcaster)
* Removed Delete Channel button
* Responsive css for event list
* change labels

= 3.10.1 =
* Fix for no thumb warning
* Fix for translation string

= 3.10 =
* Added “encode live stream” as event option

= 3.10 =
* Added “encode live stream” as event option

= 3.9.1 =
* Live metrics URL fix on event start

= 3.9 =
* Added share links for events
* Added live metrics for events
* Fix – default event permissions

= 3.7.1 =
* Enable Regular Users to Broadcast via the Front-End
* Fixed user permission on streaming capabilities

= 3.6.1 =
* Fixed spelling mistakes in plugin
* readme update

= 3.6 =
* Player detects when an event is started even if there is no transmission
* Updated video js library
* Video js library has been updated accordingly to the latest version 7.10.1 (2020-10-15)
* Improved chat connection and user counting
* Chat connection and user counting has been improved and is now able to transmit and count viewers in real-time more accurately.
* Low latency player shortcode and block – Beta & Manual Approval
* Low latency player shortcode and block have now been added and users are able to add these to Pages and Posts. Low latency is the difference of time between the recording of an event and displaying said event on a viewer’s screen. With this feature, delay between the original recording and the displayed output is decreased from 30 seconds to about 2.5 seconds. Please note, this is still an experimental feature and we are only offering it to select customers that reach out to us.

= 3.3 =
* Player synchronization with active events fixed.
* The player will detect when an active event is up and will autoplay the stream if it exists.
* Check if the user is logged on WpStream and display notice
* Added chat shortcode for both visual bakery and Elementor plugins.
* It is now possible to add a chat to your live-stream using a shortcode through both page builders; WPBakery and Elementor. Please note that the chat is in beta mode.

= 3.2.5.1 =
* Css fix for single channel broadcast interface

= 3.2.5 =
* Roll back to 3.2.3 due to bug in player synchronization.
* This issue was reproduced only on a few users and was not a universal problem.

= 3.2.4 =
* Player synchronization update with active event.
* The player will now detect when an active event is up and will autoplay the stream if it exists.

= 3.2.3 =
* Improved plugin interface and updated the OBS screenshots and labels.
* Cache clear & control for CSS and js files (during plugin updates)
* Separated method for serving video on demand URI
