Hi Pawel,

you are already doing it right. The only thing that you are missing is that you 
need to specify the proper workflow id when you ingest. When an event is 
scheduled, a new workflow is created, whose id is part of the event information 
that you can get through the scheduling data.

Now when you ingest the recording, you need to add the workflow id to your 
request (workflowInstanceId) so that it can be used for processing. If you 
don't provide that workflow id, a new one is created, exactly as you can see 
right now.

Take a look at the docs of the ingest REST endpoint to figure out what the 
parameters are.(workflowInstanceId)

Tobias

On 07.09.2011, at 16:04, Pawel Fic wrote:

> 
>>> What is the proper way of ingesting the recording ? 
>> A great place to look for this kind of information is in
>> the Felix
>> configuration files.
> 
> Yes. Configuration files and source code of course. 
> Well, I just wanted to do this right, and I am pretty sure /or hoping/, there 
> is somebody who knows Matterhorn design good enough to point me the proper 
> way like:
> 
> use Scheduler REST Endpoint: 
> GET /{captureAgentId}/calendar
> to get information about scheduled events, 
> 
> then when the time comes, change the state of recording using:
> Capture Agent Admin REST Endpoint
> and POST /recordings/{id} to capturing then capture_finished
> 
> 
> and then ingest the recording using....
> 
> --here is where I am lost. 
> 
> I tried, POST /addZippedMediaPackage
> but I end up having second package, instead of staring the workflow on 
> existing package and changing it's state to "Finished" 
> 
> 
> I should probably use:
> POST /addTrack
> 
> and then some other calls.
> 
> 
> BTW: my capture agent runs separate to Matterhorn, and I am only accessing 
> matterhorn via HTTP Rest endpoints. 
> 
> It is designed to be used this way, right ? 
> 
> 
> -Pawel
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Matterhorn mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn
> 
> 
> To unsubscribe please email
> [email protected]
> _______________________________________________

_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to