diff --git a/server/WebApi.cpp b/server/WebApi.cpp index 9160c559..5d70924c 100755 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -261,6 +261,8 @@ Value makeMediaSourceJson(MediaSource &media){ item["originType"] = (int) media.getOriginType(); item["originTypeStr"] = getOriginTypeString(media.getOriginType()); item["originUrl"] = media.getOriginUrl(); + item["isRecordingMP4"] = media.isRecording(Recorder::type_mp4); + item["isRecordingHLS"] = media.isRecording(Recorder::type_hls); auto originSock = media.getOriginSock(); if (originSock) { item["originSock"]["local_ip"] = originSock->get_local_ip();