Go to documentation repository
Page History
Creating an ArchiveContext with constant recording:
Code Block |
---|
{
"method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
"data": {
"added": [
{
"uid": "hosts/Server1/MultimediaStorage.Yellow",
"units": [
{
"type": "ArchiveContext",
"properties": [
{
"id": "camera_ref",
"value_string": "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0"
},
{
"id": "constant_recording",
"value_bool": true
},
{
"id": "prerecord_sec",
"value_int32": 0
},
{
"id": "specific_fps",
"value_double": 0
}
]
}
]
}
]
}
} |
The response will contain uid of the added ArchiveContext:
Code Block |
---|
{
"failed": [],
"added": [
"hosts/Server1/MultimediaStorage.Yellow/ArchiveContext/b73f4b6c-2962-5d51-e9ee-ceb5420b4cd2"
]
} |
Changing a stream linked to the archive
Code Block |
---|
{
"method":"axxonsoft.bl.config.ConfigurationService.ChangeConfig",
"data":{
"changed":[{
"uid": "hosts/Server1/MultimediaStorage.Aqua/ArchiveContext/b73f4b6c-2962-5d51-e9ee-ceb5420b4cd2",
"type": "ArchiveContext",
"properties": [
{
"id": "streaming_id",
"value_string": "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0"
}]
}
]
}
} |
Overview
Content Tools