iotds: Efficient way to associate MTS media with sites

Issue #220 new
Alan Noble created an issue

MTS media is typically associated with a device, which in turn is associated with a site (typically the device’s location).

It is possible, however, for VidGrind users to upgrade MTS media with an arbitrary ID (MID), i.e., one that is NOT derived from a device MAC address. In such cases, there is a need to associate the media directly with a site, since the latter are used to restrict data access.

It is proposed that the existing Media entity be extended with a site key. Media instances would be optional and not required for MtsMedia originating from a device. However, a Media instance would be required for MtsMedia that is uploaded manually.

Comments (5)

  1. Alan Noble reporter

    To keep it simple, let’s associate uploaded media with the site that the user has currently selected.

  2. David Sutton

    Even if there was a prompt before submitting so that the user is sure that is the site they want to associate the media with.

  3. Log in to comment