This function removes a storage location.

This function has the following parameter:

Parameter Name Mandatory Default Value Description
mediaFolder true null The path to the media folder

Example:

API Call:

removeStorage mediaFolder=C:\EvoStream\media1

JSON Response:

{
"data":{
    "clientSideBuffer":15,
    "description":"TestStorage",
    "enableStats":true,
    "externalSeekGenerator":true,
    "keyframeSeek":true,
    "maxPlaylistFileSize":4096,
    "mediaFolder":"C:\\EvoStream\\media1\\",
    "metaFolder":"C:\\EvoStream\\media1\\",
    "name":"TestNameStorage",
    "seek Granularity":300000
},
"description":"Storage removed",
"status":"SUCCESS"
}

The JSON response contains the following details:

  • data – The data to parse
    • clientSideBuffer – How much data should be maintained on the client side when a file is played from this storage
    • description – Description given to this storage. Used to better identify the storage
    • enableStats – If true, *.stats files are going to be generated once the media files are used
    • externalSeekGenerator – If true, *.seek and *.meta files are going to be generated by another external tool
    • keyframeSeek – If true, the seek/meta files are going to be generated having only keyframe seek points
    • maxPlaylistFileSize - ??
    • mediaFolder – The path to the media folder
    • metaFolder – Path to the folder which is going to contain all the seek/meta files. If missing, the seek/meta files are going to be generated inside the media folder
    • name – Name given to this storage. Used to better identify the storage
    • seekGranularity – Sets the granularity for the seek files
  • description – Describes the result of parsing/executing the command
  • status – SUCCESS if the command was parsed and executed successfully, FAIL if not