Hello,
I am reviewing the sample codes of FairPlay Streaming SDK 26 and there was a place where I think is a mistake.
The codes are for the server, for both Swift and Rust codes.
There is an if statement which compares "ProtocolVersionUsed"(spcData.versionUsed) and SPCVersion1 constant, though "ProtocolVersionUsed" and SPC Version is a different thing, so shouldn't it be using a different constant value?
[createContentKeyPayload.swift]
// Fallback to version 1 if content can have encrypted slice headers, which need to be decrypted separately. Slice headers are not encrypted when using CBCS.
if serverCtx.spcContainer.spcData.versionUsed == base_constants.SPCVersion.v1.rawValue &&
[createContentKeyPayload.rs]
// Fallback to version 1 if content can have encrypted slice headers, which need to be decrypted separately. Slice headers are not encrypted when using CBCS.
if (serverCtx.spcContainer.spcData.versionUsed == SPCVersion::v1 as u32) &&
Thank you.