mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #796] 能增加RTSP的视屏码流代理吗? #620
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#620
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @buyingqi on GitHub (May 28, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/796
想把内网的是摄像头视屏码流代理出来,能够实现吗
@fatedier commented on GitHub (May 28, 2018):
支持的协议文档有说明,不会考虑具体的应用层协议,具体能否实现自行搜索下。
@DoSeek commented on GitHub (May 12, 2020):
亲测使用frp可以实现海康网络摄像头(IPC)的视频代理。因为海康摄像头支持rtsp协议(端口号554),而rtsp协议基于TCP协议。
所以在frpc.ini中增加海康摄像头的配置即可。如下:
`[common]
server_port = 7000
server_addr = yourdomain.cn
;或者是IP
;server_addr = 10.10.10.25
[ipc01-rtsp]
type = tcp
local_ip = 192.168.1.12
local_port = 554
remote_port = 5540 ;端口随意,多个IPC的端口必须不一样,否则端口冲突
[ipc02-rtsp]
type = tcp
local_ip = 192.168.1.13
local_port = 554
remote_port = 5541 ;端口随意,多个IPC的端口必须不一样,否则端口冲突
`
frps.ini 无需特殊配置:
`
[common]
;允许访问的ip
bind_addr = 0.0.0.0
;服务端和客户端链接的端口
bind_port = 7000
`
VLC打开网络串流:
如果服务器配置的是域名
rtsp://ipc用户名:ipc密码@yourdomain.cn:5540/Streaming/Channels/101
rtsp://ipc用户名:ipc密码@yourdomain.cn:5541/Streaming/Channels/101
如果服务器配置的是IP
rtsp://ipc用户名:ipc密码@10.10.10.25:5540/Streaming/Channels/101
rtsp://ipc用户名:ipc密码@10.10.10.25:5541/Streaming/Channels/101
@CoderChen01 commented on GitHub (Apr 2, 2021):
学到了
@chaymankala commented on GitHub (Jun 3, 2024):
How to use one port and different subdomains to stream multiple cameras?
@Daixingdeng commented on GitHub (Jul 5, 2024):
服务器带宽有要求吗 我这边用vlc播放延时30S左右。。。 还有花屏现象