on_http_access=https://127.0.0.1/index/hook/on_http_access on_play=https://127.0.0.1/index/hook/on_play on_publish=https://127.0.0.1/index/hook/on_publish on_record_mp4=https://127.0.0.1/index/hook/on_record_mp4 on_rtsp_auth=https://127.0.0.1/index/hook/on_rtsp_auth on_rtsp_real...
并且判断是publish之后,创建SrsRecvThread来接受推流。 但是有一点比较奇怪的写法就是,在handshake之后,connect之前就根据发的包内容来判断是一个publish还是play。这点和我认知的rtmp协议不同,在我的认知里面,rtmp协议在create stream会发play或者push的message表示自己是一个什么样的角色,一般都是通过这个方法来判断的。
on_rtsp_auth=https://127.0.0.1/index/hook/on_rtsp_auth #rtsp播放是否开启专属鉴权事件,置空则关闭rtsp鉴权。rtsp播放鉴权还支持url方式鉴权 #建议开发者统一采用url参数方式鉴权,rtsp用户名密码鉴权一般在设备上用的比较多 #开启rtsp专属鉴权后,将不再触发on_play鉴权事件 on_rtsp_realm=https://127.0.0.1/i...
ffmpeg -re -stream_loop -1 -i d:/H264_AAC_2021-02-10_1080P.mp4 -vcodec copy -acodec copy -f rtsp -rtsp_transport tcp rtsp://192.168.0.109:554/live/Camera_00001 ffmpeg -re -stream_loop -1 -i e:/H264_AAC_2021-02-10_1080P.mp4 -vcodec copy -acodec copy -f rtsp -rtsp_tran...
* @since 3.5.0*/@Get("/index/api/close_streams?secret=crRbv1YruHIdUkp8GoBYElXI3152HlAF&schema=rtsp&vhost=__defaultVhost__&app={playType}&stream={stream}&force=1") String closeStream(@Var("playType") String playType, @Var("stream") String stream); ...
timeoutSec: 事件触发http客户端超时时间。 admin_params: 超级管理员的url参数,如果访问者参数与此一致,那么rtsp/rtmp/hls/http-flv播放或推流将无需鉴权。该选项用于开发者调试用。 on_flow_report: 流量统计事件,播放器或推流器断开时并且耗用流量超过特定阈值时会触发此事件,阈值通过配置文件general.flowThreshold...
ZLMediaKit/ZLMediaKitPublic NotificationsYou must be signed in to change notification settings Fork3.4k Star13.8k Code Issues84 Pull requests9 Actions Wiki Security Insights Additional navigation options Files master .github 3rdpart Android api
开源流媒体服务器ZLMediaKit在Windows上运行、配置、按需拉流拉取摄像头rtsp视频流)并使用http-flv网页播放: 开源流媒体服务器ZLMediaKit在Windows上运行、配置、按需拉流拉取摄像头rtsp视频流)并使用http-flv网页播放_srs按需拉流_霸道流氓气质的博客 GeoServer简介、下载、配置启动、发布shapefile全流程(图文实践): GeoSe...
_play_check_timer.reset(new Timer(playTimeOutSec, [weakSelf]() { auto strongSelf=weakSelf.lock(); if(!strongSelf) { return false; } strongSelf->onPlayResult_l(SockException(Err_timeout,"play rtsp timeout"),false); return false; ...
access","/index/hook/on_play","/index/hook/on_publish","/index/hook/on_record_hls","/index/hook/on_record_mp4","/index/hook/on_rtsp_auth","/index/hook/on_rtsp_realm","/index/hook/on_server_started","/index/hook/on_shell_login","/index/hook/on_stream_changed","/index/hook/...