-
-
Notifications
You must be signed in to change notification settings - Fork 306
Description
I have mention my Config file below, i'm trying to pull rtsp url which is perfectly playing and recording that stream and stored in mp4 format, now the problem is i'm trying to play that recorded mp4 files threw the url --> "http://localhost:8081/mp4/vod/test.mp4?start=2025-05-12T13:30:31" as per the documents shared but i'm unable to play recorded file ,can any one help me to resolve this problem or share correct url to play recorded mp4 data ?
Config.yaml
global:
http:
listenaddr: :8081
location:
"^/hdl/(.*)": "/flv/$1"
loglevel: debug
admin:
enablelogin: true
record:
Recording configuration
type: mp4 # Recording type: mp4, flv, hls, hlsv7
filepath: "./record" # Recording file save path
fragment: 30s # Fragment duration (supports time units: s, m, h)
append: false # Whether to append to existing recording
mp4:
Behavior configuration when a stream is published
onsub:
pull:
^vod/(.+)$: live/$1 # Forward stream through regex matching
onpub:
record:
^live/.+: # Match all streams starting with live/
fragment: 30s # Fragment duration of 1 minute
filepath: record/$0 # Save path, $0 represents the complete matched stream name
rtsp:
pull:
live/test: rtsp://admin:@192.168.29.1:554/ch0_1.264