diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-17 16:36:14 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-17 16:36:14 +0100 |
commit | 1012e0af0746ed8aee4fe4a372020758ea87ffdf (patch) | |
tree | c6153d923bed65e57cc526a3d4bc829e09a9e66f /bin/jsonapi.php | |
parent | 41de0f465be99cf6022c98f7becf154ab9b6bb9d (diff) | |
download | istreamdev-1012e0af0746ed8aee4fe4a372020758ea87ffdf.tar.gz istreamdev-1012e0af0746ed8aee4fe4a372020758ea87ffdf.tar.bz2 |
Show running sessions
Diffstat (limited to 'bin/jsonapi.php')
-rwxr-xr-x | bin/jsonapi.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/jsonapi.php b/bin/jsonapi.php index 10040cb..ffcc9e6 100755 --- a/bin/jsonapi.php +++ b/bin/jsonapi.php @@ -100,4 +100,15 @@ function getStreamStatus($session) return json_encode($ret); } +function getRunningSessions() +{ + $ret = array(); + + $ret['broadcast'] = sessiongetlist(); + + return json_encode($ret); + +} + + ?> |