On 11-09-06 07:18 AM, Pawel Fic wrote: > Hi, > I am developing my capture agent. It registers to matterhorn, recording can > be scheduled. > It reads the scheduler, knows that recording has been scheduled. > Then it changes the state of recording from: > > "Upcoming" to "Capturing". > Once it is captured I change the state from "capturing" to > "Capture_finished". (BTW: there is no difference on admin page)
Yeah, the agents and recordings both have a number of states which are
not reflected in the admin ui currently.
> Then I want to ingest the recording.
> I created a full .zip media package - but it resulted in new recording entry
> - next to the one with state of "capturing".
>
>
> 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.
$FELIX_HOME/conf/services/org.opencastproject.capture.impl.ConfigurationManager.properties
contains all of the CA related endpoints and such. It makes use of a
few keys from $FELIX_HOME/conf/config.properties, but otherwise stands
alone.
In this case you want the <<your_core>>/ingest/addZippedMediaPackage/.
This endpoint requires both the workflow definition id, and the workflow
instance id as well as the zipfile as http post multipart entities. The
code responsible for this in the Matterhorn codebase is the
ingest(String) function in CaptureAgentImpl (in
matterhorn-capture-agent-impl).
G
> I use:
>
> GET /scheduler/{captureAgentId}/calendar
>
> then:
> POST /capture-admin/recordings/{id}
>
> to change recording state to "capturing" then "capture_finished"
>
> and then...
> what should I do ?
>
>
> -Pawel
>
>
>
>
>
> _______________________________________________
> Matterhorn mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn
>
>
> To unsubscribe please email
> [email protected]
> _______________________________________________
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
