TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: I did web app to watch/share IPTV

6 点作者 anilyeni超过 1 年前
It started as a Proof of Concept (POC) but quickly turned into a weekend project. Unfortunately, due to time constraints, it still has many missing features and bugs.<p>Recently, I moved from my apartment and no longer have a smart enough TV to watch my IPTV. I couldn&#x27;t find a web app that suited my needs; most available options relied on backend services. As a backend engineer, I decided to challenge myself with a frontend-only solution. Initially, I thought I could parse the IPTV playlist and play it using the HTML5 video element. However, I soon realized that this isn&#x27;t as straightforward in the real world, and I&#x27;m still puzzled by why the HTML5 video player lacks the capabilities of VLC player.<p>My playlist streams are in mpeg2-ts format, and it took some effort to make them compatible with the video player. Although there are still some mpeg2-ts streams that I cannot play, I didn&#x27;t prioritize addressing this issue.<p>After successfully creating a POC for playing IPTV streams, I found it intriguing to share the stream with others through WebRTC. Admittedly, I knew little about &quot;signaling,&quot; but with some research via docs and YouTube, I managed to make it work. It&#x27;s a bit buggy, but it &quot;kinda&quot; works.<p>The code is a bit messy, but if I find time to tidy it up, I&#x27;ll push it to GitHub. Perhaps someone can help fix the bugs :)<p>In the future, if time allows, I plan to address these issues and explore new features, such as streaming to multiple peers, sticky sessions, caching the playlist, and more.<p>Feel free to give it a try if you&#x27;re an IPTV user. You may need to allow &quot;insecure content&quot; if your playlist includes HTTP links and is missing CORS headers, similar to mine. Apologies if it doesn&#x27;t work :)<p>Best, Thanks

2 条评论

anilyeni超过 1 年前
you can try the ones under <a href="https:&#x2F;&#x2F;github.com&#x2F;iptv-org&#x2F;iptv?tab=readme-ov-file#playlists">https:&#x2F;&#x2F;github.com&#x2F;iptv-org&#x2F;iptv?tab=readme-ov-file#playlist...</a>
motyar超过 1 年前
Please add some example&#x2F;sample links to try.
评论 #38770552 未加载