适用于网站、公开页面和简单的实时摄像头嵌入

无需自己开发浏览器播放器,也能把公开 RTSP 摄像头放到网站中。

当你的主要目标很直接:先在浏览器中验证公开 RTSP 或 RTSPS 视频流,然后直接进入适合网站使用的 embed 路径时,就可以使用 RTSP.RUN。

发布前先预览 播放验证后再做 embed 最适合公开网站场景

这个页面适合浏览器中的实时播放加 embed,不适合录制、分析或私有内部 CCTV 部署。

开始之前你最好已经具备这些条件

当下面这些基础条件已经成立时,这个页面就是最好的起点:

  • 你想把实时摄像头放到网站、landing page 或公开页面上,而且不想自己开发浏览器播放器。
  • 摄像头提供可从互联网访问的公开 RTSP 或 RTSPS 视频流。
  • 你需要的是从播放验证到 iframe 嵌入的快速路径,而不是一个更大的视频平台 rollout。

What operating value this path creates

Faster website rollout

The team can move from RTSP validation to website embed without opening a custom browser player project.

Less blind debugging

Playback is confirmed first, so the website team is not working on iframe placement while the real issue is still the stream.

Lower integration overhead

A simple public live-camera block does not require a broader streaming stack or custom video delivery project.

为什么从这个 embed 路径开始

为简单的网站上线而设计

当主要目标是在不自建浏览器视频栈的前提下,把可用的实时摄像头放到网站中时,这条路径最合适。

先预览,再发布

在把它放到企业页面、场馆页面、旅游页面或临时活动页面之前,先在播放器里验证视频流。

适合网站集成人员和轻量团队

无需启动完整的自定义播放器项目,也能从 RTSP 验证直接进入网站嵌入。

上线前先确认适配

最适合公开实时画面和浏览器页面,不适合带访问控制的监控或企业 CCTV 计划。

先看看验证后你会发布什么

实际结果始终一样:先验证实时播放器,再拿到已经准备好的嵌入代码。

浏览器输出

浏览器中打开的实时播放器

rtsp.run / player.html
先验证
可供验证的实时播放器
浏览器可播放输出 桌面端 • 平板 • 手机
  • 先确认流可以正确加载,再决定是否分享。
  • 同样的输出可在桌面端、平板和手机上打开。
  • 验证通过后既可直接观看,也可进入下一步嵌入。

网站输出

可直接放到页面里的嵌入代码

示例 iframe
<iframe
  src="https://rtsp.run/embed.html?streamUrl=YOUR_STREAM_ID"
  width="640"
  height="360"
  style="border:0;"
  allowfullscreen
  referrerpolicy="origin">
</iframe>
  • 播放成功后即可复制准备好的 iframe。
  • 可用于企业网站、门店展示、公共摄像头或活动页面。
  • 不需要自己开发网页播放器。

这个页面通常如何使用

1. 从公开 RTSP 地址开始

打开 embed 流程,确认该视频流真的能够在浏览器中播放。

2. 查看浏览器中的实时输出

在把任何内容嵌入公开网站之前,先确认画面构图、稳定性和页面适配是否足够好。

3. 继续到 embed 步骤

如果视频流正常,就复制 iframe 放到网站里;如果失败,就先修复视频流,或者走 fit-check 路径,而不是继续猜测。

这个用例适合什么情况

适合的情况

  • 你希望在网站、landing page、分支页面、场馆页面或公开信息页面上展示实时摄像头
  • 这个视频流本来就是公开的,或者至少能从互联网公开访问
  • 你需要的是快速播放加嵌入,而不是完整的监控或视频平台

不适合的情况

  • 摄像头必须保持私有,或者只能在封闭的内部网络中使用
  • 你的 rollout 需要录制、分析、保留策略或更强的访问控制
  • 你真正需要的是托管式企业视频方案,而不是简单的网站 embed 流程

What this path replaces and what it does not

  • it replaces the first phase of a custom browser player project when you need to validate and publish one public live view quickly
  • it does not replace recording, analytics, enterprise governance, or a private internal CCTV rollout
  • it fits when the goal is a fast website embed rather than a broader video platform build

What usually blocks the website rollout

  • the stream works in a vendor tool but still is not really browser-ready and publicly reachable
  • the team is solving iframe placement before playback and product fit are actually confirmed
  • the use case is more sensitive and really needs a different security or delivery model

What a sensible next step looks like after validation

  • if the stream works and the fit is clear, move to embed and website publication
  • if playback works but rollout risk is still unclear, use rollout review instead of more guesswork
  • if the fit is wrong, the right output is a stop decision rather than pushing harder through the wrong path
Show deeper edge cases and rollout examples

在做出错误网站补丁前常见的边界情况

测试里播放正常,但公开页面语境并不合适

即使流已经能播,上线 iframe 之前仍然应该确认画面取景、公开用途和 ownership。

团队已经开始做 embed,但流其实还没有真正 browser-ready

这个页面的价值在于先验证浏览器输出,再去处理布局或 CMS 放置。

流能工作,但 rollout 需要的不只是简单的实时 embed

如果项目需要录制、访问控制或更完整的视频治理,那么简单的网站 embed 就不再是正确终点。

这个 embed 路径通常在哪些情况下适合

公司想快速把实时摄像头放到公开页面上

当目标是在现有网站上加入一个明确的实时画面模块,而不是自建播放器时,这条 embed 路径就很合适。

网页团队先需要浏览器确认,再需要 iframe

这样可以先验证真实播放,再进行页面 handoff。

代理商想加快客户 rollout,又不想打开不必要的 DIY 栈

如果流本身符合公共使用场景,这条路径通常比自建浏览器播放器或流媒体栈更快。

Common questions before you publish

These questions help decide whether the next step should be simple embed, assisted rollout, or a stop decision.

When you already know the goal is to place one or more public cameras on a website and you do not need the broad RTSP explanation first. This page is more about rollout decision and website embed outcome.

Then rollout review or fit-check is the better next step. A technically working stream does not automatically make public embed the right business or security decision.

When you need recording, analytics, access roles, enterprise governance, or a different delivery model than simple public browser playback and iframe embed.

想把实时摄像头放到网站上吗?

从 embed 流程开始,在浏览器中验证 RTSP 视频流,只有当播放正常时再继续进入网站嵌入步骤。

如果你还不确定公开 RTSP 是否适合你的网站或客户 rollout,就先查看适配与限制。