platform/framework/web/chromium-efl.git
11 months agoRevert "[M120 Migration] fixup! [EFL] Fix wrong text and wrong unmodifiedText issue" 67/312367/3
Chandan Padhi [Fri, 7 Jun 2024 11:48:22 +0000 (11:48 +0000)]
Revert "[M120 Migration] fixup! [EFL] Fix wrong text and wrong unmodifiedText issue"

This reverts commit 4729546debca78d118b22da21ad9e4725e5fcb93.

This patch is causing duplicate character entries in input fields on desktop.

Change-Id: I010962ef161d02037ec7cc09d88865613d88188d

11 months ago[XWalkExtension] Introduce runtime messgae handler 77/306977/24
DongHyun Song [Fri, 1 Mar 2024 09:52:52 +0000 (18:52 +0900)]
[XWalkExtension] Introduce runtime messgae handler

For EWK runtimes, this provides to register callbacks for XWalkExtensions'
runtime message.

On XWalkExtension based webapis, its JS side can invoke native functions
by 2 ways. One(A) is calling to the webapi native code side, the other(B)
is calling to runtime side.

(A)
 - extension.sendSyncMessage
 - extension.sendSyncMessageWithStringReply
(B)
 - extension.sendRuntimeMessage
 - extension.sendRuntimeSyncMessage

Until now, EWK runtime side has no way to get message of B type except
'XWalkExtensionBrowserEfl::HandleRuntimeMessageInternal',

This feature will provide independent message handlers via EWK API.

i.e.)
  char* AppExit(const char* argument) {
    // TODO
    return strdup("success");
  }

ewk_context_add_xwalk_extension_message_handler(context, "tizen://exit",
                                                AppExit);

Change-Id: Ia8be62bdd9cdfa21243a172743e8cedb571df6b1
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
11 months ago[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode) 41/312041/6
Yu Yang [Mon, 3 Jun 2024 06:18:43 +0000 (14:18 +0800)]
[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode)

Add base class FocusChangedObserver for NavigatorGamepad,
so NavigatorGamepad could monitor app focus change event.
Besides, reset gamepad state when game app lost focus.
With this, it could fix below gamepad key missing scenario.
Running game app then launch quick panel or Menu Mode to switch Mode(Game Mode -> Menu Mode)
game app could miss gamepad key release event which will lead to unexpected game app behavior

Change-Id: I708c8c1df70f5f8d6f6e4b33387b319212f2350f
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
11 months ago[M120 Migration] Release tz_handle before clear buffer queue 00/312100/4
zhishun.zhou [Tue, 4 Jun 2024 08:06:51 +0000 (16:06 +0800)]
[M120 Migration] Release tz_handle before clear buffer queue

Issue:
  Potential tz_handle leak
Reason:
  When esplusplayer_submit_trust_zone_packet failed, if failed reason
is FULL or OUT_OF_MEMORY or NOT_PREPARED, the packet will be stored in
buffer queue; While in the release function of MediaPlayerESPlusPlayer,
it just clear the buffer queue without release the tz_handle, that could
cause tz_handle leak.
Solution:
  Release tz_handle before clear buffer queue.

Change-Id: If13917dc866bb46a5c47466f963c1c13c65c4db0
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
11 months ago[M120 Migration][VD] Change quota allocation size 21/311921/4
feifei08.liu [Thu, 30 May 2024 10:37:32 +0000 (18:37 +0800)]
[M120 Migration][VD] Change quota allocation size

1. Without unlimited privilege, set temporary quota size to 80MB

2. With unlimited privilege:
   a. For TV, temporary quota size sets to 80MB
   b. For Signage(product type is "LFD"), set kMustRemainAvailableRatio to 0.1

Reference:
https://review.tizen.org/gerrit/290664/

Change-Id: I6a3128e0ac56066351cd30d7248a672f7ca49963
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
11 months agoSet crypt config for EFL 19/312319/4
Chandan Padhi [Thu, 6 Jun 2024 12:49:29 +0000 (18:19 +0530)]
Set crypt config for EFL

Crypt config was not set that resulted in browser crash due to a
CHECK failure in OSCryptImpl::CreateKeyStorage.

This crash was reproduced while verifying signin on passkey demo
at https://passkeys-demo.appspot.com/.

Change-Id: I7d44b8b30537b2d668fae013e40b9834785128f1
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
11 months agofixup!^3 [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0 72/312572/3
Michal Jurkiewicz [Tue, 11 Jun 2024 07:24:05 +0000 (09:24 +0200)]
fixup!^3 [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0

Fix build break on emulator by disabling -Werror for the following warning:

[ 4782s] ../base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h:160:1:
error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
[ 4782s]   160 | #if PA_CONFIG(HAS_MEMORY_TAGGING)
[ 4782s]       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Id4b0f231db6c7fb6e652983c3cea718d539a3e5c
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC] Enable unit tests 61/312461/6
Robert Bycul [Fri, 24 Feb 2023 12:45:05 +0000 (13:45 +0100)]
[M120 Migration][WebRTC] Enable unit tests

1. Port of the following commit:
* [M108 Migration][WebRTC] Enable unit tests
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296649

2. Enabled more tests under `tizen_rtc_unittests` flag and
performed required modifications to make rtc unittests compile
correctly.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I72cfbc1892afbb72d6d2e3ad33140a7263699369
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months agofixup!^2 [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0 53/312453/2
Michal Jurkiewicz [Wed, 5 Jun 2024 14:56:54 +0000 (16:56 +0200)]
fixup!^2 [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0

* Add missing guards
* Add missing thread boosting for audio bypass

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I6f93567c8f325131ecfd25016815f8db7630f2be

11 months ago[VD] Update gbs.conf for Tizen 9.0 Onemain 66/312466/3
Sugyum Kim [Mon, 10 Jun 2024 11:02:06 +0000 (20:02 +0900)]
[VD] Update gbs.conf for Tizen 9.0 Onemain

Update base repo, product repo

Change-Id: Ib033ccff634dc53215e10a527b7a4d4d2bc31b79
Signed-off-by: Sugyum Kim <su.g.kim@samsung.com>
11 months ago[GCC] Fix gcc 14 build error 39/312439/2 accepted/tizen/unified/20240611.123540 accepted/tizen/unified/dev/20240620.010427 accepted/tizen/unified/toolchain/20240610.173154 accepted/tizen/unified/x/20240610.223727 submit/tizen/20240610.160013
Manjeet [Mon, 10 Jun 2024 06:47:48 +0000 (12:17 +0530)]
[GCC] Fix gcc 14 build error

Change-Id: I9024573810c5c968471bd14aebd95384922ca9e7
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
11 months ago[WebRTC] Fix for upstream audio unittests 78/312378/4 submit/tizen/20240609.160013
Michal Jurkiewicz [Wed, 5 Jun 2024 15:03:12 +0000 (17:03 +0200)]
[WebRTC] Fix for upstream audio unittests

Fix buildbreak during upstream audio unittests compilation

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ib7317b2e742f619813a948931b6422c2953953c0

11 months agofixup!^2 [M120 Migration] Port WebMedia optimizations for WebRTC 76/312376/3
Michal Jurkiewicz [Wed, 5 Jun 2024 13:44:16 +0000 (15:44 +0200)]
fixup!^2 [M120 Migration] Port WebMedia optimizations for WebRTC

Added missing header file change.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ice97c57b6a3968947b6f6b583c4eff13a067c203
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months agofixup! [WebRTC] Correct H265 upstream unittests 75/312375/1
Michal Jurkiewicz [Wed, 5 Jun 2024 13:40:34 +0000 (15:40 +0200)]
fixup! [WebRTC] Correct H265 upstream unittests

Additional fix in `H265IrapIsNotKeyframe` unittests for
build error:

static assertion failed: std::vector must have a non-const, non-volatile value_type

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Icb2ad56ed34394f99b6cc4849a739c1e4f4ac34e
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] Notify media device connection state change to webbrowser 63/311363/4 submit/tizen/20240606.160013
wuxiaoliang [Fri, 10 May 2024 05:48:52 +0000 (13:48 +0800)]
[M120 Migration] Notify media device connection state change to webbrowser

webbrowser listen "device,connection,changed".
chromium will notify device change with int type.

there are so many bt_product_init/bt_product_deinit,
now refine it.

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

Change-Id: I0778946fdd81eb6f04997430a19edd59e6fba716
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[M120][Media] Add essential log message for easy debuging 74/310874/6
peng1xiao [Thu, 9 May 2024 03:32:51 +0000 (11:32 +0800)]
[M120][Media] Add essential log message for easy debuging

1.enable app event in html
2.enable log for demuxer init and seek
3.enable cdm session log
4.trace suspend and resume
5.update player id to pipeline

Change-Id: I2c884d3bf761acf8d7375bc0cd34aad17994ff86
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
11 months ago[WebRTC] Correct H265 upstream unittests 93/312293/3
Michal Jurkiewicz [Tue, 4 Jun 2024 20:08:22 +0000 (22:08 +0200)]
[WebRTC] Correct H265 upstream unittests

Missing `cricket` namespace before `CreateVideoCodec` method
results in a buildbreak during WebRTC unittests compilation.

Added namespace to solve build issue.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I255585e828d2b0c51b3f23f66f698bb7ae794d7d
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months agofixup! [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0 89/312289/2
Michal Jurkiewicz [Tue, 4 Jun 2024 15:18:51 +0000 (17:18 +0200)]
fixup! [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0

Correct issue in `FakeVoiceMediaReceiveChannel` and Mock classes
which occurred during porting.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I515ff40d17c80253813fa33b5a8740e79054e30f
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months agofixup! [M120 Migration] Port WebMedia optimizations for WebRTC 88/312288/4
Michal Jurkiewicz [Tue, 4 Jun 2024 15:58:19 +0000 (17:58 +0200)]
fixup! [M120 Migration] Port WebMedia optimizations for WebRTC

Correct MockNetworkControl and CallClient classes, which were
not updated after porting patch from M108.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Iff63ec339bbc23a93064351fed3c005abe845f64
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] Updating User Agent Hints 33/312233/3
Adam Bujalski [Fri, 21 Jul 2023 16:49:02 +0000 (18:49 +0200)]
[M120 Migration] Updating User Agent Hints

Port of the following patch:
* Updating User Agent Hints
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296307

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Id3b673d47017408cd3479318ee69df4795407eea
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][TTVD][WebRTC] Port of TTVD version history 44/312144/3
Michal Jurkiewicz [Sat, 20 Jan 2024 14:58:33 +0000 (15:58 +0100)]
[M120 Migration][TTVD][WebRTC] Port of TTVD version history

* [WebRTC][GS] Add versioning for tizen upstream architecture component
  Change-Id: I0d580b47816abf2ee037c1d041a731591ba68452
* [M108 Migration][Versioning] Add WebRTC for wasm_api_versioning widget
  Change-Id: I72cd0a374c56fafab9b3b2251c4d5d4a7f6f240e
* fixup! [WebRTC][GS] Add versioning for tizen upstream architecture component
  Change-Id: I237ca12b3182eaa250d98a7389ef47732510bd49
* [MM][WebRTC][GS] Use TTvd name instead of "WebRTC upstream architecture" when versioning
  Change-Id: I4f7595459c35394ffb4685704aa275acb4073fde
* fixup!^2 [M108 Migration][WASM] Added Tizen TV WASM namespace and versioning WebAPI
  Change-Id: I41c5c315e6db7d37ee157084c2bd2d2a6f5518a5

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ia283137603bde188cf68fa29e0fdd7fa330ec45f
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC] Gamestreaming optimizations from Tizen 8.0 42/312142/3
Michal Jurkiewicz [Fri, 31 May 2024 08:33:41 +0000 (10:33 +0200)]
[M120 Migration][WebRTC] Gamestreaming optimizations from Tizen 8.0

1. Port of the following patches:
* [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292774
* fixup! [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/293264
* fixup! [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296092
* Fixing crash in xCloud application.
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296643
* [M108 Migration][WebRTC] NullSocketServer for WebRTC_Worker thread
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/297893
* [WebRTC][GS] Thread booster adjustments
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295822

2. Performed modifications to `TimerBasedTickProvider` class to solve crash in
`RequestCallOnNextTick` method - CHECK in
`base::SequencedTaskRunner::GetCurrentDefault()` fires due to WebRTC threads
not having `SequencedTaskRunner`. For this purpose, additional constructor
parameter has been provided to `TimerBasedTickProvider` class specifying
task runner, on which `PostDelayedTaskAt` should be run at.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I3b506d276996cf1185dc6cdc44ead79b58607acd
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] No default rtc::COW allocation in RtpPacketReceived 85/312185/3
Michal Jurkiewicz [Tue, 4 Jun 2024 11:05:42 +0000 (13:05 +0200)]
[M120 Migration] No default rtc::COW allocation in RtpPacketReceived

Ported patch from tizen 8.0:
* [M108 Migration][WebRTC] No default rtc::COW allocation in RtpPacketReceived
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297889

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I1703a438b5f73dae2acde02035e7bc179f6bdd45
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months agoSuppressing compiler warnings from third_party libraries 45/312145/5
Adam Bujalski [Fri, 17 May 2024 09:24:37 +0000 (11:24 +0200)]
Suppressing compiler warnings from third_party libraries

There are some compiler warnings issued for code in `third_party/`.
This patch suppress them.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I0b20950a989892900e8cd62a259f8feb5562a09e

11 months ago[M120 Migration] Porting WebRTC patches 41/312141/5
Michal Jurkiewicz [Mon, 19 Jun 2023 08:15:24 +0000 (10:15 +0200)]
[M120 Migration] Porting WebRTC patches

Porting the following patches:
* [WebRTC] Propagate keyframe request to WebRTC pipeline from adapter
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294852
* [M108 Migration] [Duo] Listen to audio devices changes
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/277323
* Enable screen capture
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296945
* [M108 Migration][WebRTC] No double RTP packet demuxing
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/297891
* [WebRTC] Removing `RtpPacketInfo` map from video receivers
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/297892
* [M108 Migration][WebRTC][GS] Using std::vector instead of std::list as PacketList
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/297896
* [M108 Migration][VD] Enable audio debug recodings for input stream
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/299437
* [MM][WebRTC] Add screen capture device mapping to WebBrowser
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/300593
* [WebRTC] Using `-O3` optimizations for the WebRTC and libsrtp
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/301150
* [GS][WebRTC] Fixing multichannel OPUS channel order
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/308386

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Id7d50232e2b83a8d4696e699d8dc32a34d5defef
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] Fix mix-blend-mode cause video invisible 12/312212/2 submit/tizen/20240605.160016
Qiang Ji [Wed, 5 Jun 2024 06:16:01 +0000 (14:16 +0800)]
[M120 Migration] Fix mix-blend-mode cause video invisible

In some website, mix-blend-mode was used to implement a custom
controller for video. It will enable blend mode for video element.
As we used video hole in our platform, we cannot enable blend mode
for video element.

reproduced steps:
apple.com -> search "video" -> select "Accessories" tab
-> select "Insta360 Ace Pro Bundle" -> play video

refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298826/

Change-Id: I3360017fbfc1b468fbddb7046e415b50ce8b820a
Signed-off-by: Qiang Ji <qiang.ji@samsung.com>
11 months agofixup! [M120 Migration] Bringup Link Effect feature 28/311828/2
Manjeet [Tue, 28 May 2024 15:46:31 +0000 (21:16 +0530)]
fixup! [M120 Migration] Bringup Link Effect feature

FocusedWebLocalFrameInWidget() can possibly return a null/invalid
WebLocalFrame that may result in crash in certain scenarios. This
commit adds a null check to avoid the same.

Reference:
https://review.tizen.org/gerrit/299896

Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Change-Id: Ib8988f9b71cfaf323f6cd4b1a9b81629ac75b656

11 months ago[M120 Migration] Fix rotation issue for ConnectTime app in Offscreen mode 82/311782/3
Manjeet [Mon, 27 May 2024 13:33:34 +0000 (19:03 +0530)]
[M120 Migration] Fix rotation issue for ConnectTime app in Offscreen mode

In offscreen mode, when the app is rotated the new bounds are not
updated to DeviceDisplayInfoEfl. This patch makes sure that the values
are updated in WebContentsViewAura.

Reference:
https://review.tizen.org/gerrit/299453

Change-Id: Iaa4e7cfc8ec1b0b5708acbce2ecba31fb348f824
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
11 months ago[M120 Migration] Enable Ecore_Imf_Context for Chrome 61/306961/10
Rohit Kumar [Wed, 22 May 2024 11:00:33 +0000 (16:30 +0530)]
[M120 Migration] Enable Ecore_Imf_Context for Chrome

Unlike the browsers with ewk, the ecore_imf should be
initialized manually to enable Ecore_IMF_Context.

After that, we could make Korean input at web contents but,
the Korean inputs are doubly typed at the address bar.
Because our input method system was dependant on the function
|IMContextEfl::HandleKeyEvent|, but it wasn't called when
they were typed at the address bar. So I shorten the path of
input system like upstream to manage both cases at once.
Please refer to the patch [0].

And then, I deleted the condition of |IMContextEfl
::OnFocusIn| which was checking the input type of contents.
Because |current_type| was regarding to the input type of
web contents so it was meaninglessly blocking focusing on
the address bar. Even without the condition, at least on Chromium
browser, focusing at web contents wouldn't be harmed
due to the conditions on |IMContextEfl
::UpdateInputMethodState|.

There are some issues after applying this patch.
  - The input panel doesn't show when the address bar
get focused.
  - The language that is typed from keyboard and input panel
may be different.

This patch is based on [1].

[0]: 0d4e2ce508c9d072518c5aa19eea90a3d316fce2

[1]: 42e2735dfe68a91876e76e560571cde000ea63c3

Reference: https://review.tizen.org/gerrit/302149

Change-Id: I7b9f71c188089650f2d2b0edcecdf21a6950ce2f
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
11 months ago[M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0 39/312139/5
Michal Jurkiewicz [Fri, 31 May 2024 06:24:32 +0000 (08:24 +0200)]
[M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0

Port of the patches:
* [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
  (only audio bypass part)
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292774
* fixup! [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/297233

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I3edbcc88c3fd465997120ab692fe914f78acb4bf
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[WebRTC][GS] Enable H265 codec for GameStreaming 04/312104/2 submit/tizen/20240604.160017
Michal Jurkiewicz [Wed, 29 May 2024 15:49:11 +0000 (17:49 +0200)]
[WebRTC][GS] Enable H265 codec for GameStreaming

In upstream, comparing H265 codec configurations contains checking
profile, level and tier of remote and local peers.

It results in a problem, where platform may report support for 8K
60 fps playback (level 6.1), but remote peer will report support
for eg. level 5.1. In such case, comparison will result in no match,
thus codec will be marked as unsupported.

This patch checks support for H265 codec the same way as
on tizen 8.0 - by matching only codec profile.
Proper intersection of tier and level is not yet ready in the
upstream and is a topic of future optimizations.

Additionally this patch allows receiving H265 WebRTC streams
(WebRTC feature `kWebRtcAllowH265Receive`) and enables field trial
for H26xPacketBuffer (`WebRTC-Video-H26xPacketBuffer`), which
is required for H265 codec.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ia3629391e278ea13a9b4ff29cf58a186ee6108ff
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[WebRTC] Upstream Chromium and WebRTC patches for HEVC codec 97/312097/2
Michal Jurkiewicz [Wed, 29 May 2024 14:22:03 +0000 (16:22 +0200)]
[WebRTC] Upstream Chromium and WebRTC patches for HEVC codec

Port of upstream patches:
* H26xPacketBuffer handles out of band H.264 parameter sets
  https://webrtc-review.googlesource.com/c/src/+/342225
* Reland "Add HEVC support for h264_packet_buffer."
  https://webrtc-review.googlesource.com/c/src/+/339822
* RTC encoder/decoder factory support for H.265 behind flag.
  https://chromium-review.googlesource.com/c/chromium/src/+/5456050
* Reland "Implement h.265 parameter sets tracker."
  https://chromium-review.googlesource.com/c/chromium/src/+/5396998
* Apply QpParser for H.265 streams.
  https://webrtc-review.googlesource.com/c/src/+/330883
* Reland "Unify access to SDP codec parameters"
  https://webrtc-review.googlesource.com/c/src/+/331402

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I26f434ae0f644240c56ce85887de34df9289ff79
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] fixup! [EFL] Fix wrong text and wrong unmodifiedText issue 78/311778/6
Manjeet [Mon, 27 May 2024 11:09:00 +0000 (16:39 +0530)]
[M120 Migration] fixup! [EFL] Fix wrong text and wrong unmodifiedText issue

Using evt->string to get text and unmodifiedText results in text
disappearing in input fields for desktop. This commit reverts to
using evt->key as before to fix the issue.

Reference:
https://review.tizen.org/gerrit/298618

Change-Id: I211b7f31bbdce416062eb5a4e8db7052be7f396a
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
11 months agoAdd runtime switch to identify chrome/ewk launch 18/311918/7
Satyaveer Singh [Thu, 30 May 2024 09:47:49 +0000 (15:17 +0530)]
Add runtime switch to identify chrome/ewk launch

With --build-chrome compile time flag, both chrome and ewk are built
and packaged in the same rpm. This commit adds a runtime switch to
differentiate bewteen chrome and ewk launch.

Change-Id: I8cbbe5862bed79301d2e34c13ffca6eb08ed876b
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
11 months ago[MM] Get correct view bounds for chrome browser 33/312033/3
Suhaspoornachandra [Mon, 3 Jun 2024 04:20:59 +0000 (09:50 +0530)]
[MM] Get correct view bounds for chrome browser

ViewBounds for chrome browser was ignoring the top controls height.
This patch corrects the issue and simplifies GetViewPortRect() in
TizenRendererImpl. OffScreen case is also handled in GetViewBounds() of
RWHVAura.

Change-Id: Iddea1ade09efc0611b0b5faadbbf1c9ac4d4c721
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
11 months agoFix "print error dialog" not appearing in chrome 14/311814/5
v-saha [Tue, 28 May 2024 09:50:10 +0000 (15:20 +0530)]
Fix "print error dialog" not appearing in chrome

Error dialog for print was not appearing for chrome on tv as the
relevant code was disabled under !defined(ENABLE_WRT_JS).

Change-Id: Ib0f4b12392763915a24fcc67781389da866f2c43
Signed-off-by: v-saha <v.saha@samsung.com>
11 months ago[WRTjs][VD] Early hide on termination when visible 82/311982/2
zhaosy [Fri, 31 May 2024 08:34:58 +0000 (16:34 +0800)]
[WRTjs][VD] Early hide on termination when visible

By external, when app is exited by aul API, then application
window keeps on screen a few seconds until ~WRTNativeWindow().

This solution will lower/hide the window early as soon as event
loop is ended.

Change-Id: Ib25fa5eb48fca4e058b1538afc03baeb0cb68f01
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
11 months ago[M120 Migration][WASM] Web IDL Direct access - HostBinding 45/312045/2
Jakub Gajownik [Thu, 16 Apr 2020 09:43:28 +0000 (11:43 +0200)]
[M120 Migration][WASM] Web IDL Direct access - HostBinding

Introduce Host Bindings - direct access for WebAssembly module to static
WebAPIs.

Normal scenario when calling WebAPIs from WebAssembly:
WASM → JS glue code (arguments translation) → V8 → Blink wrapper (argument translation) → WebAPI implementation

Scenario with Host Bindings:
WASM → WASM wrapper (no translation) → WebAPI implementation

Current implementation allows to specify static WebAPI method as 'HostBinding'.
If during WebAssembly instantiation it discovers such method,
generated machine code will contain direct call to Blink wrapper with
proper arguments.

Limitations:
* static WebAPIs only
* marking WebAPI method as HostBinding causes that it will be
  unusable from JS code - calling it will result in throwing RuntimeError.

This feature must be merged as one patch since this functionality can not be split
into smaller pieces without significant effort to avoid build breaks.

Performed tests:
* functional tests of all supported socket calls (wasm_sockets_tests - home developed tests)
  All passed
* V8 tests suite
  31755 tests ran - 0 regressions

Mechanism is little inspired by:
https://github.com/WebAssembly/interface-types/tree/c41f9df1302eb88cd8cd5cb0ed32a7ea844cb73a

Architecture overview, motivation and test details can be found at:
http://wiki.vd.sec.samsung.net/display/WEBSOL/Tizen+Web+IDL+Direct+access+-+HostBindings+2020

Patch contains first WebAPI implemented using this feature - Sockets.

Patches ported from tizen8.0 branch:
- https://review.tizen.org/gerrit/292409
- https://review.tizen.org/gerrit/292542

Bug: https://cam.sprc.samsung.pl/browse/VDGAME-265
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I4dc9fc7db304cf2fcbe9a475aaf3a8dc9b6d8f79

11 months ago[M120 Migration] Selection & Context menu controller. 68/311668/3 submit/tizen/20240603.160030
Satyaveer Singh [Thu, 23 May 2024 07:08:35 +0000 (12:38 +0530)]
[M120 Migration] Selection & Context menu controller.

This patch ensures proper working of selection and context menu controller
for the proper working of clipboard.

References: https://review.tizen.org/gerrit/293249/

Change-Id: Ie07818e995f972343472f1e9c34868a47002446a
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
11 months ago[M120 Migration] [HOTFIX] Setting Device Scale Factor for emulator 60/311160/5
Manjeet [Wed, 15 May 2024 11:28:18 +0000 (16:58 +0530)]
[M120 Migration] [HOTFIX] Setting Device Scale Factor for emulator

Setting dsf value to 1.0 for emulator same as RPi4.
ecore_evas_screen_dpi_get api is setting different dpi value for emulator
and RPi4 (81for RPi4 and 293 for emulator), therefore dsf value differs.

Reference:
https://review.tizen.org/gerrit/297988

Change-Id: I36fce1b10c3ef08334438de97989e2b50337df6c
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
11 months ago[M120 Migration] fixup! [VD]Add ewk_file_chooser_request APIs 92/311292/6
Manjeet [Fri, 17 May 2024 09:11:34 +0000 (14:41 +0530)]
[M120 Migration] fixup! [VD]Add ewk_file_chooser_request APIs

Original change mistakenly combined the two |if|
conditions in single line, This patch reverts it.

Reference:
https://review.tizen.org/gerrit/298757

Change-Id: Icfcbf425325d5a5a3d6a4bac07c0aead172408a8
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
11 months ago[M120 Migration]Add Device Scale Factor to display info 59/311159/14
Manjeet [Wed, 15 May 2024 11:03:56 +0000 (16:33 +0530)]
[M120 Migration]Add Device Scale Factor to display info

Device Scale Factor was omitted from display bounds dimension.
This fixes the DPI issue which showed incorrect width and height.

Reference:
https://review.tizen.org/gerrit/297914

Change-Id: I1abf9a639c3de5995d6503cc0fd969b3941f5422
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
11 months ago[M120 Migration][VD] Fix webbrowser popup focus issue 44/312044/2
jiangyuwei [Mon, 3 Jun 2024 07:05:15 +0000 (15:05 +0800)]
[M120 Migration][VD] Fix webbrowser popup focus issue

When webbrowser popup, FocusOut will be triggered before
MouseOutEvent.

EflWindow::CanDispatchEvent will check focus, MouseOutEvent
cannot be dispatched.

Dispatch all webbrowser MouseOutEvent even focus out of webview.

Change-Id: Ia9e9731d866024641cb5fcedabe354ecd6f184ad
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
11 months ago[M120 Migration][VD] Set Scrollbar Style For Product TV 62/311462/3
wangjing [Tue, 21 May 2024 08:02:35 +0000 (16:02 +0800)]
[M120 Migration][VD] Set Scrollbar Style For Product TV

Enable OverlayScrollbars for Tizen TV WebApp.

when viewport is smaller than screen,
with settings ewk_settings_auto_fitting_set to true.
The scrollbar will appear when IME is shown.

HBBTV doesn't show scrollbar.

Some app doesnot set application type. for these app also need
enable OverlayScrollbars to avoid display wide scrollbar.

refer:
https://review.tizen.org/gerrit/#/c/291321/

Change-Id: I01a0496bd90a3e35728869a22ae75f3b30e54f47
Signed-off-by: wangjing <jing124.wang@samsung.com>
11 months ago[M120 Migration] Don't invoke Init of DecoderBuffer when size is 0 16/311916/4
zhishun.zhou [Thu, 30 May 2024 06:00:11 +0000 (14:00 +0800)]
[M120 Migration] Don't invoke Init of DecoderBuffer when size is 0

For EME case, in SubmitEsPacket, if using tz_handle, the
data of DecoderBuffer should be null, or else crash could
happen in esplusplayer_submit_trust_zone_packet, because it will try to
copy this memory if it's non-null..
When convert media::mojom::DecoderBufferPtr to media::DecoderBuffer,
"new media::DecoderBuffer(0)" will make data of DecoderBuffer non-null,
let's check the input size and don't invoke Initialize() of DecoderBuffer
if size is 0.

Change-Id: I6df4a5cdcc504ac68bf1fd94c198bc0df3b9a22d
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
11 months ago[M120 Migration] Support navigator.mediaCapabilities.decodingInfo 60/311760/4 submit/tizen/20240531.160013
zhishun.zhou [Mon, 27 May 2024 08:00:22 +0000 (16:00 +0800)]
[M120 Migration] Support navigator.mediaCapabilities.decodingInfo

Some APPs have used navigator.mediaCapabilities.decodingInfo
to check media capabilities, such as TVING.
Without this patch, the 4k dramas of TVING will fail to play.

From part of following patch:
https://review.tizen.org/gerrit/#/c/292774/

Change-Id: Iaff29e8617c05f0e205480d09917f9d0c6d833d7
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
11 months ago[RISCV][PDNCF] Fix illegal instruction problem caused by third party module 20/311920/3
zuowei [Thu, 30 May 2024 10:21:33 +0000 (18:21 +0800)]
[RISCV][PDNCF] Fix illegal instruction problem caused by third party module

Starting with linux 6.6, RDCYCLE is a privileged instruction on RISC-V and
can't be used directly from userland.

cherry picked from upstream
 - https://github.com/abseil/abseil-cpp/commit/7335a36d0b5c1c597566f9aa3f458a5b6817c3b4

Change-Id: I024dc8588d05ab56697138d2d6a086ffcc9e3dbe
Signed-off-by: zuowei <wei0622.zuo@samsung.com>
11 months ago[M120 Migration] limit hbbtv dash video to FHD 91/310891/5
wuxiaoliang [Thu, 9 May 2024 08:06:10 +0000 (16:06 +0800)]
[M120 Migration] limit hbbtv dash video to FHD

sub decoder support FHD max.
if h5 dash video use sub decoder, limit it to fhd

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

Change-Id: Iddd964ab0651ac1f42f81f1248b41c6529c3244b
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months agoFix RWI websocket disconnect issue. 42/311942/3
jiangyuwei [Fri, 31 May 2024 02:22:43 +0000 (10:22 +0800)]
Fix RWI websocket disconnect issue.

This patch fix RWI websocket disconnect issue temporarily.
Comment these codes to skip |origin| check.

Refer:
  - https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/310919/
  - https://chromium-review.googlesource.com/c/chromium/src/+/4106102

Change-Id: I733e777571fc6255ad3145230511c19110b5db5d
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
11 months ago[M120 Migration] Don't report metadata when HBBTV capi 92/311792/4
yangzw [Tue, 28 May 2024 03:20:53 +0000 (11:20 +0800)]
[M120 Migration] Don't report metadata when HBBTV capi

when pipeline_impl call OnMetadata, HBBTV capi don't get the meta data,
so don't report metadata event when case is HBBTV capi.

ref:
12031324

Change-Id: I1d11be8ca4be9175f14770d173fce7f73b4a0a38
Signed-off-by: yangzw <zw714.yang@samsung.com>
11 months ago[M120 Migration][Autofill] Bring up autofill 90/311890/2
jiangyuwei [Thu, 30 May 2024 03:47:34 +0000 (11:47 +0800)]
[M120 Migration][Autofill] Bring up autofill

This patch bring up autofill feature
1. [Autofill] Fix autofill popup comes twice at google site
https://review.tizen.org/gerrit/302039/

2. [M108 Migration][Autofill] Fix autofill popup show twice issue
https://review.tizen.org/gerrit/299721/

3. [M108 Migration][Autofill] Bring up autofill
https://review.tizen.org/gerrit/297810/

4. [Autofill] Enable workspace autofill feature
https://review.tizen.org/gerrit/296635/

5. [Autofill] Fix autofill leak issue
https://review.tizen.org/gerrit/304402/

6. [Autofill] Enable autofill even if username_element/password_element is empty
https://review.tizen.org/gerrit/302339/

Change-Id: Ieb769e1925f1feaccb5a0c007bc9a519c8281035
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
11 months ago[M120 Migration] Fix network cache can't be cleared 57/311757/3 submit/tizen/20240530.160013
feifei08.liu [Mon, 27 May 2024 03:15:57 +0000 (11:15 +0800)]
[M120 Migration] Fix network cache can't be cleared

Remove network cache when call ewk_context_cache_clear().

Test Scenario:
1. Launch webbrowser ->webbrowser's settings
   ->Privacy& Security ->Delete browsing data
2. Check the size of
   /opt/usr/home/owner/apps_rw/org.tizen.browser/data/Cache

Refer: https://review.tizen.org/gerrit/299860/

Change-Id: I887571891fd236c2916225148c984baeb426c257
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
11 months ago[M120 Migration][Remote Access] Fix press "space" key not work issue. 56/311756/2
fang fengrong [Mon, 27 May 2024 07:26:10 +0000 (15:26 +0800)]
[M120 Migration][Remote Access] Fix press "space" key not work issue.

When press "space" by usb keyboard on commit status on some cases, not work.
It is because IME consume the "space" key,and sends the " "(white space)
through commit callback.WebEngine convert the " "(white space) to "space" again,
but the key event(keycode) not consistent.

The " "(white space) will be insert through ImeCommitText,
the windowsKeyCode should be 229.

so can revert the hotfix solution before.
Refer:
https://review.tizen.org/gerrit/#/c/311557

Change-Id: Iaf53f0d5ddfa8170ca8c48e90c4d811ee9ea0b7a
Signed-off-by: fang fengrong <fr.fang@samsung.com>
11 months ago[M120 Migration][WebRTC][GS] Port Screen Saver Functionality from Tizen 8.0 76/311876/2 submit/tizen/20240529.160017
Michal Jurkiewicz [Fri, 19 Jan 2024 10:41:53 +0000 (11:41 +0100)]
[M120 Migration][WebRTC][GS] Port Screen Saver Functionality from Tizen 8.0

Port of the following patches:

* [MM][WebRTC][GS] Disable Screen Saver during video playback
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/301452

* [MM][WebRTC][GS] Change conditions of disabling screensaver on OLED panels
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/304584

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I8604fab544c7c43bf51325f05c30b4720504e56c
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][TTVD] Port video decoder from Tizen 8.0 66/311866/4
Jakub Gajownik [Wed, 15 May 2024 13:55:59 +0000 (15:55 +0200)]
[M120 Migration][TTVD] Port video decoder from Tizen 8.0

This patch introduces unified video decoder for various
purposes:
- WebRTC,
- WebCodecs,
- video playback (MSE/video source).

It's done taking advantage of existing Chromium pipeline
and wrappers for various technologies, making minimal set
of changes.

Ported commits (note I could have missed something on this
list, but change might be there):
[MM][WebRTC][GS] Introduce direct video decoder support for TV
https://review.tizen.org/gerrit/294458

[MM] Add encrypted content support for TV video decoder
https://review.tizen.org/gerrit/294459

[GS] Force overlay when texturing is not supported
https://review.tizen.org/gerrit/294894

[WebRTC][GS] Support suspend-resume in hardware decoder
https://review.tizen.org/gerrit/295066

[VDGAME-305] Fix bad type for n-decoding attribute
https://review.tizen.org/gerrit/295424

[MM][WebRTC][GS] Improve algorithm to schedule OMX output
https://review.tizen.org/gerrit/295671

[MM][WebRTC][GS] Improve memory handling for HW decoder
https://review.tizen.org/gerrit/295824

[MM][WebRTC][GS] Fix HW decoder resource allocation
https://review.tizen.org/gerrit/296569

[MM][WebRTC][GS] Handle low resolution H264 level 5.0
https://review.tizen.org/gerrit/296943

[GS] Fix warnings in |OverlayProcessorTizen|
https://review.tizen.org/gerrit/297745

fixup! [MM][WebRTC][GS] Improve algorithm to schedule OMX output
https://review.tizen.org/gerrit/297920

[MM][WebRTC][GS] Always notify about decoding mode
https://review.tizen.org/gerrit/297921

Disable kSingleOnTop overlay strategy
https://review.tizen.org/gerrit/298151

Adjust video overlay scaling algorithm
https://review.tizen.org/gerrit/298466

[MM][WebRTC][GS] Fix GPU initialization of video decoder
https://review.tizen.org/gerrit/298808

fixup!^2 [WebRTC][GS] Don't trigger redraw for overlay forced frames
https://review.tizen.org/gerrit/298827

[MM][GS] Select better decoder only for RTC in Game Mode
https://review.tizen.org/gerrit/298962

[MM][WebRTC][GS] Allow holding manager by allocated resource
https://review.tizen.org/gerrit/298961

[MM][WebRTC][GS] Prioritize video decoder allocation
https://review.tizen.org/gerrit/298963

[MM][WebRTC][GS] Set display game mode setting according to video source
https://review.tizen.org/gerrit/299032

fixup! Adjust video overlay scaling algorithm
https://review.tizen.org/gerrit/299033

[MM][GS][WebRTC] Fix scaler resource conflict handling
https://review.tizen.org/gerrit/299148

[MM][WebRTC][GS] Fix handling resume state change in decoder
https://review.tizen.org/gerrit/299144

[MM][WebRTC][GS] Fix flickering when changing decoding mode
https://review.tizen.org/gerrit/299145

[MM][WebRTC][GS] Remove initialization timeout from decoder
https://review.tizen.org/gerrit/299147

fixup! Use last state when allocating overlays
https://review.tizen.org/gerrit/299245

[MM][WebRTC][GS] Select decoder according to visible picture
https://review.tizen.org/gerrit/299363

[MM][WebRTC][GS] Calculate decoding framerate for HEVC
https://review.tizen.org/gerrit/299417

[WebRTC][GS] Solve issue with video artifacts in GameStreaming scenario
https://review.tizen.org/gerrit/299484

[MM][WebRTC][GS] Skip rendering frame if no change
https://review.tizen.org/gerrit/299501

[WebRTC][GS] Request keyframe from RTC only once
https://review.tizen.org/gerrit/299502

fixup! [MM][WebRTC][GS] Introduce direct video decoder support for TV
https://review.tizen.org/gerrit/299551

[MM][WebRTC][GS] Fix handling video resources releasing
https://review.tizen.org/gerrit/299691

[MM][WebRTC][GS] Do not allocate memory if texturing is not supported
https://review.tizen.org/gerrit/299693

[MM][WebRTC][GS] Fix OMX video decoder when event reordering
https://review.tizen.org/gerrit/299694

[MM][WebRTC][GS] Release data dependency of deallocated decoder
https://review.tizen.org/gerrit/300023

[MM][WebRTC][GS] Improve transition from texture to overlay
https://review.tizen.org/gerrit/300025

fixup! [MM][WebRTC][GS] Fix OMX video decoder when event reordering
https://review.tizen.org/gerrit/300163

fixup! [MM][WebRTC][GS] Improve transition from texture to overlay
https://review.tizen.org/gerrit/300270

[MM][WebRTC][GS] Apply rotation to scaler
https://review.tizen.org/gerrit/300317

[MM][WebRTC][GS] Apply color space setting
https://review.tizen.org/gerrit/300421

[MM][WebRTC][GS] Add AV1 maximum framerate calculation
https://review.tizen.org/gerrit/300464

[MM][WebRTC] Fix rendering video in overlay mode in non GameStreaming scenario
https://review.tizen.org/gerrit/300476

[MM][WebRTC][GS] Further improve texture to overlay transition
https://review.tizen.org/gerrit/300793

[MM][WebRTC][GS] Decrease priority when suspending
https://review.tizen.org/gerrit/300795

[MM][WebRTC][GS] Ensure overlay processor is alive on GPU
https://review.tizen.org/gerrit/300797

fixup! [MM][WebRTC][GS] Improve transition from texture to overlay
https://review.tizen.org/gerrit/300816

[MM][WebRTC][GS] Ensure stride is properly aligned
https://review.tizen.org/gerrit/300817

[MM][WebRTC][GS] Handle conflict after releasing resource properly
https://review.tizen.org/gerrit/301442

[MM][WebRTC][GS] Apply decoder priority only during allocation
https://review.tizen.org/gerrit/301443

fixup! [MM][WebRTC][GS] Use video-sink interface to set geometry
https://review.tizen.org/gerrit/301445

[MM][WebRTC][GS] Use same mailbox when recreating with buffers
https://review.tizen.org/gerrit/301539

[MM][WebRTC][GS] Fix handling decoder thread on destroy
https://review.tizen.org/gerrit/301540

fixup! [MM] Replace presentable range with last dts
https://review.tizen.org/gerrit/301867

fixup!^3 [MM][WebRTC][GS] Use video-sink interface to set geometry
https://review.tizen.org/gerrit/301868

[MM][WebRTC][GS] Hold OmxDecodedFrame by VideoFrame
https://review.tizen.org/gerrit/301870

[MM][WebRTC][GS] Remove factory checking when producing overlay
https://review.tizen.org/gerrit/301911

[MM][WebRTC][GS] Fix releasing single surface
https://review.tizen.org/gerrit/301915

[MM][WebRTC][GS] Include scaler index in video surface title
https://review.tizen.org/gerrit/301929

[MM][WebRTC][GS] Remove NotifyOverlayPromotion from individual frame
https://review.tizen.org/gerrit/301952

[MM][WebRTC][GS] Unmap when native pixmap mapping failed
https://review.tizen.org/gerrit/301953

[MM][WebRTC][GS] Improve logic in PrepareToRender method
https://review.tizen.org/gerrit/302239

[MM][WebRTC][GS] Recreate current picture on GPU thread
https://review.tizen.org/gerrit/302240

[MM][WebRTC][GS] Set order of underlay planes
https://review.tizen.org/gerrit/302242

[MM][WebRTC][GS] Release resources related to video surface
https://review.tizen.org/gerrit/302241

[MM][WebRTC][GS] Don't use old framebuffer for new plane
https://review.tizen.org/gerrit/302243

[MM][WebRTC][GS] Clean OMX decoded frame pool during Suspend and ResourceConflict
https://review.tizen.org/gerrit/302244

[MM][WebRTC][GS] Detect source change for output surface
https://review.tizen.org/gerrit/302420

[MM][WebRTC][GS] Solve deadlock while destroying omx_video_decoder
https://review.tizen.org/gerrit/302245

[MM][WebRTC][GS] Don't use OMX backed frame for black video
https://review.tizen.org/gerrit/302330

[MM][WebRTC][GS] Clear decoding queue when suspending
https://review.tizen.org/gerrit/302331

[MM][WebRTC][GS] Clear decoding eos after triggering one
https://review.tizen.org/gerrit/302334

[MM][WebRTC][GS] Prevent inadequate error for EOS buffer
https://review.tizen.org/gerrit/302333

[MM][WebRTC][GS] Fix releasing surface when suspending
https://review.tizen.org/gerrit/302417

[MM][WebRTC][GS] Use progressive video decoder
https://review.tizen.org/gerrit/302418

[MM][WebRTC][GS] Always use lazy initialization
https://review.tizen.org/gerrit/302421

[MM][WebRTC][GS] Parse VP8 and VP9 for config
https://review.tizen.org/gerrit/302422

fixup! [MM][WebRTC][GS] Use progressive video decoder
https://review.tizen.org/gerrit/302430

[MM][WebRTC][GS] Ensure buffers are not allocated for DVDE
https://review.tizen.org/gerrit/302578

[MM][WebRTC][GS] Reinitialize shared image for texturing
https://review.tizen.org/gerrit/302579

[MM][WebRTC][GS] Update all pictures during switch
https://review.tizen.org/gerrit/302582

[MM][WebRTC][GS] Optimize decoded pool cleaning when changing mode
https://review.tizen.org/gerrit/302726

[MM][WebRTC][GS] Hide video surface when destroying decoder
https://review.tizen.org/gerrit/302727

[MM][WebRTC][GS] Fix unmuting scaler after source change
https://review.tizen.org/gerrit/302728

[MM][WebRTC][GS] Enforce lifetime of client native pixmap factory
https://review.tizen.org/gerrit/302929

[MM][WebRTC][GS] Finish video decoder reset when suspending
https://review.tizen.org/gerrit/302930

[MM][WebRTC][GS] Fix resetting video decoder in suspended state
https://review.tizen.org/gerrit/302931

[MM][WebRTC][GS] Clear black frame when no data during buffer recreation
https://review.tizen.org/gerrit/302934

[MM][WebRTC][GS] Improve handling of decoder depended frames
https://review.tizen.org/gerrit/302933

[MM][WebRTC][GS] Do not return black frames from video decoder
https://review.tizen.org/gerrit/303065

[MM][WebRTC][GS] Remove kInitializing from video decoder
https://review.tizen.org/gerrit/303067

[MM][WebRTC][GS] Handle resetting during decoder initialization
https://review.tizen.org/gerrit/303070

[MM][WebRTC][GS] Ensure collection is notified before releasing decoder
https://review.tizen.org/gerrit/303068

[MM][WebRTC][GS] Fix for precise seek while video is paused
https://review.tizen.org/gerrit/303069

[MM][WebRTC][GS] Decoded frame lookup by pointer
https://review.tizen.org/gerrit/303152

[MM][WebRTC][GS] Adjust supported rendering modes for game streaming
https://review.tizen.org/gerrit/304160

[MM][WebRTC][GS] Visibility check using video-dp-control
https://review.tizen.org/gerrit/304520

[MM][WebRTC][GS] Don't use H264 level 50 workaround when UHD decoder absent
https://review.tizen.org/gerrit/304772

[MM][WebRTC][GS] Add 'synced unstable' state to output surface state machine
https://review.tizen.org/gerrit/304708

[WebRTC] Upstream architecture video capture refactor - fix OMXVideoDecoderBase crash
https://review.tizen.org/gerrit/305260

[WebRTC] Upstream architecture video capture refactor - OnOmxFrameDecoded method
https://review.tizen.org/gerrit/305262

[MM][WebRTC][GS] Skip shared image update when no reason
https://review.tizen.org/gerrit/305360

[MM][WebRTC][GS] Copy decode frame data in parallel
https://review.tizen.org/gerrit/305524

[MM][WebRTC][GS] Remove OMX related naming from decoders
https://review.tizen.org/gerrit/305865

[MM][WebRTC][GS] Relax lazy framing mechanism
https://review.tizen.org/gerrit/305872

[MM][WebRTC][GS] Delay returning lazy frames
https://review.tizen.org/gerrit/305873

[MM][WebRTC][GS] Identify emptied buffer using unique id
https://review.tizen.org/gerrit/305874

[MM][WebRTC][GS] Allow releasing lazy frame immediately
https://review.tizen.org/gerrit/305875

[MM][WebRTC][GS] Handle conflict after suspend is already done
https://review.tizen.org/gerrit/305909

[MM][WebRTC][GS] Don't mark VideoFrame as end of stream
https://review.tizen.org/gerrit/306039

fixup! [MM][WebRTC][GS] Apply decoder priority only during allocation
https://review.tizen.org/gerrit/306155

[MM][WebRTC][GS] Ensure decoding_request removal
https://review.tizen.org/gerrit/306194

[MM][WebRTC][GS] Correct includes in //media/filters/tizen
https://review.tizen.org/gerrit/306270

[MM][WebRTC][GS] Fix coding style in //media/filters/tizen
https://review.tizen.org/gerrit/306271

[MM][WebRTC][GS] Use dedicated decoding mode enum
https://review.tizen.org/gerrit/306335

fixup! [MM][WebRTC][GS] Parse bit depth and chroma sampling
https://review.tizen.org/gerrit/306339

[MM][WebRTC][GS] EME initdata format adaptation
https://review.tizen.org/gerrit/306349

[MM][WebRTC][GS] Fixing dereferencing past the end iterator
https://review.tizen.org/gerrit/306360

[MM][WebRTC][GS] Notify decoder when a new decryption key arrives
https://review.tizen.org/gerrit/306508

[MM][WebRTC][GS] Remove mailbox from mode change notification
https://review.tizen.org/gerrit/306543

[MM][WebRTC][GS] Ensure updating output surface state
https://review.tizen.org/gerrit/306647

[MM][WebRTC][GS] Do not access empty OMX component
https://review.tizen.org/gerrit/306648

[MM][WebRTC][GS] Selecting lower decoder category when desired one is not supported
https://review.tizen.org/gerrit/306654

[MM][WebRTC][GS] Adding missing OMX Events
https://review.tizen.org/gerrit/306688

[MM][WebRTC][GS] Adding support for `AES-CBC` encryption
https://review.tizen.org/gerrit/306690

[MM][WebRTC][GS] Do not hide plane if it's not the last used
https://review.tizen.org/gerrit/308206

[MM][WebRTC][GS] Start video surface with \zero\ geometry
https://review.tizen.org/gerrit/308334

fixup! [MM][WebRTC][GS] Apply rotation to scaler
https://review.tizen.org/gerrit/308350

[MM][WebRTC][GS] Reset video surface in case of same plane id
https://review.tizen.org/gerrit/308367

fixup!^2 [MM][WebRTC][GS] Apply rotation to scaler
https://review.tizen.org/gerrit/308391

fixup! [MM] Add encrypted content support for TV video decoder
https://review.tizen.org/gerrit/308957

[MM][WebRTC][GS] Do not change scalers if not needed
https://review.tizen.org/gerrit/309003

[MM][WebRTC][GS] Apply damage for overlay plane
https://review.tizen.org/gerrit/309026

[MM][WebRTC][GS] Dead code removal
https://review.tizen.org/gerrit/309274

[MM][WebRTC][GS] Implement facade test with filled before empting
https://review.tizen.org/gerrit/309308

[MM][WebRTC][GS] Fix handling filled event without decoded data
https://review.tizen.org/gerrit/309333

[MM][WebRTC][GS] Notify video texture mode for other render passes
https://review.tizen.org/gerrit/309421

[MM] Start WebCodecs decoding in texturing mode always
https://review.tizen.org/gerrit/309416

[MM][WebRTC][GS] Fix seek at start for DVDE decoder
https://review.tizen.org/gerrit/309419

[MM][WebRTC][GS] Use virtual resource id to start video sink
https://review.tizen.org/gerrit/309422

[MM][WebRTC][GS] Fix for crash during resource conflict in suspend/resume
https://review.tizen.org/gerrit/309424

fixup! [MM] Replace presentable range with last dts
https://review.tizen.org/gerrit/309730

[MM][WebRTC][GS] Use collection token when assigning surfaces
https://review.tizen.org/gerrit/309875

[MM][WebRTC][GS] Fix notification being posted to released object
https://review.tizen.org/gerrit/309876

[MM][WebRTC][GS] Ensure surfaces are deleted with proper timing
https://review.tizen.org/gerrit/309880

[MM][WebRTC][GS] Ensure surface proxy is alive when handling resource conflict
https://review.tizen.org/gerrit/309877

[MM] Fixing emitting EME `keystatuseschange` event
https://review.tizen.org/gerrit/309878

[MM][WebRTC][GS] Ensure commit is finished before releasing resources
https://review.tizen.org/gerrit/310047

[MM][WebRTC][GS] Force first frame rendering for older platforms
https://review.tizen.org/gerrit/310048

[MM] Reallocating OMX input buffers
https://review.tizen.org/gerrit/310251

[MM][WebRTC][GS] Split surface allocation method
https://review.tizen.org/gerrit/310262

[MM][WebRTC][GS] Continue surface preparation with same argument
https://review.tizen.org/gerrit/310260

[MM][WebRTC][GS] Crash in VizCompositor
https://review.tizen.org/gerrit/310670

[TTVD] Adjust decoder EoS handling
https://review.tizen.org/gerrit/310687

Partial revert of \Fix svace issue\
https://review.tizen.org/gerrit/310688

[MM][WebRTC][GS] Ensure buffer is written from single thread
https://review.tizen.org/gerrit/310689

[MM][WebRTC][GS] Try resetting stream after initialization done for RTC
https://review.tizen.org/gerrit/310707

[MM][WebRTC][GS] Removing -Wshadow compiler warning
https://review.tizen.org/gerrit/310750

[MM][WebRTC][GS] Already released frame should not be returned again
https://review.tizen.org/gerrit/310806

[MM][WebRTC] Video SW fallback when entering partial view
https://review.tizen.org/gerrit/310893

fixup!^2 [TTVD] Adjust decoder EoS handling
https://review.tizen.org/gerrit/311068

[MM][WebRTC][GS] Prefer overlay when playing videos in game mode
https://review.tizen.org/gerrit/311040

[MM][WebRTC][GS] Disable picking better decoder on Tizen 6.0
https://review.tizen.org/gerrit/311070

[MM][WebRTC][GS] Get rid of |base::Unretained| in video decoder impl
https://review.tizen.org/gerrit/311041

[MM][WebRTC][GS] Correct notification about texturing support
https://review.tizen.org/gerrit/311072

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I2f03bb33f187ed1282cec455829f4ee8326ec479
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[WebRTC][GS] Add SDP negotiation support for HEVC. 76/311776/4
Michal Jurkiewicz [Fri, 24 May 2024 12:13:32 +0000 (14:13 +0200)]
[WebRTC][GS] Add SDP negotiation support for HEVC.

Port of the upstream patch:
* Add SDP negotiation support for HEVC.
  https://webrtc-review.googlesource.com/c/src/+/330202

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ib5f9d8533b6c9c418ee420b7d7096e26b7aa2d0f
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC] Port camera from Tizen 8.0 68/311868/10
Michal Jurkiewicz [Tue, 6 Jun 2023 15:20:14 +0000 (17:20 +0200)]
[M120 Migration][WebRTC] Port camera from Tizen 8.0

Port of the following patches:

* [WebRTC] Video capture with direct HW decoding
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294461

* fixup!^2 [WebRTC] Video capture with direct HW decoding
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294849

* [WebRTC] Allow accessing raw data from GpuMemoryBufferTrackerTizen memory
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/304574

* [WebRTC] Upstream architecture video capture refactor - Camera part
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305261

* [WebRTC] Upstream architecture video capture refactor - VideoCaptureDeviceTizenTv::Impl
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305509

* [WebRTC] Upstream architecture video capture refactor - VideoCaptureDeviceTizenTv
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305510

* fixup! [MM][WebRTC][GS] Accept bit depth and chroma sampling for decoder allocation
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305825

* [WebRTC] Provide relative frame timestamp in upstream video capture
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305866

* [WebRTC] Support camera rotation in upstream architecture
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305867

* [MM][WebRTC][GS] Solve issue of dropped preview frames
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305869

* [WebRTC] Prefer GpuMemoryBuffer for video capture in upstream architecture
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/305694

* [WebRTC][Camera] Prevent old pipeline initialization in new architecture
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/308133

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1550
Change-Id: I1c123ef963da61e0917cbe4e2a30066b73a73370
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] Remove WebkitPreferencesEfl 71/311571/2
jie [Wed, 22 May 2024 09:07:39 +0000 (17:07 +0800)]
[M120 Migration] Remove WebkitPreferencesEfl

All WebPreferencesEfl settings has been moved to WebPreferences,
except javascript_can_open_windows_automatically_ewk.
Now move script open window control to browser context and remove
WebkitPreferencesEfl.

Reference:
 - https://review.tizen.org/gerrit/#/c/293866/

Change-Id: I5eadadaa5922fcaac2eb4fdd4e96e8f066d71b43
Signed-off-by: jie <jie137.zhang@samsung.com>
11 months ago[M120 Migration][HbbTV] Add NGA feature support 11/310811/4
yanqing.lu [Wed, 8 May 2024 11:13:47 +0000 (19:13 +0800)]
[M120 Migration][HbbTV] Add NGA feature support

Provide preselect function for audiotrack.
Here contains two cases:
1.audiotrack contains one preselection,
        set preselection id as audiotrack id.
2.audiotrack contains more than one preselection,
        audioxtrack id not change.

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

Change-Id: I54357781ed662b904025add42a168645bc42b4c4
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
11 months ago[M120 Migration][WASM] Tizen Sockets API for WebAssembly 80/311780/3 submit/tizen/20240528.160016
Adam Bujalski [Thu, 30 Apr 2020 06:25:28 +0000 (08:25 +0200)]
[M120 Migration][WASM] Tizen Sockets API for WebAssembly

This commit ports Tizen Sockets Extensions for WebAssemblay from M108
to M120 WebEngine.

[description]

This commit introduces Tizen Sockets Extensions for WebAssembly.
Goal of this extension is to add POSIX compatible sockets API
which be used in WebAssembly.

Requirements:
- API provided to WebAssembly should be as much as possible
  syntactically and semantically consistent with POSIX sockets API.
- Minimal overhead over native POSIX sockets calls.
- Security - API is only provided to WRT and secured by Internet
  privilege (http://tizen.org/internet)

[architecture overview]

Architecture overview can be found at:
https://confluence.sec.samsung.net/display/WEBSOL/Tizen+Sockets+API+for+WebAssembly

[porting notes]

This patch migrates Tizen Sockets Extensions feature from Tizen 6.5.
Entire feature (i.e. all patches) are ported at once, because porting
only parts of feature would be hard and make it difficult to deliver
patches without a buildbreak.

[list of ported patches]
- https://review.tizen.org/gerrit/292408
- https://review.tizen.org/gerrit/298047
- https://review.tizen.org/gerrit/309440

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Change-Id: Ib18f4a6381cbfa37f070d9756f7b5bb22f2d26c9
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[WebRTC][GS] Port upstream H265 packetizer and depacketizer 75/311775/3
Michal Jurkiewicz [Fri, 24 May 2024 10:08:31 +0000 (12:08 +0200)]
[WebRTC][GS] Port upstream H265 packetizer and depacketizer

Port of the following upstream patches:
* Add rtp packetizer for H265
  https://webrtc-review.googlesource.com/c/src/+/318005
* Add CopyOnWriteBuffer::empty accessor
  https://webrtc-review.googlesource.com/c/src/+/328382
* Fix fuzzing issue for h265 bitstream parser
  https://webrtc-review.googlesource.com/c/src/+/333942
* Add RTP depacketizer for H265
  https://webrtc-review.googlesource.com/c/src/+/325660
* Fix H.265 bitstream parser incorrect PPS reference.
  https://webrtc-review.googlesource.com/c/src/+/337080
* Export h.265 bitstream parser APIs.
  https://webrtc-review.googlesource.com/c/src/+/340004
* Remove wrong range check for CurrRpsIdx and fix its naming.
  https://webrtc-review.googlesource.com/c/src/+/347764

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Id94522a354921868628d85331c4af9d12da86dae
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] Port WebMedia optimizations for WebRTC 74/311774/5
Michal Jurkiewicz [Tue, 7 Dec 2021 14:14:52 +0000 (15:14 +0100)]
[M120 Migration] Port WebMedia optimizations for WebRTC

Port of the following original patches from older platform,
instead of extracting them from squashed patch for old
WebRTC implementation:

* [WebRTC] Don't call OnReceivedPacket for every packet
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/268327

* Fix enabling traces not possible during video capture
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/254354

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1550
Change-Id: Ic3dab08cccda83e50b7d04e0a8bdc095778c10c6
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[MM] Fix Screen Error Issue 90/311790/2
yanqing.lu [Tue, 28 May 2024 02:38:32 +0000 (10:38 +0800)]
[MM] Fix Screen Error Issue

Screen Error issue was reported on ITVPlayer
Cause: occurred by player get duration in invalid state
Solution: Don't update duration unless prepared done

Change-Id: I1cb4e19c8daf9f81e87da1c2d24dba88e78f0f78
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
11 months ago[M120 Migration][VD] Use "if" check to avoid crash 51/311751/2
fangfengrong [Mon, 27 May 2024 07:10:35 +0000 (15:10 +0800)]
[M120 Migration][VD] Use "if" check to avoid crash

Use "if" instead of "CHECK" to avoid crash at LostMouseLock.

Reference:
https://review.tizen.org/gerrit/#/c/304549/

Change-Id: Ib093552815fe491e4c580eb752655d5a3c123035
Signed-off-by: fangfengrong <fr.fang@samsung.com>
11 months ago[M120 Migration][MM] Support 3 players on LFD TV 69/311369/6
xiaofang [Thu, 13 Jul 2023 11:13:17 +0000 (19:13 +0800)]
[M120 Migration][MM] Support 3 players on  LFD TV

Support 3 players playback on LFD TV.
Support seamless playback on LFD TV.

LFD URL on WRT App : Capi-player/Mixer Player

First player is in non-mixer mode,
When second player created, first player will
release and recreate again.

refer to:
[MM] Merge LFD related patches
https://review.tizen.org/gerrit/295910/
https://review.tizen.org/gerrit/302978/
https://review.tizen.org/gerrit/304910/

Change-Id: I2e92962ef7e76199d24594c4f3fb87c7821eba1e
Signed-off-by: xiaofang <fang.xiao@samsung.com>
11 months ago[M120 Migration] Disable `DualDecoding` when upstream architecture is enabled 32/311732/3
Michal Jurkiewicz [Wed, 3 Apr 2024 14:16:00 +0000 (16:16 +0200)]
[M120 Migration] Disable `DualDecoding` when upstream architecture is enabled

Porting patch from Tizen 8.0:
* [WebRTC] Disable `DualDecoding` when upstream architecture is enabled
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309084

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I4cc4fd9a12be1b8009d6bc2d2d6551db7762c9ed
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months agofixup! [M120 Migration][EMSS][WebRTC] Added unified Tizen Media Logger 10/311710/2 submit/tizen/20240524.160013
Adam Bujalski [Thu, 23 May 2024 11:18:34 +0000 (13:18 +0200)]
fixup! [M120 Migration][EMSS][WebRTC] Added unified Tizen Media Logger

Wrapping constants with proper `#ifdef` to avoid `unused-const-variable`
warning.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-501
Change-Id: Icad4d34b74d23e24253ceed27c295a4c815b699a
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[M120 Migration] Implement suspend resume & thread booster services 66/311566/5
Jakub Gajownik [Wed, 15 May 2024 14:28:50 +0000 (16:28 +0200)]
[M120 Migration] Implement suspend resume & thread booster services

This migrates all the changes done to following services
on Chromium M120:
- suspend resume,
- thread booster.
Note that those services do not depend on any other
component, so it might be introduced separately from their
clients to make porting process easier.

This patch is a migration for commits:
* (partially) only services part
  [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292774

* Split suspend-resume service from thread booster
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295065

* (partially) only services part
  [WebRTC][GS] Thread booster adjustments
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295822

* fixup! Use last state when allocating overlays
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/298802

* [MM][WebRTC] Implement mojo service for suspend resume
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/310822

* [MM][WebRTC] Extend suspend resume with partial view
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/310890

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ib8028fd5b5dfc9ae6252ef3d1c75c41802d601ef
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months agofixup! [WRTjs] Enable WRTjs 08/311708/5
Adam Bujalski [Thu, 16 May 2024 16:37:00 +0000 (18:37 +0200)]
fixup! [WRTjs] Enable WRTjs

Disabling debug messages from GRD, as they distracts developers not
working with GRD directly.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Change-Id: I078ce67c931ecec4aaa584611698f880f8d35704
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[M120 Migration] Fix focus will be changed when input a text 25/311525/3
jie [Wed, 22 May 2024 05:59:15 +0000 (13:59 +0800)]
[M120 Migration] Fix focus will be changed when input a text

Hide or show IME should consider the input type for old text and new text.
Or else, sometimes focus will be changed automatically.

Like: ALTBalaji(appid: 3201902017790), after input "1" in IME, focus will be
changed from "1" to "q" automatically.

Reference:
 - https://review.tizen.org/gerrit/#/c/300875/

Change-Id: I7986fa8f6a4058b833e31f741ec6516fcf54d9b1
Signed-off-by: jie <jie137.zhang@samsung.com>
11 months ago[M120 Migration] Fix svace warning 06/310906/3
wuxiaoliang [Thu, 9 May 2024 09:34:35 +0000 (17:34 +0800)]
[M120 Migration] Fix svace warning

Migrated from:
https://review.tizen.org/gerrit/#/c/297825/
https://review.tizen.org/gerrit/#/c/299726/

Change-Id: I4c364e804a741517904107cd638b4c3f9c51d631
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[WebRTC] Fixing compiler warnings 95/311595/4 submit/tizen/20240523.160551
Adam Bujalski [Thu, 16 May 2024 16:39:09 +0000 (18:39 +0200)]
[WebRTC] Fixing compiler warnings

Fixing compiler warning related to WebRTC component.

Note that some `-Wthread-safety-analysis` or
`-Wthread-safety-reference-return` was fixed by adding proper function
annotations (`RTC_RUN_ON`). However some of them had to be suppressed by
`RTC_NO_THREAD_SAFETY_ANALYSIS`.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Change-Id: Ibaf8a641554572bf9028e65ef391e132bbfd4bd6
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[VD][RISCV] Fixed 'uint8_t' has not been declared issue when enable AC4 Codec 34/311634/3
jie [Thu, 23 May 2024 03:03:01 +0000 (11:03 +0800)]
[VD][RISCV] Fixed 'uint8_t' has not been declared issue when enable AC4 Codec

Change-Id: I0267bee8161d07d87bc6fb04aef6ec7c7f6bb1ed
Signed-off-by: huochangjun <changjun.huo@samsung.com>
11 months ago[M120 Migration][HBBTV] Dolby new cases implementation 54/310954/4
wuxiaoliang [Fri, 10 May 2024 07:04:40 +0000 (15:04 +0800)]
[M120 Migration][HBBTV] Dolby new cases implementation

Migrated from:
https://review.tizen.org/gerrit/#/c/294860

Refer to the requirement of Dolby new cases,
We need to support three new features.

1. Select audio tracks according to the preferred language.
2. If the audio tracks have preselection info, we need select it first
3. User can enable Audio Description func in system menu, we need inform
   MM side to change the audio stream.

In the above cases, the preferred language is the highest priority.
A: If the preferred language audio tracks do not exist, it will select the defalut audio track 0.
B: The preferred language audio track lists exist,
  a. Audio Description enable,if they do not have "Audio Description" info,
  b. Audio Description disable,if all they have "Audio Description" info,
We will select the first one in the list in the above cases.

The first time we will help MM side to choose the audio track.
During the playback we only need to inform the audio option change to the MM side,
they will change the audio stream.

Change-Id: If3cb4c2295bf73d197258711a3dae8310f16912d
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[M120 Migration] Add max resolution callback to web browser 22/311222/4
“xiaofang” [Thu, 16 May 2024 06:59:24 +0000 (14:59 +0800)]
[M120 Migration] Add max resolution callback to web browser

When max resolution changed, web media should notify to webbrowser.
Webbrowser will reload video.

Refer:
https://review.tizen.org/gerrit/305082

Change-Id: I68e442ba520a1bc9cc013b7579c6e8575d6eb0a2
Signed-off-by: xiaofang <fang.xiao@samsung.com>
11 months ago[M120 Migration][VD] Add waiting for RW image mount 98/311498/3
jiangyuwei [Wed, 22 May 2024 03:20:56 +0000 (11:20 +0800)]
[M120 Migration][VD] Add waiting for RW image mount

When UWE is used but RW image was not mounted yet,
Engine could wrongly dlopen RO package.

This patch adds additional waiting for RW mount
to prevent from opening RO package by mistake.

Max waiting time for RW mount: 10s

Reference:
  - https://review.tizen.org/gerrit/301389/
  - https://review.tizen.org/gerrit/301791/

Change-Id: I9178bcb4316030645c0a141ee01aecf53eb7ef6f
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
11 months ago[M120 Migration][WRTjs][VD] Resize native evas object to app window size 71/311371/3
zhaosy [Mon, 20 May 2024 07:53:13 +0000 (15:53 +0800)]
[M120 Migration][WRTjs][VD] Resize native evas object to app window size

In ultra width screen products(21:9 or 32:9), connect time app size is
2580*1080 or 3840*1080, but native evas object still is 1920*1080,
so mouse event is only working in 1920*1080 area.

Mouse event is based on this evas object, so resize it to app window size.

Reference Patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/311368/

Change-Id: I9936c38d1334c29b2b00e21394f5c0a3c5c5468c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
11 months ago[M120 Migration] Add tizen_tv_upstream_multimedia feature to GN 38/311538/2
Jakub Gajownik [Mon, 20 May 2024 16:48:53 +0000 (18:48 +0200)]
[M120 Migration] Add tizen_tv_upstream_multimedia feature to GN

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I28decbe6f4bd10b93fc940ea174f6416500e8d89
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Indicate a need for raw frame access in WebCodecs 39/311439/2
Jakub Gajownik [Thu, 16 May 2024 15:32:38 +0000 (17:32 +0200)]
[M120 Migration] Indicate a need for raw frame access in WebCodecs

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/300423/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ided79d6cd69d9f3e3aacff9a990ac8fa7dda9563
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[WebRTC][HW Encoder] Disable software encoder forcing for low resolutions 58/311558/4
Michal Jurkiewicz [Tue, 21 May 2024 11:46:48 +0000 (13:46 +0200)]
[WebRTC][HW Encoder] Disable software encoder forcing for low resolutions

This commit prevents fallbacking to software encoder for low stream
resolutions when HW encoder is available.

On Tizen TV we need to utilize HW resources as much as possible
to assure encoding performance.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: I7a6c1fe41ec7b1f9a8bde22c006475604fd4809c
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC][HW Encoder] Port video encoder from Tizen 8.0 44/311544/2
Michal Jurkiewicz [Tue, 6 Jun 2023 15:18:56 +0000 (17:18 +0200)]
[M120 Migration][WebRTC][HW Encoder] Port video encoder from Tizen 8.0

Port of the following patches:
* [MM][WebRTC] Introduce video encoder using standard pipeline
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294460
* [WebRTC][HW Encoder] Upstream architecture VideoEncoder code cleaning
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297814
* [WebRTC][HW Encoder] Properly identify HW encoder IDR frame
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297815
* [WebRTC][HW Encoder] Upstream architecture - Force Keyframe and GoP Size
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297814
* [WebRTC][HW Encoder] Upstream architecture - Bitrate change support
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298926
* [WebRTC][HW Encoder] Properly deallocate HW Encoder external memory
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/306657
* [WebRTC][HW Encoder] Report bitrate change when needed
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/306698
* [WebRTC][HW Encoder] Notify about platform encoder capabilities
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308071
* [WebRTC][HW Encoder] Return proper QP for encoded frame
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308125
* [WebRTC][HW Encoder] Force keyframe when no output buffer is available
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308189

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: Ida2284960f995c2ab17f8d25f33a4c031723d2da
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC] Fix simulcast functionality when VP8 encoder is used 33/311533/6
Michal Jurkiewicz [Mon, 20 May 2024 11:10:52 +0000 (13:10 +0200)]
[M120 Migration][WebRTC] Fix simulcast functionality when VP8 encoder is used

Ported changes of upstream part of the commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/303290

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: I0646a245b2e9b988f66c4c06afe660e604763ed8
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] Fix crash on tracing initialization 73/311473/4
Robert Bycul [Mon, 13 May 2024 10:32:50 +0000 (12:32 +0200)]
[M120 Migration] Fix crash on tracing initialization

Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292707

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: I02a02328be78bd0a73c5967f2e310ec6c8c6b8ea
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
11 months ago[M120 Migration][WebRTC] Prefer H264 codec when available 37/311537/3
Michal Jurkiewicz [Mon, 5 Jun 2023 12:19:47 +0000 (14:19 +0200)]
[M120 Migration][WebRTC] Prefer H264 codec when available

Port of the following patch:
[WebRTC] Prefer H264 codec when available
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/293893

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: Id9846bb5eb8f6bb2bf82d7ff50bc740a8523ef09
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] WEBRTC_TIZEN_TV and WEBRTC_USE_HEVC defines 80/311480/6
Michal Jurkiewicz [Mon, 20 May 2024 12:44:53 +0000 (14:44 +0200)]
[M120 Migration] WEBRTC_TIZEN_TV and WEBRTC_USE_HEVC defines

Port of the following patch:
fixup! [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296590

Notice:
Base patch, apart from adding `WEBRTC_TIZEN_TV` and `WEBRTC_USE_HEVC`
defines, also replaces all usages of `BUILDFLAG(IS_TIZEN_TV)` and
`BUILDFLAG(ENABLE_PLATFORM_HEVC)`. Currently there are no such usages
inside `third_party/webrtc` directory, so no replace is being performed.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: I667d7ec946156bba521ee0a8bc2bfe0b44f2f33f
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC] Support camera to canvas feature 01/310201/8 submit/tizen/20240522.160018
hongyanting [Wed, 24 Apr 2024 05:35:06 +0000 (13:35 +0800)]
[M120 Migration][WebRTC] Support camera to canvas feature

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

Following patch is needed in Renderer side (crash issue):
  https://review.tizen.org/gerrit/#/c/292745/

Change-Id: Ica157c7d09cc290010a87b0575d9f3ea87feeb17
Signed-off-by: hongyanting <yanting.hong@samsung.com>
11 months ago[MM] Fix EME Crash for DecryptingDemuxerStream 89/311389/6
yangzw [Mon, 20 May 2024 10:05:47 +0000 (18:05 +0800)]
[MM] Fix EME Crash for DecryptingDemuxerStream

Issue: crash happened when call
  DecryptingDemuxerStream::GetDecryptorStreamType in
  DecryptingDemuxerStream::~DecryptingDemuxerStream()

Why: current the DecryptingDemuxerStream destroyed in
  dtor of PipelineImpl::RendererWrapper,
  and demuxer_stream_ detoryed in dtor of DemuxerManager
  in WebMediaPlayerImpl::~WebMediaPlayerImpl()

  A task posted to media thread to destroy DemuxerManager
  while PipelineImpl::RendererWrapper will be destroyed after
  WebMediaPlayerImpl::~WebMediaPlayerImpl() in main thread
  So, the destroy of DemuxerManager could be earlier than
  PipelineImpl::RendererWrapper.

Solution: destruct DecryptingDemuxerStream first

Change-Id: I28b2bf382cc87c982303228878de91cab77f9436
Signed-off-by: yangzw <zw714.yang@samsung.com>
11 months ago[M120 Migration][VD] Support Mouse and Touch separately 92/311392/2
fangfengrong [Mon, 20 May 2024 10:41:45 +0000 (18:41 +0800)]
[M120 Migration][VD] Support Mouse and Touch separately

WebAPP need set mouse and touch enable/disable separately for Premier.
So we need support mouse and touch separately.

For mouse/touch down/up/move event, EFL provide the same event callback;
there may be cases where the mouse and touch settings are different,
We can not unregister these event callback according one set.

1. Register event callabck
For mouse/touch down/up/move event(is common for mouse and touch), we register the event callback by default;
For mouse in/out/wheel event, register the event callback according mouseEnable
For multitouch event,register the event callback according touchEnable

2. the default value:
mouse: enable
touch: set default value according isSupportTouch product

3. when receive the mouse/touch common event callback:
if touch device and touch enable, handle as touch event,
if Mouse device and mouse enable, handle as mouse event,
other case, don't handle.

4. api:
provide internal api to wrt:
RWHVAuraCommonHelperEfl::SetMouseEventsEnabled
RWHVAuraCommonHelperEfl::SetTouchEventsEnabled

provide ewk api to other runtime:
Eina_Bool ewk_view_mouse_pointer_support_set(Evas_Object *view, Eina_Bool support)
Eina_Bool ewk_view_touch_events_enabled_set(Evas_Object *view, Eina_Bool enabled)

Reference:
  - https://review.tizen.org/gerrit/308707

Change-Id: I2725da163f2846f8270873ca177e3d53265fdeec
Signed-off-by: fangfengrong <fr.fang@samsung.com>
11 months ago[WRTjs][VD] Remove WRT media suspend logic 86/311486/2
zhaosy [Wed, 22 May 2024 01:10:19 +0000 (09:10 +0800)]
[WRTjs][VD] Remove WRT media suspend logic

Media implement the same logic in SetPageVisibility,
so remove related code in WRT.

Reference Patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/310854/

Change-Id: I7f6b53144d05656b55d3ea831cefbb160b46a860
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
11 months ago[M120 Migration][MM] Replace presentable range with last dts 70/311470/5
Jakub Gajownik [Fri, 17 May 2024 10:30:13 +0000 (12:30 +0200)]
[M120 Migration][MM] Replace presentable range with last dts

Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/300279

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1542
Change-Id: Ia707c7fdf5f737ffaeb36c8595067c4bdb0178be
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][VD] Only root viewport use specific scrollbar on TV web browser 34/311334/4
wangjing [Fri, 17 May 2024 12:56:55 +0000 (20:56 +0800)]
[M120 Migration][VD] Only root viewport use specific scrollbar on TV web browser

For Tizen WebBrowser customization.
1. The root frame viewport use the specific scrollbar for the TV web browser.
2. The other frame use the traditional scrollbar to avoid some content
be covered by scrollbar.

refer:
https://review.tizen.org/gerrit/#/c/292169/

Change-Id: I4f5eced384c38ebe4224f11cba65c25b9afe9c84
Signed-off-by: wangjing <jing124.wang@samsung.com>
11 months ago[M120 Migration] Fix for new window not opening 88/308388/4
Rohit Kumar [Tue, 21 May 2024 09:44:37 +0000 (15:14 +0530)]
[M120 Migration] Fix for new window not opening

When clicked on linkedin Google Auth signin button,
window is not opening. This patch fixes this issue.

Reference: https://review.tizen.org/gerrit/304184

Change-Id: Ic9eafe415ecee01eb53aa19bb2229ef26ba8003d
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
11 months agoFixup! [M120 Migration] Support Dash high bitrate 67/311367/2
wuxiaoliang [Mon, 20 May 2024 06:32:22 +0000 (14:32 +0800)]
Fixup! [M120 Migration] Support Dash high bitrate

use std::string + to catenate string.

Change-Id: I19c9be512a4c2c914d6c6d385a1e49659451d8a9
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[M120 Migration][WebMedia]Report right status and currenttime to app 96/310896/4
peng1xiao [Thu, 9 May 2024 08:37:51 +0000 (16:37 +0800)]
[M120 Migration][WebMedia]Report right status and currenttime to app

1.Update video display aspect ratio and add error handle
Migrate from:
https://review.tizen.org/gerrit/#/c/293074/

2.Report right status and currenttime to app
Migrate from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/295396/

3.refine SetAppInfo logic
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298626/

Change-Id: I11db13129af07352f88121a679c74d865c000ec6
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Added game mode parameter in TTvd video decoder. 04/311404/5
Jakub Gajownik [Thu, 16 May 2024 15:26:01 +0000 (17:26 +0200)]
[M120 Migration][MM][WebRTC][GS] Added game mode parameter in TTvd video decoder.

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/310749/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I53b1e6fa09288754d5e940bbfb88ad75819e1c3c
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Support AC-4 audio codec 69/310869/6 submit/tizen/20240521.160018
yangzw [Thu, 9 May 2024 06:41:05 +0000 (14:41 +0800)]
[M120 Migration] Support AC-4 audio codec

HbbTV uses AC-4 encrypted audio stream.
This patch is verified by HbbTV MediaSource/AC-4 TCs.

ref:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299413/

Change-Id: I62876758e84c9f35386f5388466846b76b504c15
Signed-off-by: yangzw <zw714.yang@samsung.com>
11 months agofixup! [M120 Migration][WebRTC][GS] Don't trigger redraw for overlay forced frames 03/311403/3
Jakub Gajownik [Mon, 20 May 2024 10:21:55 +0000 (12:21 +0200)]
fixup! [M120 Migration][WebRTC][GS] Don't trigger redraw for overlay forced frames

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I80540e12877640bb5eabfc820c9321cef754a2f8
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM] Not calling `DestroyPlayerSync` when using Upstream Architecture 98/311398/7
Jakub Gajownik [Thu, 16 May 2024 11:42:49 +0000 (13:42 +0200)]
[M120 Migration][MM] Not calling `DestroyPlayerSync` when using Upstream Architecture

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308958/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Id57594cce10141973d0dba9fa56046f283b0c282
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Fallback from HW decoder in case of resource conflict 81/311381/7
Jakub Gajownik [Thu, 16 May 2024 10:21:07 +0000 (12:21 +0200)]
[M120 Migration][MM][WebRTC][GS] Fallback from HW decoder in case of resource conflict

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308147/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Iddcef4861926abe9f67cd74f202b409d8cdf89e4
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM] Don't override demuxer for upstream arch 80/311380/6
Jakub Gajownik [Thu, 16 May 2024 10:11:20 +0000 (12:11 +0200)]
[M120 Migration][MM] Don't override demuxer for upstream arch

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/307093/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ia0ab6a51d640e9a371c1c9c6fe87ae02b62dc0ce
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>