[M120 Migration][MM] Fix EME AD insert issue 67/308467/4
authorwuxiaoliang <xliang.wu@samsung.com>
Tue, 26 Mar 2024 06:08:00 +0000 (14:08 +0800)
committerBot Blink <blinkbot@samsung.com>
Thu, 11 Apr 2024 05:18:16 +0000 (05:18 +0000)
commit36d7419d4ab75240e62dd9536e915e42404e7d6b
tree420bb47d920df20668c2ed01403221a1d8eff9ed
parent8969c71c35f42d556fe838bfae840f0fbd283f56
[M120 Migration][MM] Fix EME AD insert issue

Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299862/

Issue:
EME Stream insert AD stream, met JS error "unable to set ContentDecryptionModule object"

Reason:
When AD insert, cmd id not exist, will return error for setcdm, which result JS error.

Solution:
Follow previous tizen tv code logic, return success for setcdm directly.

another fixup:
StopLayerBoundUpdateTimer when video hole done

Change-Id: I3cd7aea9399d5823bb3ea12c815b5a732e74ab0a
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
third_party/blink/renderer/modules/encryptedmedia/html_media_element_encrypted_media.cc
third_party/blink/renderer/platform/media/web_media_player_impl.cc