Mark Toller [Wed, 11 Dec 2024 18:16:16 +0000 (18:16 +0000)]
Revert "Fix playback / seek issues (
DF241115-08183)"
This reverts commit
a9eb6e97b314983efa7619b5750c96ff07a2b68c.
Reason for revert:breaks many more tests.
Change-Id: If4a3e3b8edd245d4e9a87baeab586a27055e315a
Jakub Gajownik [Thu, 5 Dec 2024 09:46:27 +0000 (10:46 +0100)]
[TTVD] Prevent scaler preallocation when texture mode is enabled
We should skip output surface preparation by video decoder
when output mode is known to be texture. It can delay first
frame returning until surface is ready, while there are high
chances that it won't be used.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1980
Change-Id: Iff33311dddc08b416085a18b01a9d57f3be936cf
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Wed, 4 Dec 2024 12:30:18 +0000 (13:30 +0100)]
[TTVD] Ensure syncing changes to overlay mode on first possible frame
During transition from texture to overlay, last step is to
wait until all texture-backed frames are properly rendered
and then switch to overlay mode. As now it's done on worker
thread, there is one frame delay in mode changing.
Result of this is that first frame not backed by texture
data is not displayed using hole, but still tries to use
non-existing texture. There is no resource for it, so
it's presented as black frame.
This CL fixes this behavior by allowing mode change to
overlay on first proper video frame.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-632
Change-Id: I35559cb6002ce6a710471bba6e2de1cbca742e82
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Tue, 3 Dec 2024 12:53:29 +0000 (13:53 +0100)]
[TTVD] Remove decoded frames with incorrect size
When resolution change happens in stream, frames in pool
are no longer valid in terms of picture size and memory
allocated to hold decoded data.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-633
Change-Id: If63ca3e16b738b013306841818d027dd8e6ecac7
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
jmroman [Wed, 11 Dec 2024 07:20:02 +0000 (15:20 +0800)]
[NextBrowser] HandOff feature Popup
Change-Id: Ie841511193435f4a41df69b1bdc3b5101adb0219
Signed-off-by: jmroman <jm.roman@samsung.com>
jmroman [Thu, 5 Dec 2024 12:51:01 +0000 (20:51 +0800)]
[NextBrowser] Passkey code cleanup
Change-Id: I9794467b7e0d01115e1d710aa713905290a34274
Signed-off-by: jmroman <jm.roman@samsung.com>
zhaosy [Wed, 11 Dec 2024 02:37:07 +0000 (10:37 +0800)]
[WRTjs][VD] Remove feature-config-enum-header BuildRequires
More BuindRequires will cause chromium-efl.so memory size is increased, and affect launch performance.
Only use 2 enum of feature-config-enum-header, so remove this BuindRequires, implement this emum in WRT directly.
Change-Id: I7b6b17367a0a33aff311cec8e955a216f5b967be
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
wangjing [Mon, 9 Dec 2024 08:07:51 +0000 (16:07 +0800)]
[VD] Group child processes with browser process
Currently, child processes are not controlled by
AppFW, so their states are not synchronized with
the browser process.
i.e. oom_score cannot be synced with child processes
and browser process.
This patch calls an AUL API |aul_proc_group_add|, which
is designed to support child processes to be state synced
with its PGID.
|aul_proc_group_add| is supported since Tizen 6.5 label below:
vbs-aul-1-
20211001.074816
Reference: https://review.tizen.org/gerrit/c/282234
Change-Id: Ib8882c52742ed9fc68eebde6244e0c449ccc5f45
Signed-off-by: wangjing <jing124.wang@samsung.com>
Suhaspoornachandra [Tue, 10 Dec 2024 10:17:59 +0000 (15:47 +0530)]
fixup! Support YUYV and JPEG formats for Camera
This patch fixes Coverity and SVACE issues related to checking return
value of the libyuv functions.
libyuv::YUY2ToI420() returns only 0, so check is removed and in other
cases check is added where it was missing.
Change-Id: Ib9707063e9ac20b63ab7f38c800a9e6c9213010e
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
shahnawaz.a [Mon, 9 Dec 2024 05:54:43 +0000 (11:24 +0530)]
[NextBrowser]Fix for the click on WatchLater iteam opening next item.
Change-Id: Idd95a17478aaa8adffae72aa68cc17de78ce5a74
Signed-off-by: shahnawaz.a <shahnawaz.a@samsung.com>
Michal Jurkiewicz [Thu, 5 Dec 2024 16:51:10 +0000 (17:51 +0100)]
fixup! [WebRTC] Fix overlay video position in Browser
Add missing CommitZOrderChanges to ensure, that
layers order is properly applied.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-626
Change-Id: I7b8b5f1457410033518672703fbf5216864e7071
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Adam Bujalski [Fri, 6 Dec 2024 08:17:20 +0000 (09:17 +0100)]
[SVACE] Possible integer overflow in expression
[Problem]
SVACE Warning Message:
The value of an arithmetic expression 'bytes_per_frame_ * sample_rate_'
is a subject to overflow because its operands are not cast to a larger
data type before performing arithmetic
[Solution]
Due to restriction on maximal values of:
- `bytes_per_frame_` - it is maximum number of bytes per audio frame
and can be at most 8 * 4 = 32, as there will at most 8 audio channels
and each channel date will be at most 4 bytes per (in case of using
32bit float value).
- `sample_rate_` - it is maximum audio sampling rate most probably 48kHz
with maximal values just below 200kHz.
So value of mentioned expression won't be larger than 6'400'000
(32 * 200'000), which fits 32bit unsigned integer.
To explicitly express this separate variable holding value of this
expression is added.
Bug:
DF241205-01887
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-2009
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I474dd075f9296027b24b08a4199fe25b5403cda2
Piotr Bałut [Tue, 3 Dec 2024 16:18:24 +0000 (17:18 +0100)]
[EMSS] Fix crash during low latency suspend/resume
[PROBLEM]
When suspend happens, decoder should be removed and recreated when app
resumes. Furthermore some MsDecodingStream methods are not properly
plumbed to classes in layers that receive suspend/resume notifications.
[SOLUTION]
Destroy decoder upon suspend and recreate it when app resumes.
Additionally all suspend/resume notifications are not properly delivered
to MsDecodingStream.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1994
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Change-Id: Ia8be4afaa41214759d2ec4b049cd56348fc6bcb6
hongyanting [Fri, 29 Nov 2024 07:17:21 +0000 (15:17 +0800)]
libaifw_api_vision_xr_adapter using dlopen
Change-Id: Ia6dc44cf9f277a68803cca3628453a39ef723ee7
Signed-off-by: hongyanting <yanting.hong@samsung.com>
Kajetan Brzuszczak/Web Solutions (VD) /SRPOL [Fri, 14 Jun 2024 06:29:14 +0000 (07:29 +0100)]
[M120 Migration][HBBTV] Missing OscarS configuration in hardware_resource_helper
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/314691
[*KONA_ID]
DF240605-00907 [Channel][TC][SRPOL_SQE][UK][HbbTV] Playback of UHD content fails on BBC HbbTV
No OscarS switch returns empty decoder list for 8K content, which prevent
prepare and play.
Added supported 8K codec OscarS in HBBTV
Jobs:
DF240605-00907
[git-p4: depot-paths = "//TIZEN/[Product2023]/[OSU_Trunk2023_T80_Prj]/[INT]/PLATFORM/COMMON/Profile/platform/framework/web/chromium-efl/": change =
12137781]
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1817
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: I38e974e0ae5aa122a1a8aa2ef1b9dc0b5a198d09
Jan Prusakowski [Wed, 3 Jul 2024 07:47:36 +0000 (09:47 +0200)]
[M120 Migration][HbbTV] Fix resource conflict when selecting video decoder during a mid-roll ad insertion
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/314518
[Problem]
During a mid-roll ad insertion the sub-decoder allocation conflicts with main
decoder. Additionally during the second ad insertion the ad steals the main
decoder from the main content.
[Cause]
Using UHD main video decoder on KantSU2e disables dual video decoding.
Relying on last_used_decoder_ causes the 2nd ad to take the main decoder.
[Solution]
Only request UHD decoder when video resolution is greater than full HD.
Use a free decoder for next playback (ignore last_used_decoder_).
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1817
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: I3a39168e4c7824db2737bbeffc3126fd100845ed
Kajetan Brzuszczak [Fri, 5 Jul 2024 10:12:36 +0000 (12:12 +0200)]
[M120 Migration][HbbTV][*KONA]
DF240621-00553 IP Video manipulation causes native playback issue
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/314404
Deactivate stream after pause. Deactivation stream before pause forced
player to reload data which cause lags in video.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1817
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: I0bfa3a5810d22d313d6c77f390e4a9e0c402eabb
Piotr Bałut [Tue, 3 Dec 2024 14:53:45 +0000 (15:53 +0100)]
fixup! [EMSS] Fix config validation in SW and HW with fallback mode
[PROBLEM]
If decoding mode is not provided, config validation will fail. Default
value should be used instead.
[SOLUTION]
Use default decoding mode value if decoding mode is not explictly set.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1904
Change-Id: I9edbc68238c8f1cf92286fe48c26f86f291eb3c9
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Piotr Bałut [Tue, 26 Nov 2024 15:54:02 +0000 (16:54 +0100)]
[EMSS] Support playing clear content without `use.upstream.architecture`
[PROBLEM]
WASM Player on M120 runs exclusively on upstream architecture (TTvd
decoder). Before this patch an attempt to run it without
`use.upstream.architecture` flag resulted in a player that was mostly
non-functional.
[SOLUTION]
This patch adds code paths that selectively enables
`use.upstream.architecture` features in a pipeline that runs WASM
Player.
This has one limitation, namely protected content playback. As creating
CDM module implementation is not tied to any player instance, it is
impossible to create an upstream architecture CDM based on presence of
EMSS when `use.upstream.architecture` is not enabled. Playing
protected content with WASM Player still requires enabling upstream
arch.
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1545
Change-Id: I9ae532e16284dd913688e1aa0bf53c7f41ec605c
mayur.jain [Thu, 5 Dec 2024 11:10:46 +0000 (16:40 +0530)]
[NextBrowser] Cursor image changes for Scrolling
-Now Cursor image changes on pressing channel Up/
Down button and during edge scroll
Change-Id: I980dd1d8403e9b66c109d6ffe68704d02982e654
Signed-off-by: mayur.jain <mayur.jain@samsung.com>
Piotr Bałut [Wed, 4 Dec 2024 12:39:04 +0000 (13:39 +0100)]
[EMSS] Deprecate explicit decoding mode selection and force `hardware-with-fallback` instead of `hardware`
[PROBLEM]
Decoder resource management shouldn't be responsibility or concern of
an application. Instead, WebEngine should be able to manage resources.
Migration of WASM Player to TTvd and upstream architecture facilitates
moving of resource management responsibility to WebEngine.
Letting app influence decoder selection imposes some limitations on
optimal decoder selection and enforces potentially suboptimal choices.
For example using audio decoders in SW mode might be preferred in some
cases or HW support may not be available at all where it doesn't make
sense (e.g. pcm which deosn't need decoding).
[SOLUTION]
* Decoding mode option in WebAPI is considered deprecated from now on.
It's still available for backward compatibility, however it's treated
as a hint from now on.
* `hardware`, used as a default in old toolchain releases due to legacy
platform behaviour, will be interpreted as `hardware-with-fallback`.
This allows upstream arch to assign HW and SW decoders in an optimal
way.
* `software` option will currently still be honored if used.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1996
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Change-Id: I299ea02ced413deaece28112b40ef3cd1833f87f
shayh [Thu, 5 Dec 2024 14:37:57 +0000 (22:37 +0800)]
Fixing SVACE Issues
The patch is to add protection code for WGID:
2282441,228763
Change-Id: I88e8b853b7cf6b7179a29d6a3ea8e915eeeaf8fd
Signed-off-by: shayh <yuhong.sha@samsung.com>
zhaosy [Thu, 5 Dec 2024 07:41:42 +0000 (15:41 +0800)]
[WRTjs][VD] Conformant is not working for 4K resolution IME
In 25's OscarP product, IME is changed to 4K resolution(3840*1024),
but webapp resolution still is 1920*1080, so webapp can't subtract IME size.
Thus app input-box is overlapped by IME.
So for 4k IME, IME resolution should be divided by 2, then subtract IME size.
Change-Id: I1f3bb8ed777b63d82f80e47d63681017696ef0d4
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
shahnawaz.a [Thu, 5 Dec 2024 09:24:58 +0000 (14:54 +0530)]
[NextBrowser] UI for bookmarks page.
Change-Id: I363f0adfe38c10fb8207896db4cb77bbbb89d4e2
Signed-off-by: shahnawaz.a <shahnawaz.a@samsung.com>
Mark Toller [Tue, 3 Dec 2024 15:26:34 +0000 (15:26 +0000)]
[HbbTV] Don't use dual decoding RoseL / PontusML
If FPS is > 30, don't use dual decoding.
Copy of https://archive.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/321173/
Change-Id: I293c95f98ed0acc6518ab89a8fd0eefd0117f1a6
mayur.jain [Tue, 3 Dec 2024 09:08:05 +0000 (14:38 +0530)]
[NextBrowser] Edge,AutoScroll,Channel Up/Down Scroll changes
-Initial implementation of scroll changes similar to
EFL browser
-Doesn't include scroll parameter changes corres. to
video play pages and higher/lower tv models
-Doesn't inlcude cursor image changes
Change-Id: I2a1c9ae790e91e6e860e753486175b43371a82d6
Signed-off-by: mayur.jain <mayur.jain@samsung.com>
shahnawaz.a [Thu, 5 Dec 2024 06:09:07 +0000 (11:39 +0530)]
[NextBrowser]Wacth Later delete and delete all support for you have watched.
Change-Id: I254a3011d6f320867922665fb9d76c10bcf878ec
Signed-off-by: shahnawaz.a <shahnawaz.a@samsung.com>
zhishun.zhou [Wed, 4 Dec 2024 08:41:29 +0000 (16:41 +0800)]
[M120 Migration] Dispatch suspend event when seeking and resuming
Issue:
APP video has not been suspended when go to back ground
Reason:
Suspend event has not been sent to browser process
Solution:
Dispatch suspend event when seeking and resuming
Patch is from Trunk2024 branch.
Change-Id: I399139fb82cb2df94ec995834ccc11599b3aeca3
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
YongGeol Jung [Mon, 2 Dec 2024 09:33:21 +0000 (01:33 -0800)]
[NUI] Use double buffer for NUI rendering
In the case of NUI, TBM buffer is rendered from the web engine's gpu
thread and then used for rendering window surface via the app's render
thread. In this structure, if both threads simultaneously access a
single TBM buffer, there could be a screen flickering problem. When
using one buffer, explicit locks must be applied in both threads, but
currently, such locks cannot be added due to the existing structure. To
solve this issue, modified to use double buffer.
Change-Id: Icced89c18bc8549d61f8a9ead5ee1297bcfb30a1
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
shahnawaz.a [Wed, 4 Dec 2024 12:00:28 +0000 (17:30 +0530)]
[NextBrowser] Basic Ui for the watchLater feature.
Change-Id: I2c10feb8d47865a618082b7d0455508d990ea461
Signed-off-by: shahnawaz.a <shahnawaz.a@samsung.com>
chenhuasheng [Tue, 3 Dec 2024 09:40:37 +0000 (17:40 +0800)]
[VD] Add more logs to detect OOM issue
ref : https://archive.tizen.org/gerrit/#/c/296991/
Change-Id: I925c125168cb2bf9ded11f64730e29c7d90f0412
Signed-off-by: chenhuasheng <hsheng.chen@samsung.com>
Mark Toller [Tue, 3 Dec 2024 14:09:17 +0000 (14:09 +0000)]
Fix playback / seek issues (
DF241115-08183)
Change-Id: I07b56993b6a74a21d95f3320b40342069096f110
Jakub Gajownik [Wed, 20 Nov 2024 17:05:43 +0000 (18:05 +0100)]
[TTVD] Refine OutputSurfaceProxy threading
OutputSurfaceProxy has rather complicated logic regarding
threading, as it must properly synchronize logic between
3 of them, without unnecessary locking any of them.
This CL adds unit tests for this class and introduces needed
changes to fix all the encountered threading/logic issues,
such as:
- stop worker thread before destroying other fields to
ensure they are not used from worker thread,
- ignore initialization done on wrong sequence,
- ensure notification is not triggered multiple
times for single sequence,
- fix disappearing notification after changing context
for single collection,
- ensure previous collection notification is triggered
on proper sequence,
- fix initialization might not finish after changing
sequences.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-618
Change-Id: I4893807b7345c3e619db5f83caf38221b4b1409a
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jan Prusakowski [Mon, 22 Jul 2024 06:04:00 +0000 (08:04 +0200)]
[M120 Migration][HbbTV] MSE: Fix missing readyState update when buffering completes before prepare finishes
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/314885
[Problem]
If buffering of data completes before player preparation is finished readyState is not updated.
[Solution]
When player preparation completes update buffering state so that readyState is updated.
[*KONA_ID]
DF240614-01315 [PreCert][SCL][TV][24_OSU_TV(23_PontusM)][Italy][TivuSat][HbbTV(App)]RAIPLAY_DRM Playready content reproduction test : After end of Pre-roll, A/V of DRM content blocked with loading and black screen
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1817
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: I721152b923ccb7869684ad875522fa52abae8c37
Jakub Gajownik [Thu, 28 Nov 2024 17:16:04 +0000 (18:16 +0100)]
[TTVD] Wait for surface destroy during overlay process destruction
There was problem with timing of video surface destruction
that should happen before static variable destructors.
It was done asynchronously on non-main thread and in some
rare cases main thread was already handling static variable
destruction and surface thread tried to use them in
platform library.
When video sink destructor was called it caused SIGABRT
that was not visible by user, since application was already
exiting.
To fix this issue overlay processor waits until all the
surfaces are properly destroyed.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-612
Change-Id: I5ef10696e9534d6234194d5043a530afe57be81d
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Tue, 5 Nov 2024 14:11:56 +0000 (15:11 +0100)]
[TTVD] Allow injecting custom OutputSurface into OutputSurfaceProxy
Remove direct dependency on OutputSurfaceImpl from
OutputSurfaceProxy class as now it's hard to implement
any testing for it. There is no functionally change,
just the ability to inject custom derived class was added.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-618
Change-Id: Ia8e0deb4bb46d3953513a38a98df0fe4bc6addce
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Tue, 19 Nov 2024 15:34:40 +0000 (16:34 +0100)]
[TTVD] Change method of placing surfaces according to zorder
Before this change 2 video surfaces where needed to set
z-order properly. However, it's not optimal regarding
implementing unit test for this part of pipeline.
Instead, we can set proper hierarchy using parent surface
only as root reference and passing video surface from the
bottom.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-618
Change-Id: I3c68d8173520fd7e8d5ef4f95e8e4cc8cd28335f
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Tarun Verma [Tue, 3 Dec 2024 08:41:28 +0000 (14:11 +0530)]
[NextBrowser] Removing SIDs which are common in NextBrowser and UWE.
NextBrowser will query UWE for SIDs which are not present in NextBrowser.
Change-Id: Id8db35e79b9ccdb640e79b77d3510c6b8e1e0e0b
Signed-off-by: Tarun Verma <tarun1.verma@samsung.com>
Gajendra N [Tue, 3 Dec 2024 05:43:29 +0000 (11:13 +0530)]
Apply CSP rules to blink::PolicyContainer
Document's CSP policies vector should be in sync with PolicyContainer,
hence append the rules to the container's vector as well.
Change-Id: Idcda2e6c5630a620a6f3c0506c1adb66e078188a
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
chenshurong [Tue, 3 Dec 2024 15:07:57 +0000 (23:07 +0800)]
[VD] Support VTVGO/FPT_PLAY/AI_MENU keys
Support VTVGO/FPT_PLAY/AI_MENU keys:
"XF86KeyVtvgo": {
keyName: "XF86KeyVtvgo",
keyCode: 10667
}
"XF86KeyFptPlay": {
keyName: "XF86KeyFptPlay",
keyCode: 10668
}
"XF86KeyAIMenu": {
keyName: "XF86KeyAIMenu",
keyCode: 10669
}
refer:
https://mosaic.sec.samsung.net/kms/comty.do?comtyId=
2380975&menuId=
2381051&postId=
2384113&page=view&type=LIST
Change-Id: I848c1cdc33ea9e2bacde9b7363428a2e28d55f0d
Signed-off-by: chenshurong <shurong.chen@samsung.com>
chenhuasheng [Tue, 3 Dec 2024 07:10:50 +0000 (15:10 +0800)]
Add more logs to detect CPU issue
Change-Id: If863ee764f3c4ef4b852411651e9829c5d6e6042
Signed-off-by: chenhuasheng <hsheng.chen@samsung.com>
Tarun Verma [Tue, 3 Dec 2024 06:09:17 +0000 (11:39 +0530)]
[NextBrowser] Removing resources of unnecessary features for NextBrowser
1. devtools_resources
2. tracing_resources
Change-Id: I3d9e5701ba109cbf21a83bd9ea10adb7f2cd539a
Signed-off-by: Tarun Verma <tarun1.verma@samsung.com>
zhaosy [Fri, 22 Nov 2024 09:02:31 +0000 (17:02 +0800)]
[WRTjs][VD] Waitting ReallaunchWorker thread exit before app is terminated
Both in main thread and ReallaunchWorker thread, security manager api is used.
If main thread exit, but ReallaunchWorker still is calling security manager api,
then the global variate of security manager is destroyed, but ReallaunchWorker
still is using it, then app is crashed.
So before app is terminated,join ReallaunchWorker thread.
Change-Id: I528f39e77e72ddd1bafc23571d27a3fde4a235cd
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
jmroman [Thu, 28 Nov 2024 17:12:27 +0000 (01:12 +0800)]
[NextBrowser] Initial implementation of Passkey
Change-Id: I438f1f07cdbe5b15a0f1da0db0277053058b0a47
Signed-off-by: jmroman <jm.roman@samsung.com>
Liu Feifei [Mon, 2 Dec 2024 11:45:16 +0000 (19:45 +0800)]
Fix SVACE NULL_AFTER_DEREF and DEREF_OF_NULL.RET.STAT
Fix SVACE NULL_AFTER_DEREF and DEREF_OF_NULL.RET.STAT
Change-Id: If5f3c808d449240f737168d5ba131ffdbecedc47
Signed-off-by: Liu Feifei <feifei08.liu@samsung.com>
Jakub Gajownik [Thu, 28 Nov 2024 09:48:54 +0000 (10:48 +0100)]
[TTVD] Use visible rect for video decoding instead coded size
Our Tizen decoder and resource manager operates on cropped
picture size that is returned from decoder. In case of
padding (e.g 1920x1088 coded size), we should still use
1920x1080 for resource selection and reference for decoded
frames.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-615
Change-Id: If66b6a3c1ef98d8895e8037bf0cd50ee5013dc31
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
hyoputer [Sun, 1 Dec 2024 23:58:18 +0000 (08:58 +0900)]
Revert "Use the Aura path to |TextInputClient|"
Revert commits below to preserve original Tizen input logic
until fixing the issue of office 365 [0], when input qwer+Enter,
the characters were gone away.
This reverts commit
47f83d5570a7aa5d8dc2b8c1b2f205df6c8ec507.
This reverts commit
fd69b69446bce97d8dc100d81276d29d614da3fe.
[0] https://office.com/launch/word
Change-Id: Ia203b7ecd93638c24389c1ef3171254852edfa23
Signed-off-by: hyoputer <hyoputer.kim@samsung.com>
wuxiaoliang [Fri, 29 Nov 2024 03:38:26 +0000 (11:38 +0800)]
Fixup! [MM] Support 4 videos
Add tizen version to avoid UWE build break.
[ 8751s] ../tizen_src/chromium_impl/media/base/efl/media_player_util_efl.cc:13:10: fatal error: 'tv-resource-manager/rm_resource.h' file not found
[ 8751s] 13 | #include <tv-resource-manager/rm_resource.h>
Change-Id: I9f7f0ec19dc565dd379809fe729c2064b05c5687
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
chenshurong [Mon, 2 Dec 2024 14:57:05 +0000 (22:57 +0800)]
Move the header file of the EWK API
Move such ewk api from ewk_view.h to ewk_view_product.h:
ewk_view_wauthn_method_set
ewk_view_ime_position_align_set
Change-Id: Icc4baf2def93ddc3822018c92e6215e285821b5d
Signed-off-by: chenshurong <shurong.chen@samsung.com>
xiaofang [Fri, 29 Nov 2024 12:02:53 +0000 (20:02 +0800)]
[M120][WebMedia] Optimize WRT suspend/resume sequence
When washidden received, suspend/resume media immediately.
media suspend/resume need send to browser process which spend much more time.
Change-Id: Ibe22d30de3ccd0612255cd599aff9854ce707739
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Jinwoo Kwon [Mon, 2 Dec 2024 04:36:37 +0000 (13:36 +0900)]
[VD] Set background rendering mode as default
Some app need to change url when hide and need
to render new url contents, so need compositor work
even in background.
This patch allows 1 second rendering when hide.
related to: https://archive.tizen.org/gerrit/c/315987
Change-Id: If6d9e603128cb6e58a9355c3ef183bd2ed647a5d
Signed-off-by: Jinwoo Kwon <j83.kwon@samsung.com>
liwei90727 [Mon, 2 Dec 2024 04:02:22 +0000 (12:02 +0800)]
[WRTjs][VD] Only Add Thread boost API from Tizen9.0
boost_api.h is supported from Tizen7.0, and WRT apply boost thread
by new thread api from Tizen9.0, so add restrict for Tizen9.0
Related patch:
https://review.tizen.org/gerrit/320296/
Change-Id: I3c005196b243716591b00c5bbb8cc8a20256e9e0
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
liwei90727 [Sat, 30 Nov 2024 02:18:39 +0000 (10:18 +0800)]
[WRTjs][VD] Move boost down thread logic after suspend
Follow legacy logic, move boost down thread logic after suspend,
legacy logis is SuspendResumeBooster::Suspend(), so move from
visibility hidden to suspend.
Change-Id: Ie710f9bc3ad535489f8f95cf565dd81c9b5d256a
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
Thomas Daniel [Wed, 13 Nov 2024 17:12:31 +0000 (17:12 +0000)]
[HbbTV] Delay prepare until play if decoder is busy
Change-Id: I70a2ac81d94812bcc87bf3cde035049ad53a45dd
Adam Bujalski [Wed, 27 Nov 2024 14:58:02 +0000 (15:58 +0100)]
[WebRTC] Deadlock when creating SwitchableVideoEncoder
It may be possible that RTCPeerConnection-iceConnectionState.https
TCT Test fails sometimes due to deadlock on following threads:
JS Main thread -> WebRTC Worker Thread -> Encoder Thread.
JS Main thread is calling closes RTCPeerConnection
(`RTCPeerConnection.close()`) which closes `PeerConnectionInterface` on
WebRTC worker thread. This call leads to removing VideoStreamEncoder
from `WebRtcVideoSendChannel`. This call sends request to Encoder
Thread, to stop any encoders. In the same time encoder is initialized
and it tries to connect to suspend_resume service. To do this it
delegates call to JS Main thread to get Mojo interfaces.
This patch changes way of registering in SuspendResume service, by
reusing `blink::Platform::GetBrowserInterfaceBroker()` mechanism, which
binds to mojo services on IO thread.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1942
Change-Id: I8a3a02c22b9f44f7b0ac80e04ddeeadfe1237aa1
wangjing [Thu, 28 Nov 2024 08:55:49 +0000 (16:55 +0800)]
[VD] Limit Mojo ring buffer size to decrease OOM rate
Use larger Mojo ring size(2MB) will increase OOM rate
because it will run out of tempfs space quickly.
refer:
https://issuetracker.google.com/issues/
256746243
Change-Id: I41542f3102a26c35653cf37e1f558a5ecb8ff03c
Signed-off-by: wangjing <jing124.wang@samsung.com>
xiaofang [Fri, 29 Nov 2024 02:45:00 +0000 (10:45 +0800)]
[M120][WebMedia] Fix EME read_cb crash issue
Issue:
ESPP readytoprepare received will trigger read data from demuxer,JS do seek at this moment however demuxer is waiting for more data arrived.
Seek cannot finished in time, JS will seek same time again, mediaplusplayer will prepare again and received readytoprepare twice time.
demuxer read is triggered again which result read_cb crash.
Solution:
If read is in progress, ignore read again.
Change-Id: Idb29bf71ca40a7bb5a2a41aa6eef3d975657fce2
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Adam Bujalski [Fri, 6 Sep 2024 12:19:54 +0000 (14:19 +0200)]
[GS] Adding mm-audioout as an output for audio in game streaming
This patch adds aplication ability to select multichannel PCM output
(MCH PCM) for all audio played by Chromium. Features:
- Mixer support - it is possible to mix audio from various sources like
WebAudio, HTML5 audio/video element, WebRTC
- Up to 8 channels (7.1) audio support
- Lower latency than default implementation using Tizen AudioI/O API.
To request playing audio using this output application must add
following entry:
```
<tizen:metadata
key="http://samsung.com/tv/metadata/use.multichannel.pcm.output"
value="true"/>
```
To its `config.xml` file.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-315
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I3453b5657d50f1f34f9f2443093ba5d466f31ee8
peng.yin [Wed, 27 Nov 2024 03:41:36 +0000 (11:41 +0800)]
Add privilege check for audio capturer
any app that wants to capture system audio should have the
corresponding privilege, so before opening the corresponding
device we check it by the cynara module.
Change-Id: I45cec311b095ef65a325704c69fb16aab3e8b80b
Signed-off-by: peng.yin <peng8.yin@samsung.com>
hyoputer [Thu, 14 Nov 2024 08:22:40 +0000 (17:22 +0900)]
Fixup! Use the Aura path to |TextInputClient|
This patch fixes the key event issues, inversion of the keyup and
keydown event and duplicated keypress events. You could test them in
[0].
First, move processing the keyUp event from inside processing the
keyDown event where the reversion caused to after the keyDown event to
make them in order.
And, process fake key event of keycode 229 from |IMContextEfl| according
to the web spec [1]. Then we could prevent the duplicated KeyPress
event. And we could match the key event logic with TV WebApps and
the browser.
This patch is based on [2].
[0] https://dvcs.w3.org/hg/d4e/raw-file/tip/key-event-test.html
[1] https://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html
[2]
fd69b69446bce97d8dc100d81276d29d614da3fe
Change-Id: I87c95bdc84d3923a949d3fd9e06dc01ca7f8eeeb
Signed-off-by: hyoputer <hyoputer.kim@samsung.com>
Qiang Ji [Thu, 28 Nov 2024 06:23:11 +0000 (14:23 +0800)]
[VD]Add more logs and prevent code to avoid VizCompositorTh crash
NotifySwapSync is called after view is destroyed, this is abnormal state.
But as function is called by async, so cannot make correct sequence.
Add more logs and state check to trace.
Change-Id: Ic978bed9f8dc5878f3c465e93e6597fc9f961472
Signed-off-by: Qiang Ji <qiang.ji@samsung.com>
zhaosy [Tue, 19 Nov 2024 10:31:45 +0000 (18:31 +0800)]
[WRTjs][VD] Support skip inspector popup
In b2b product, sometimes, developer don't want to show inspector popup
in RWI case, so support skip inspector popup.
How to skip inspector popup:
1) Launch AppInfoViewer(mute + 1 + 2 + 2 + 6 + exit)
2) Select DebugInfo
3) Press UP-UP-DOWN-DOWN-LEFT-RIGHT-LEFT-RIGHT
4) Select On option
Refer to:
https://review.tizen.org/gerrit/#/c/platform/framework/web/wrtjs/+/320894/
Change-Id: I35842b21e1f82498efeec49a812142a28bcd643d
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
(cherry picked from commit
06fe463a486c98c0e2106aa2fccdd93c36ffba14)
Jakub Gajownik [Mon, 18 Nov 2024 20:15:02 +0000 (21:15 +0100)]
[TTVD] Add test for initialization video decoder without facade
In case video decoder cannot create facade for itself, it
should fail initialization with appropriate error.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-625
Change-Id: Ibd5ad9756a7447e768dd5fadeece7c168cb65a28
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Mon, 18 Nov 2024 15:08:58 +0000 (16:08 +0100)]
[M120 Migration] Add option to override test data directory
Ported port of patch:
https://review.tizen.org/gerrit/#/c/292710/
> [M108 Aura Migration][WebRTC] Port remote camera feature
>
> Port of the following patches from Tizen 7.0:
> - https://review.tizen.org/gerrit/275651/
> - https://review.tizen.org/gerrit/282398
>
> Bug: https://cam.sprc.samsung.pl/browse/VDGAME-259
> Change-Id: I70a5c74f343d2f23cc71092849cbbfc37151d48a
> Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Only the part regarding test data directory, as rest
is not used from M120.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-625
Change-Id: I9b79fe45a25dbe15d61a74cf3daa4a649bc88fd3
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Insoon Kim [Thu, 21 Nov 2024 23:45:42 +0000 (08:45 +0900)]
Load libwebauthn library with dlopen
This commit removes the dependency on libwebauthn libray and loads it
with dlopen when the passkey related feature is invoked at runtime.
Change-Id: Ibb48c29b3934b7b30b2918a14eedae0d7f4d4d3f
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
Insoon Kim [Thu, 28 Nov 2024 01:14:51 +0000 (10:14 +0900)]
fixup! [VD] Dispatch KeyEvent irrespective of aura window focus state for registered mode key
fix a build error related to unimplemented pure virtual method for
chromium-browser
Change-Id: I524c580e2c36ceab8d949f08acb7c8448ab19279
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
Sun-woo Nam [Wed, 27 Nov 2024 09:37:36 +0000 (01:37 -0800)]
fixup! "Change the latest tizen version for build."
Change-Id: I9d0b61bfd9fa3f314f5c62ebe97f3e6066629b00
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Jie Zhang [Wed, 27 Nov 2024 19:00:49 +0000 (03:00 +0800)]
fixup! [VD] Dispatch KeyEvent irrespective of aura window focus state for registered mode key
There are issue on the case:
launch TVPlus-->press "smart" key to Home,TVPlus pause--> launch TVPlus on multi view-->press Channel key
After TVPlus resume, there are focus window, but the focus window is not aura window.
It cause the key can not deliver.
Save the aura window when create, deliver the key to the aura window directly.
refer:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/321015/
Change-Id: I860156dded916708b4a931dee21069996976654f
Signed-off-by: Jie Zhang <jie137.zhang@samsung.com>
Chunling Ye [Wed, 27 Nov 2024 09:49:44 +0000 (17:49 +0800)]
[WRTjs][VD] Make default focus view when necessary
If app need set default focus view, set metadata:
"http://samsung.com/tv/metadata/enable.default.focus.view";
value to true.
When app launch DidFinishLoad, set default focus view.
this request is related with the patch:
https://review.tizen.org/gerrit/321069/
Change-Id: I2e0a8721144d307c8bc0dcbf26662b88d820cf9c
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
Jakub Gajownik [Mon, 4 Nov 2024 12:09:24 +0000 (13:09 +0100)]
[TTVD] Skip decoder reinitialization when lowering video configuration
Before this change, when there was configuration change
on video decoder it always checked whether same category
would be used on clean initialization. This is problematic
as video configuration might degrade for short period and
current decoder might still be able to decode it.
After this change, we're checking if currently allocated
decoder might still decode stream with the new configuration
and reselection is done if it's not fulfilled.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-615
Change-Id: I915458d3316bf84c161589d994b9c48959491158
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Adam Bujalski [Mon, 25 Nov 2024 16:47:31 +0000 (17:47 +0100)]
[WebRTC][Camera] Camera preview stop deadlock
`media::Camera::StopPreview` calls `camera_stop_preview` API while
holding `preview_lock`. `camera_stop_preview` joins preview thread.
It is possible that on preview thread preview callback is called which
tries to acquire `preview_lock` leading to deadlock.
This patch changes behaviour and calls `camera_stop_preview` without
`preview_lock` being held.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1942
Change-Id: I96459585af73a1dfe7ad512bc6c3ff9b502bed5c
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Jakub Gajownik [Wed, 20 Nov 2024 11:06:20 +0000 (12:06 +0100)]
Allow batch video decoding using standard pipeline
Ported patches from upstream Chromium:
* Allow batch decoding only when output picture buffers are pre-allocated.
https://chromium-review.googlesource.com/c/chromium/src/+/
5862888
* media: Re-enable Batch decoding in the renderer
https://chromium-review.googlesource.com/c/chromium/src/+/
5892966
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-624
Change-Id: I2045dd3cf9a61b86eae16c3187e898c9dc28d37f
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Piotr Bałut [Wed, 13 Nov 2024 10:53:32 +0000 (11:53 +0100)]
[TTvd] Fix crash in `TTvdVideoDecoderImpl::OnBufferFilled()` if `CreateVideoFrame()` fails
[PROBLEM]
CreateVideoFrame() may fail and return nullptr. This can happen for
example when wrapping native texture is not sucesfull during player
cleanup. Such non-existing frame is used by OnBufferFilled(), leading
to a crash.
[SOLUTION]
Check whether or not frame returned by CreateVideoFrame() exists before
using it.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-621
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Change-Id: I827a8b94a506c91371805c5de31a14a5f9da6bbd
Jakub Gajownik [Tue, 19 Nov 2024 21:17:57 +0000 (22:17 +0100)]
Reset fallback state on decoder reinit earlier
This change fixes rare issue with decoder stream reinitialization:
When decoder emits a frame, decoder stream sets flag to indicated
that no decoder fallback should be done. In case config change is
received and decoder reinitialization is finished before first
decoder buffer, flag is not reset. Then if first decode fails,
fallback is not enabled leading to persistent error on DecoderStream.
Flag reset should be done always when decoder initialization is
finished, no matter result.
Related upstream patch:
> Reset fallback state on decoder reinit
> https://chromium-review.googlesource.com/c/chromium/src/+/601210
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-627
Change-Id: Iff21f35155dce9d9502007060d696eeea4fd518c
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
(cherry picked from commit
3c5f07b2d3cf98c695e04aae2c8f2111869f0521)
Michal Jurkiewicz [Wed, 20 Nov 2024 10:15:28 +0000 (11:15 +0100)]
[WebRTC] Fix overlay video position in Browser
[Problem]
Camera preview and incomming WebRTC streams are renderered
at wrong position in Browser application.
[Cause]
When search bar in Browser is visible, `EWebView::HandleMove` method
is called, which sets offset on `efl_main_layout_`.
It results in setting UI under Browser search bar, but it does not move
wayland surface on which overlay-rendered videos are presented.
[Solution]
Create wayland subsurface, which is moved according to UI movement and
use that surface for overlay-rendered videos.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-626
Change-Id: Ie7a441f7da1242f942b29a2a89a3cc91899ebae7
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Sun-woo Nam [Wed, 27 Nov 2024 07:21:43 +0000 (23:21 -0800)]
Change the latest tizen version for build.
The tizen version is upgraded to 10.0
Change-Id: I0c7de7f419b9d1b0ae51b96bddeff578b6c7c8bc
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Nakyong Hwang [Mon, 25 Nov 2024 06:20:10 +0000 (15:20 +0900)]
Fixup! Add Tizen version guard to prevent build with previous tizen version
-Original patch:https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/317099/
- player_set_video_codec_type API is supported from Tizen 8.0
- MM requested to add this from Tizen 8.0
- Reason to be added : Due to some compatibility issue,
please set the decoder type to be HW for transparent video player in chromium side
Change-Id: I9955e95b5233fe3b294b202610e8a855191177da
Nehal Kumar [Mon, 25 Nov 2024 10:55:13 +0000 (16:25 +0530)]
[NextBrowser] Browser state management and update through BrowserCore
Also removing some extra logs in OmniboxPopupViewViews
Change-Id: Ib1a1eb1f31e9337357ad3c057a287aa6bbf09bb0
Signed-off-by: Nehal Kumar <nehal.kumar@samsung.com>
Jakub Gajownik [Fri, 8 Nov 2024 16:04:13 +0000 (17:04 +0100)]
fixup! [TTVD] Add service for selecting audio preference
Prevent usage before inititalization. It had no influence
on behavior, but it's better to satisfy static checking
if possible.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-610
Change-Id: I480ba680d398c5af86d36c63588d2f19c794bae8
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Piotr Bałut [Fri, 16 Aug 2024 14:18:00 +0000 (16:18 +0200)]
[EMSS] Don't require decryptor for DRM with OMX
When using TTvd Decryptor is not used. Decryptor-related code is removed
from EMSS as TTvd is the only backend for WASM Player on Tizen 9.0.
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Signed-off-by: Krystian Plata <k.plata@samsung.com>
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1487
Change-Id: Ia0928596345893d356f9c78aa36e7d49a8a816a6
Piotr Bałut [Fri, 12 Jul 2024 16:21:18 +0000 (18:21 +0200)]
[EMSS] Set encryption scheme on media track
This commit changes how EMSS handles the encryption scheme metadata.
Previously it was set on each media packet, which meant that it was
only available once a packet was pushed to the source. This is an issue,
because a track config is created much earlier and has to contain valid
encryption scheme metadata.
With the current change, the track itself will contain information
about the encryption scheme and not the packets that are pushed to it.
Change-Id: I355be7c5d9847ab2d8b84380703aa5700282d026
Signed-off-by: Krystian Plata <k.plata@samsung.com>
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1487
Piotr Bałut [Tue, 5 Nov 2024 15:42:00 +0000 (16:42 +0100)]
[EMSS] Return actually selected decoding mode (SW or HW)
[PROBLEM]
When HW with fallback decoding mode is used, querying decoding mode does
not provide reliable results. Furthermore validation is performed on
every packet - improper assumption about currently selected decoder may
lead to refusing to accept correct packets.
[SOLUTION]
* In normal latency mode currently selected decoding mode will be
retrieved when statistics are updated, as they carry decoding mode
info. This is HTMLMediaElement code path.
* In low latency modes an internal EMSS code path to notify about
selected decoder was added, as decoder is managed directly by EMSS in
low latency.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1904
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Change-Id: I3605b3b6195aed67048c796aa1cd76388f6bb439
Piotr Bałut [Tue, 12 Nov 2024 14:19:06 +0000 (15:19 +0100)]
[EMSS] Fix validating video config with capabilities returned by platform
[PROBLEM]
Platform capabilities are stored in two places: one of them checks
hardware capabilities in the context of resolution + fps and
requirement of video texture support. The other one verfies what
TTvd assumes to be supported in the context of video codec profile
and resolution range; the latter was not checked.
[SOLUTION]
Video capabilities are now checked using both sourecs of truth
regarding what platform supports (please note both methods should
probably be merged eventually, however currently this issue is
fixed for WASM Player in EMSS code, as it's the affected component).
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1922
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Change-Id: I3d62dbb6b8bb09eabdd35acdcb9ae9d99bc149dd
Piotr Bałut [Thu, 21 Nov 2024 15:27:50 +0000 (16:27 +0100)]
fixup^2! [M120 Migration][EMSS] Fix play before open in LL when playing with TTvd
Check added in the original fixup was missing `!` and delayed on play
was never properly applied.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1545
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Change-Id: Ied2c31a46b2715242918c081ca2369cda8790755
jiangyuwei [Mon, 25 Nov 2024 11:00:20 +0000 (19:00 +0800)]
fixup! Fix WebBrowser crash issue in exit process
Use a static variable to check whether MessagePumpForUIEfl is alive or not.
Change-Id: I29fdb9213ca23ea2efb4fe0e47a4ab01115d8948
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
Insoon Kim [Mon, 11 Nov 2024 09:50:51 +0000 (01:50 -0800)]
fixup! [M120 Migration] Disable crashpad initialization.
This commit disables the crash reporter and removes
chrome_crashpad_handler executable.
Change-Id: I98d30fdb1269e76711c7727bf285f66e14986640
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
wuxiaoliang [Thu, 21 Nov 2024 06:06:10 +0000 (14:06 +0800)]
[MM] Support 4 videos
1. Mixer mode: 3 mixer + 1 dvde1
2. 4 scalers
Change-Id: I53fc052efee0f385faedb9da38023427f800d574
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
Insoon Kim [Mon, 25 Nov 2024 01:15:53 +0000 (10:15 +0900)]
Remove CSP changes for turnstile frame-src fail
Temporarily remove the CSP change to fix the CSP issue that about:blank
url is blocked by CSP frame-src.
Change-Id: Ifcfcd694ea675574a087c887330adc14e7be2311
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
jiangyuwei [Fri, 22 Nov 2024 14:43:19 +0000 (22:43 +0800)]
Fix WebBrowser crash issue in exit process.
Sometimes, DoDelayedWork() is called after MessagePumpForUIEfl is released.
In such case, |schedule_delayed_work_timer_| may be already deleted. So,
check whether |pipe_| is nullptr or not to avoid crash.
Change-Id: Ia2874e6680011d9c90739763b3bf9ee531ef0e37
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
peng1xiao [Fri, 22 Nov 2024 13:14:17 +0000 (21:14 +0800)]
[M120][WebMedia] Fix AV not sync issue
add seek after prepared, before player start
make sure AV be sync, or there will be only video without audio,
or only audio without video
if Av data sent to espp is not sync
Change-Id: I7f27596718973b25f929dccc2f36532e66f163f1
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
chenshurong [Fri, 22 Nov 2024 19:02:24 +0000 (03:02 +0800)]
Add logs for debug ExecuteJavaScript issue
In some case, app set script as empty by ewk_view_script_execute or
ewk_view_script_execute_all_frames api,
it cause ExecuteJavaScript can not trigger. Add logs for debug.
Change-Id: I4e6bac94630e12b29e7cb5d12708540c6c449023
Signed-off-by: chenshurong <shurong.chen@samsung.com>
chiragmaheshwari [Wed, 20 Nov 2024 12:44:24 +0000 (18:14 +0530)]
Fix for Copilot CloudFlare Turnstile Verification fail
To resolve CloudFlare Turnstile verification fail on Microsoft Copilot -
Reverted patch https://review.tizen.org/gerrit/#/c/255240/
Change-Id: If7809838cc0b0037b8949d0a1e4064adc7e7febb
Signed-off-by: chiragmaheshwari <c.maheshwari@samsung.com>
Nehal Kumar [Fri, 22 Nov 2024 06:40:25 +0000 (12:10 +0530)]
[NextBrowser] Initiating preloading support for browser
When browser is launched with Preloading true argument,
browser will load in background, the browser window will be
shown when another launch request is received
Launch command format -
launch_app org.tizen.next-browser Preloading true
Change-Id: I970d5deb62c741cf1175b101ac2cbb2bc2c480e3
Signed-off-by: Nehal Kumar <nehal.kumar@samsung.com>
dongjj [Thu, 21 Nov 2024 02:57:20 +0000 (10:57 +0800)]
[VD] [RISCV] Use tizen_tv_upstream_multimedia_omx instead for RISC-V when Tizen 9.0
For RISC-V,tizen_tv_upstream_multimedia_omx_ppi(mm-omxi) is not ready/suppored for RISC-V.
So use tizen_tv_upstream_multimedia_omx(libomxil-e4x12-v4l2) for RISC-V now.
Change-Id: Ief4a37591396c969a9110deb0193a7b5c1d879c6
Signed-off-by: dongjj <j8906.dong@samsung.com>
Nakyong Hwang [Thu, 21 Nov 2024 07:44:19 +0000 (16:44 +0900)]
Fixup! Add feature of transparent video for LFD
Change-Id: If9cf63ca7161f4884d4cb94718382f390239ce1c
yangzhiwen [Thu, 21 Nov 2024 05:45:53 +0000 (13:45 +0800)]
[MM] fix double seek issue.
when the same time seek come, it will effect the last seek.
because when the last seek begin to push the data, if the next same seek
come will execute Flush which will set the shouldfeed to false.
so that the last seek cannot complete.
so now we should skip the same time seek.
Change-Id: I53a999a27798da20c877e889fa5d4617a536860a
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
Mark Toller [Thu, 21 Nov 2024 11:04:51 +0000 (11:04 +0000)]
Bail out from waiting if the player is released.
Change-Id: I5f8815fb9f816ed4653d3e4d70fb27afb61f99c9
dhawal.badi [Tue, 19 Nov 2024 10:08:56 +0000 (15:38 +0530)]
[NextBrowser] Added option for PWAs in app menu
Change-Id: Id609490592cee9b5d77541b1da39e1a4d337b941
jiangyuwei [Thu, 21 Nov 2024 14:08:27 +0000 (22:08 +0800)]
Request for data migration script & TC creation for OSU
Backup vconfs used by chromium-efl.
Refer:
- http://10.40.78.157/reviews/
12164217
Change-Id: I1e1e84fb6057e0fe9079d8e341e17348cc2f54e9
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
hongyanting [Mon, 18 Nov 2024 10:21:16 +0000 (18:21 +0800)]
fixup! tizen audio capturer for browser
enable tizen system audio capturer to support getDisplayMedia
|DISPLAY_AUDIO_CAPTURE| case
Change-Id: I81a5fceeeb1e9672b58013a12c3e51d78adf40cf
Signed-off-by: hongyanting <yanting.hong@samsung.com>