Update MPEG-TS IPTV handling to use native playback

Changed protocol detection for direct .ts IPTV streams from 'hls' to 'native', reflecting that modern browsers can play MPEG-TS streams without a special player. Updated documentation, README, and tests to clarify browser support and recommend requesting .m3u8 links for best compatibility.
This commit is contained in:
hibna
2025-11-04 05:34:29 +03:00
parent 15bfb01c33
commit c5ca776a60
4 changed files with 50 additions and 13 deletions
+5
View File
@@ -150,9 +150,14 @@ function App() {
### IPTV Streaming
```tsx
// Note: Browser support for direct .ts streams is limited
// For best compatibility, request .m3u8 (HLS) links from your IPTV provider
<VideoPlayer
src="http://server.com:8080/live/username/password/12345.ts"
poster="http://example.com/channel-logo.png"
onError={(error) => {
console.error('Stream error - try requesting .m3u8 format:', error)
}}
/>
```