Skip to content

feat: Add support for DRM-protected live streams on iOS#137

Merged
Balamurugan-Testpress merged 2 commits intomainfrom
feat_drm_for_live_stream
Apr 2, 2026
Merged

feat: Add support for DRM-protected live streams on iOS#137
Balamurugan-Testpress merged 2 commits intomainfrom
feat_drm_for_live_stream

Conversation

@Balamurugan-Testpress
Copy link
Copy Markdown
Contributor

  • DRM-enabled live streams were not playable in the iOS SDK
  • This caused playback failures for secured live content
  • Added support to handle DRM for live streams

- DRM-enabled live streams were not playable in the iOS SDK
- This caused playback failures for secured live content
- Added support to handle DRM for live streams
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces DRM support for live streams by adding an enableDRM property to the LiveStream model and a computed isDrmEncrypted property to the Asset model. The StreamsAPIParser and TestpressAPIParser were updated to populate this new field. A compilation error was identified in TPAVPlayer.swift where the property drmEncrypted was incorrectly used instead of isDrmEncrypted.


#if targetEnvironment(simulator)
if asset?.video?.drmEncrypted == true {
if asset?.drmEncrypted == true {

This comment was marked as outdated.

@Balamurugan-Testpress Balamurugan-Testpress merged commit d85807b into main Apr 2, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants