Archival Server - Javascript

Problems with Archival Server

Archival Server - Javascript

Postby lfmm » Thu Apr 03, 2014 11:03 am

Dear Sir,

I am new to video streaming and programming, I have made a web page were the people can see the video distributed via Media Server (awsome!).
I need to automatically record the video. I got Archival Server installed and UArchivalCtrl.dll registered, I can start/stop recording using Archival Control.
I am stucked on how to create the "object " in html and use it in javascript (code bellow).

Thank you.

<!DOCTYPE html>
<script language="javascript">>
function checkRec()
var ipnumber = '';
var hresult = UMSRec.GetServerSourceStatuses(ipnumber);
txt="There was an error on this page.\n\n";
txt+="Error description: " + err.message + "\n\n";
txt+="Click OK to continue.\n\n";

<OBJECT id=UMSRec name=UMSRec classid="clsid:42123BE0-7140-4223-AB3A-FB9F92521D52" viewastext></OBJECT>

<body onload="checkRec()"></body>
Posts: 0
Joined: Thu Apr 03, 2014 10:17 am

Re: Archival Server - Javascript

Postby admin » Fri Apr 04, 2014 1:36 pm

Hello, this is a question for web programming; I am not sure what kind of "object" you are trying to create in your webpage.

Generally, you need to create a web app for remote archiving; on the server side you call methods of UArchivalCtrl.dll and on the client side you have a button that starts/stops recording, and, preferably, AJAX for rerieving the statuses from the server. Our uVMS web app does this.
Site Admin
Posts: 1030
Joined: Fri Aug 21, 2009 10:13 am

Re: Archival Server - Javascript

Postby lfmm » Mon Apr 07, 2014 5:39 am


Just what I was looking for.

Thank you very much.
Posts: 0
Joined: Thu Apr 03, 2014 10:17 am

Return to Archival Server

Who is online

Users browsing this forum: No registered users and 1 guest