=== Stream Live – HLS + Chat ===
Contributors: proxymis
Donate link: https://proxymis.com/
Tags: live streaming, hls, video, chat, livestream, webrtc
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Stream live from WordPress Admin using HLS. Auto‑create a viewer page with an HLS player and lightweight chat (with basic moderation).

== Description ==

Stream Live lets site admins broadcast live video directly from the WordPress Admin (Chrome/Edge desktop or Android Chrome). The plugin builds HLS segments locally and serves a viewer page with a simple chat system. No external services required.

Highlights:
- Admin “Start Streaming” UI using WebCodecs + HLS segments
- Viewer page with HLS playback (native/hls.js) + chat
- Auto‑create viewer page button
- Basic chat moderation: list, delete, ban by name/IP

Privacy: chat messages are stored in your WordPress database; no third‑party processors.

Author: proxymis (proxymis.com) — contact: contact@proxymis.com

== Installation ==

1. Upload the `stream-live` folder to `/wp-content/plugins/`.
2. Activate the plugin through the “Plugins” screen.
3. In Admin → Stream Live, click “create new live stream”.
4. Click “Start” to begin streaming; share the preview link with viewers.

Notes:
- Streaming requires Chrome/Edge desktop or Android Chrome (MediaStreamTrackProcessor support). iOS Safari and Firefox cannot stream. Viewing works in all modern browsers.
- HLS files are written under `wp-content/uploads/wpsl/{stream_id}`.

== Frequently Asked Questions ==

= Does this use external streaming servers? =
No. Segments are written to your WordPress uploads directory and served over HTTP.

= Can viewers watch on iOS Safari? =
Yes. Viewing works on modern browsers, including iOS Safari.

= Why can’t I stream from iOS or Firefox? =
Those platforms do not expose the required APIs (MediaStreamTrackProcessor / WebCodecs encoder).

== Screenshots ==
1. Admin streaming UI with preview and controls
2. Viewer page with video and chat
3. Chat moderation (list, delete, ban)

== Changelog ==

= 1.0.0 =
Initial release.

== Upgrade Notice ==

= 1.0.0 =
First public release to WordPress.org.
