diff --git a/src/output/output_http_internal.cpp b/src/output/output_http_internal.cpp index 5c699098..fa6a4aec 100644 --- a/src/output/output_http_internal.cpp +++ b/src/output/output_http_internal.cpp @@ -487,6 +487,9 @@ namespace Mist{ json_resp["height"] = (hasVideo ? 480 : 20); } json_resp["type"] = (M.getVod() ? "vod" : "live"); + if (M.getLive()){ + json_resp["unixoffset"] = M.getBootMsOffset() + (Util::unixMS() - Util::bootMS()); + } // show ALL the meta datas! M.toJSON(json_resp["meta"], true);