Skip to content

[Bug] ISA fails to play content with Widevine DRM #1657

@lavish440

Description

@lavish440

Describe the problem

Hi. I am trying to play Widevine encrypted content.
I am using the default R{SSM}|R. But the content fails to play.
The playback works fine on other players like OTT Nav and NS Player.

The response is very small in size around 668 bytes.

Possible fix

No response

Steps to reproduce

No response

Debug log

2024-08-25 19:45:11.558 T:6522     info <general>: Creating InputStream
2024-08-25 19:45:11.559 T:6522     info <general>: AddOnLog: inputstream.adaptive: [Repr. chooser] Resolution set: 1920x1200, max allowed: 1920x1200, Adjust refresh rate: 0
2024-08-25 19:45:12.798 T:6522  warning <general>: AddOnLog: inputstream.adaptive: ParseManifest: The <UTCTiming> tag element is not supported so playback problems may occur.
2024-08-25 19:45:12.799 T:6522     info <general>: AddOnLog: inputstream.adaptive: Manifest successfully parsed (Periods: 1, Streams in first period: 2, Type: live)
2024-08-25 19:45:12.819 T:6522    error <general>: AddOnLog: inputstream.adaptive: ConvertKidStrToBytes: Cannot convert KID "" as bytes due to wrong size
2024-08-25 19:45:12.819 T:6522  warning <general>: AddOnLog: inputstream.adaptive: Initializing stream with unknown KID!
2024-08-25 19:45:13.301 T:6522    error <general>: AddOnLog: inputstream.adaptive: ConvertKidStrToBytes: Cannot convert KID "" as bytes due to wrong size
2024-08-25 19:45:13.301 T:6522     info <general>: Skipped 3 duplicate messages..

Stream manifest file(s)

<?xml version="1.0" encoding="utf-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011"
	xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
	type="dynamic" availabilityStartTime="1970-01-01T00:00:00Z"
	publishTime="2024-08-25T14:15:11.000022Z" minimumUpdatePeriod="PT8S"
	timeShiftBufferDepth="PT4H10M" maxSegmentDuration="PT8S" minBufferTime="PT30S"
	profiles="urn:mpeg:dash:profile:isoff-live:2011">
	<Period id="1" start="PT0S">
		<BaseURL>
			https://example.xyz/output/dash/
		</BaseURL>
		<AdaptationSet id="1" group="1" contentType="audio" segmentAlignment="true"
			audioSamplingRate="48000" mimeType="audio/mp4" codecs="mp4a.40.2" startWithSAP="1">
			<AudioChannelConfiguration
				schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2" />
			<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
			<Representation id="audio_77200_und=75200" bandwidth="75200">
				<SegmentTemplate timescale="48000"
					initialization="something-$RepresentationID$.dash?hdnea=exp=END_EPOCH=~acl=/*~hmac=feedfadebeefcafe"
					media="something-$RepresentationID$-$Number$.m4s?hdnea=exp=END_EPOCH~acl=/*~hmac=feedfadebeefcafe"
					startNumber="215572539">
					<SegmentTimeline>
						<S t="82779854592000" d="384000" r="1874" />
					</SegmentTimeline>
				</SegmentTemplate>
			</Representation>
			<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" />
			<ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95"
				value="PlayReady" />
			<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"
				value="Widevine">
				<cenc:pssh>
					REDACTED
				</cenc:pssh>
			</ContentProtection>
		</AdaptationSet>
		<AdaptationSet id="2" group="2" contentType="video" par="4:3" minBandwidth="229600"
			maxBandwidth="1272000" maxWidth="854" maxHeight="640" segmentAlignment="true"
			frameRate="25" mimeType="video/mp4" startWithSAP="1">
			<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
			<Representation id="video=229600" bandwidth="229600" width="320" height="180" sar="3:4"
				codecs="avc1.4D400C" scanType="progressive">
				<SegmentTemplate timescale="600"
					initialization="something-$RepresentationID$.dash?hdnea=exp=END_EPOCH~acl=/*~hmac=feedfadebeefcafe"
					media="something-$RepresentationID$-$Number$.m4s?hdnea=exp=END_EPOCH~acl=/*~hmac=feedfadebeefcafe"
					startNumber="215572539">
					<SegmentTimeline>
						<S t="1034748182400" d="4800" r="1874" />
					</SegmentTimeline>
				</SegmentTemplate>
			</Representation>
			<Representation id="video=454400" bandwidth="454400" width="480" height="270" sar="3:4"
				codecs="avc1.4D4015" scanType="progressive">
				<SegmentTemplate timescale="600"
					initialization="something-$RepresentationID$.dash?hdnea=exp=END_EPOCH~acl=/*~hmac=feedfadebeefcafe"
					media="something-$RepresentationID$-$Number$.m4s?hdnea=exp=END_EPOCH~acl=/*~hmac=feedfadebeefcafe"
					startNumber="215572539">
					<SegmentTimeline>
						<S t="1034748182400" d="4800" r="1874" />
					</SegmentTimeline>
				</SegmentTemplate>
			</Representation>
			<Representation id="video=863200" bandwidth="863200" width="640" height="360" sar="3:4"
				codecs="avc1.4D401E" scanType="progressive">
				<SegmentTemplate timescale="600"
					initialization="something-$RepresentationID$.dash?hdnea=exp=END_EPOCH~acl=/*~hmac=feedfadebeefcafe"
					media="something-$RepresentationID$-$Number$.m4s?hdnea=exp=END_EPOCH~acl=/*~hmac=feedfadebeefcafe"
					startNumber="215572539">
					<SegmentTimeline>
						<S t="1034748182400" d="4800" r="1874" />
					</SegmentTimeline>
				</SegmentTemplate>
			</Representation>
			<Representation id="video=1272000" bandwidth="1272000" width="854" height="480"
				sar="320:427" codecs="avc1.4D401E" scanType="progressive">
				<SegmentTemplate timescale="600"
					initialization="something-$RepresentationID$.dash?hdnea=exp=END_EPOCH~acl=/*~hmac=feedfadebeefcafe"
					media="something-$RepresentationID$-$Number$.m4s?hdnea=exp=END_EPOCH~acl=/*~hmac=feedfadebeefcafe"
					startNumber="215572539">
					<SegmentTimeline>
						<S t="1034748182400" d="4800" r="1874" />
					</SegmentTimeline>
				</SegmentTemplate>
			</Representation>
			<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" />
			<ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95"
				value="PlayReady" />
			<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"
				value="Widevine">
				<cenc:pssh>
					REDACTED
				</cenc:pssh>
			</ContentProtection>
		</AdaptationSet>
	</Period>
	<UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-iso:2014" value="https://time.akamai.com/?iso" />
</MPD>

Additional info

No response

Operating system(s)

Android, Linux, Windows

Operating system version(s)

Android 14, Arch Linux, Windows 11

InputStream Adaptive version(s)

22.1.2 (Compiled from Piers branch)

Kodi version(s)

22.0-ALPHA1 (21.90.700) Git:20240820-178dc39-dirty (Compiled from Master branch)

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateThis issue or pull request already existsTriage: Confirmedissue has been reproduced by a team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions