-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional keys for content identification #20
Comments
This seems useful. Could you however code the version in to the ContentID string, to avoid proliferation of more keys? CMSD@cid="FD387BN" could be collapsed to CMSD@cid="FD387BN:2.3" The contentID is only known to the content distributor, therefore they can use whatever framing they like to code in the version. |
I didn't think about it but it could work fine. Is there a size limit for the cid string? |
In CMCD, the cid is limited to 64 characters. We could apply a similar limit in CMSD. Would that be sufficient? A MD5 hash (or equivalent) of a content URL would fit easily. |
Unfortunately it would not work for us, as our IDs are 32 characters each. Here is an example of how the concatenation would look like (65 characters including the separator): c1527d4234084818be180fe90b9defbe:2d33e6913d854efea74f99f388f61323 |
Then let's make CMSD@cid a 128 char limit :). |
Fair enough, but then we'd need to make CMCDv2@cid also a 128 char limit, so that we can put the same information in both keys and allow proper correlation! Thinking about the structure of the information: that would be very valuable to specify an official separator character for this key, so that it can be expected to find part_1:part_2:part_x with ":" being the official separator between all sub-components of the cid value. This way a generic information extraction mechanism could be used with all implementers' CMSD/CMCD payloads. |
As an origin can serve hundreds of different channels, it's usually fairly hard for a CDN to automatically identify which requested objects are part of a given live channel or a given VOD asset, and even harder to understand which version (usually mapped to an endpoint on the origin) of the live channel or VOD asset these requested object represent.
That makes logs analysis difficult, as the grouping of log lines need to be done based on paths regex, with a logic that is proprietary to each origin or customer, based on the path structure being used. That makes logs correlation difficult, as the client can reference a given Content ID as cid CMCD key but there is no equivalent key in the CMSD realm.
In order to solve these problems, we'd like to see two new keys added to the CMSD v2 spec:
The text was updated successfully, but these errors were encountered: