Skip to content

Commit

Permalink
[Session] Fix wrong KID conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
CastagnaIT committed Aug 28, 2024
1 parent 24fe9f3 commit bb3f554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ bool CSession::ExtractStreamProtectionData(PLAYLIST::CPeriod::PSSHSet& sessionPs
{
if (pssh[i].GetKid(0))
{
sessionPsshset.defaultKID_ = std::string((const char*)pssh[i].GetKid(0), 16);
sessionPsshset.defaultKID_ = STRING::ToHexadecimal(pssh[i].GetKid(0), 16);
}
else if (AP4_Track* track = movie->GetTrack(
static_cast<AP4_Track::Type>(stream.m_adStream.GetTrackType())))
Expand Down

0 comments on commit bb3f554

Please sign in to comment.