OpenTV ENTera & OpenTV Platform Documentation
26.26_Q2 25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2
26.26_Q2 25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2

Managing user recordings (NPVR)

Overview

The User Recordings module (part of the NPVR service) lets end users record live (broadcast) content in the cloud and watch the recordings on their devices. This page explains what you can configure as the operator, and lists the operator APIs. For how client applications use NPVR, see User recordings (NPVR).

Operator functionality

As an operator, you can:

  • Enable or disable recording on a per-channel and per-event basis, which allows you to comply with content agreements.

  • Manage subscriber access to NPVR. NPVR can be enabled/disabled per account.

  • Specify an expiry time for recordings, after which they will be purged. The asset lifecycle is fully automated and transparent.

  • Set guard times for the beginning and end of recordings to take account of possible schedule changes. (Note that the additional recording time does not affect the user's quota.)

  • Manage subscriber NPVR storage limits. You can define multiple quota profiles, each with a different quota, which you apply to subscriber accounts.
    You can enable auto-delete for a quota, whereby if a recording request is made when an account has no free quota available, User Recordings will delete the account's oldest recordings to make space (seeCreate a quota profile for details).

Setting up NPVR

Setting up NPVR consists of the following main steps:

  1. Configuring channels and events

  2. Configuring accounts and quotas

  3. Configuring guard times

These are explained in the following sections.

Configuring channels and events

  1. In OpCon, enable NPVR for a particular editorial channel at the global level and for all its technical channels. Also enable it for all new events. See Replay TV.

    You can also set this at ingest or using CPM's editorialChannel, technical channel, and eventAPIs  by setting the following:

    1. "networkPvrSupport" : "true" (for editorial channels, technical channels, and events)

    2. In technicalChannel > timeshifting > networkPvrParameters, set "validityDuration" to the required time.

    3. In editorialChannel > timeshifting > networkPvrParameters, "eventDefaultFlag" : "true"

  2. In OpCon, set the source ID for each technical channel to the ID of the rolling buffer stream for the channel.
    You can find this within the technical channel's URI field – it's the part in parentheses immediately before the final slash. For example, if the URI is:

    http://cdn-nagravision-01.secure.footprint.net/Content/DASH/Live/channel(c24a1dc9-6ac5-4a7f-90e7-db11e3f03509)/manifest.mpd
    

    ... then the source ID is c24a1dc9-6ac5-4a7f-90e7-db11e3f03509.
    You can also set this at ingest or using CPM's technical channelAPIs by setting the following:

    1. In technical Channel > timeshifting > networkPvrParameters, set sourceId to the stream ID.

  3. Specify the IDs of the capture, validate, purge, and feature profiles for the technical channel. Use CPM's technical channel updateAPIs to add the IDs to the profileIdSet field.
    Notes:

    • These profiles are configured by NAGRAVISION. Contact your NAGRAVISION representative to find out the IDs. You can use the config-manager get profilesAPI to view these profiles.

    • Feature profiles allow you to specify the types of device that a technical channel supports. For example, you could use a feature profile to specify that a 4K channel should not be available to low-powered mobile devices. To enable such a feature profile, please contact your NAGRAVISION representative.

  4. For encrypted content:

    1. For each technical channel, specify the DRM system ID in securityDeviceId within securityInfo using CPM's technical channel updateAPI. You can find the ID using the config-manager devicesAPI. (The DRM system is configured as a security device in config-manager by NAGRAVISION.)

    2. For each technical channel, specify the DRM system's identifier for the channel in the id field within securityInfo using the technical channelAPIs. (You can query the encoder to get this ID for each packaging format.)

    3. If the technical channel is not already associated to a subscription product, associate it using CPM's ProductLinksAPIs.
      To do this, send a PUT request to the following URL, with one or more validity periods in the payload:

        https://<server>:<port>/cpm/content/v1/productLinks/technicalChannel/{technicalChannelId}/product/{productId}
      
  5. If you want to enable users to download recorded content for offline viewing, enable Download2Go for the appropriate products, channels, contents, and/or events. You can do this:

    • In OpCon

    • At ingest, by setting the storageAllowed flag in the rights element to true

    • By setting storageAllowed to true when creating or updating these entities through the CPM APIs

    When the content is captured during recording, the content that is created will also have the storageAllowed flag.

Tip: When updating a technical channel in CPM, you can save time by using a GET to get the whole channel, making the changes you need, and using it as the body in a PUT request.

But remove the id fields and the editorialChannelRef section from the body before submitting the request.

Configuring accounts and quotas

  1. Enable NPVR for all the applicable accounts. (For example, if you have three packages, bronze, silver, and gold, and NPVR is only part of silver and gold, you would enable NPVR for all silver and gold accounts.)

  2. Create one or more quota profiles. (For example, you may want to set up a small quota for subscribers to the silver package, and a larger quota for subscribers to the gold package.)

  3. Assign the appropriate quota profiles to all accounts for which NPVR is enabled. (For example, assign the small quota profile to silver accounts and the large one to gold accounts.)

  4. Grant entitlements for applicable accounts to the product that the channel is associated with using RMG's entitlementsAPI. The productId that you specify here is the same as the ID of the product in step 4c, above.

Alternatively, you can enable NPVR and create and apply quota profiles in OpCon. SeeNPVR quotas andAccount profiles.

Configuring guard times

Guard times are configured at the editorial channel level. You can configure an editorial channel's guard times in one of two ways:

These guard times are used for both user recordings and long-term catch-up (LTCU). It is not possible to set separate guard times for user recordings and LTCU.

Supported actions

The following actions are supported:

See also