Michal Jurkiewicz [Wed, 5 Feb 2025 07:20:47 +0000 (08:20 +0100)]
[WebRTC][GameStreaming] Solve issue with no audio after application exit
[Problem]
No audio in TVPlus after GameStreaming session was ended.
[Cause]
StreamAudioPlayerImpl does not close ESPlusPlayer instance.
It is caused by the fact, that StreamAudioPlayerImpl has not been
properly notified about application end.
As a result, audio volume is not returned to default value (100).
[Solution]
Notify `StreamPlayer[Audio|Video]Impl` classes about
RenderWidgetHost destruction by changing their visibility to false.
It will suspend these classes, which will result in closing
ESPlusPlayer instances associated with them, which will restore audio
volume to default value (100).
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-2225
Change-Id: I5d1ef8a45ea82fe069be5d9f77cfe39dfe2d7a1b
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Hrithik Mohan [Thu, 12 Sep 2024 12:42:06 +0000 (18:12 +0530)]
[DA] Enable Passkey for M94
Enable webauthentication/passkey for M94
Ref:
1. https://review.tizen.org/gerrit/#/c/313060/
2. https://review.tizen.org/gerrit/#/c/314179/
3. https://review.tizen.org/gerrit/#/c/314684/
4. https://review.tizen.org/gerrit/#/c/314814/
5. https://review.tizen.org/gerrit/#/c/314766/
Change-Id: Iea1b9e8506ca70906af5aa5057c2db2bfe462069
Signed-off-by: Hrithik Mohan <h.puchakayal@samsung.com>
Jinwoo Kwon [Fri, 5 Apr 2024 04:16:13 +0000 (04:16 +0000)]
[VD] Set hard limit for external memory increment
In M94, garbage collection for ArrayBuffer's backing
store is not frequently called enough on media playback
scenario. This results in PSS memory hitting the
limit of our product.
This is due to the V8's logic, which dynamically increases
and decreases the limit of external memory.
When the external memory limit is increased too much,
then V8 will not trigger a GC that clears external memory,
resulting this issue.
This patch sets a 300MB hard limit for external memory limit so
that invoking external memory GC is guaranteed.
Change-Id: Ief1555741b54b5a33937f7438cde64f06d5c8294
Signed-off-by: Jinwoo Kwon <j83.kwon@samsung.com>
Sun-woo Nam [Mon, 20 May 2024 00:16:36 +0000 (17:16 -0700)]
[BUILD] Fix the issue that standard build doesn't work.
The address of repository was changed.
Change-Id: Ic759e85e2f2c93acb4e207d84df1f2897ea9b353
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
YongGeol Jung [Thu, 1 Feb 2024 07:13:01 +0000 (23:13 -0800)]
Fix main thread block issue after manual rotation.
Currently, when rotating on a static page, there is a problem that the screen
stops for about 10 seconds from the second rotation. It seems that the main
thread is blocked during the dequeue process when a screen lock occurs while
performing manual rotation again on a previously used buffer.
We can avoid this problem by forcibly refreshing the screen once more after
manual rotation is complete.
Change-Id: I396f05109d641ab49d41862f729c30d7262553a8
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
Adam Bujalski [Tue, 18 Apr 2023 18:21:45 +0000 (20:21 +0200)]
fixup! [M94 Migration][WASM] Tizen Sockets API for WebAssembly
Removing TizenSocketService as it is not used anywhere
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1102
Change-Id: I2729711b96e271ad329185756907ba8b5cd1134a
zhaosy [Mon, 22 Jan 2024 06:58:54 +0000 (14:58 +0800)]
[WRTjs][VD] Fix portrait mode, ConnecTime app is flickering issue
Issue:
In portrait mode, when app is launched, window size is 1920*1080.
When app is showing, "wm,rotation,changed" callback is received,
resize it to 1080*1920, so app is flickering.
Solution:
When app is initializing, resize app to 1080*1920.
Change-Id: Ia43e73293da0b39a7a90445f3f6ffe6aa6eacf46
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
wuxiaoliang [Tue, 16 Jan 2024 05:56:18 +0000 (13:56 +0800)]
Fixup! [MM] Add new api for webbrowser to set default audio input device
add NULL or empty string check
Change-Id: I26f5a6b965d5f74d4e5eb594e5cbe2b77e6e71cb
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
DongHyun Song [Thu, 11 Jan 2024 11:45:36 +0000 (20:45 +0900)]
[WRTjs][VD] Set focus ewk_view when splash screen is gone
With SSS case, If ewk_view has focus before window visible, when the
window comes visible, ewk_view has unfocused due to splash screen
Evas_Object.
Even though web contens is visible after splash screen closed, it doesn't
get focus.
So this patch gives the focus explicitly again when splash screen is gone.
Change-Id: Ida8081ad5d25a00446840246ed9b33e5835ab095
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
liuxd [Fri, 15 Dec 2023 05:52:20 +0000 (13:52 +0800)]
[M94 Migration] Support usb keyboard special keys "~!@#$%^&*()_+`-={}|[]\:";'<>?,./"
Some website("office 365") need use the keycode to distinguish the keys.
But now the specail keys haven't added on the map, the keycode is 0,
website can not distinguish the specail keys,
cause the keys which after these specail keys been lost when change line.
Add the usb keyboard keys "~!@#$%^&*()_+`-={}|[]\:";'<>?,./" on the
windows_key_codeFromEflKey map.
Also covert " " to "space" key for avoid page scroll.
Ref: https://review.tizen.org/gerrit/c/301405
Change-Id: I08c8e6a8f95926a674251d074b169b5cbffcd43d
Signed-off-by: liuxd <xd123.liu@samsung.com>
Michal Jurkiewicz [Thu, 14 Dec 2023 09:51:47 +0000 (10:51 +0100)]
[GS][WebRTC] Fix ESPlusPlayer crash when application is being suspended
[Problem]
Assertion failed on ESPlusPlayer internal thread.
[Cause]
`nullptr` was provided to `esplusplayer_set_display` method as `window`
parameter. It seems that ESPlusPlayer is not validating input parameters,
which resulted in crash.
`nullptr` was received from `media::MediaPlayerEfl::main_window_handle()`
method, due to Suspend operation being performed on main browser thread.
`WRTNativeWindow` class was destroyed, which resulted in calling
`media::MediaPlayerEfl::SetSharedVideoWindowHandle` with `nullptr`.
[Solution]
1) Ensure that `RenderWidgetHostVisibilityChanged` will always be propagated to
`AudioManager` and `VideoManager`, to ensure creation of Players
with proper state (kUninitialized or kSuspended).
2) Validate `main_window_handle()` returned from `media::MediaPlayerEfl` before
passing it to ESPlusPlayer - in case of invalid parameter, fail `PrepareStep`.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1407
Change-Id: I42878e480aa3731ed0fa048ccc288dc55fc5487d
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
zhaosy [Wed, 8 Nov 2023 00:53:30 +0000 (08:53 +0800)]
[WRTjs][VD] Fix some select picker issues in Flip4.0
Fix some select picker issues in Flip4.0:
1.Select picker position is not correct in Potrait mode:
Use view position instead of window position, because window position
always is (0, 0).
2.Select picker font size issue
3.Hide Select picker if tv is rotated, otherwise select picker position
maybe is not correct after rotation.
Refer to:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/256208/
Change-Id: I010cf5abe0a9a061617332648739f2a8bee74fbd
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
DongHyun Song [Tue, 8 Mar 2022 05:09:39 +0000 (14:09 +0900)]
[WRTjs][VD] Fix height issue with enterprise product
In enterprise product, when the webapp returns landscape from PIG back
the window height becomes 1332px.
This solution is guided by EFL team that it adds a resizable rectangle
and resize it at rotationing.
reland from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/272082/
Change-Id: Icd84d7c80c24cf7d87a2e385c03908a7c8a57cd5
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Michal Jurkiewicz [Mon, 25 Sep 2023 09:14:16 +0000 (11:14 +0200)]
fixup! [WebRTC] Remove RTCVideoDecoderEfl class
Solve clang warning
```
Non-void function does not return a value in all control pathsclang(-Wreturn-type)
```
by returning `nullptr` from `RTCVideoDecoderFactory::CreateVideoDecoder`
when no decoder was selected for creation
Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1214
Change-Id: Icfd4ea6508ac6c035cd437d87040d110928437eb
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
fang fengrong [Thu, 21 Sep 2023 03:18:32 +0000 (11:18 +0800)]
[VD] Fix crash issues.
check ewk_value before return get operation,
to avoid eina sigbus abort triggered by null pointers
Change-Id: I017db65dd33d311de44d98b73081f2a49bc3d270
Signed-off-by: fang fengrong <fr.fang@samsung.com>
Robert Bycul [Tue, 12 Sep 2023 12:45:03 +0000 (14:45 +0200)]
[WebRTC] Fix rtc_unittests build failure
Change-Id: I0d733da763082f696b1f82b885281a7c03c015f4
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-164
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
uzair [Tue, 12 Sep 2023 07:22:00 +0000 (12:52 +0530)]
fixup! [M94 Migration][ROM] Disable few modules from third_party
Enable BroadcastChannel module as its needed for fixing[1] when
https://www.spotvnow.co.kr is launched.
[1] "BroadcastChannel is not defined"
Change-Id: I3b0ddf4d0e1284dccc201c58857810df57b9bc24
Signed-off-by: uzair <uzair.jaleel@samsung.com>
xliang.wu [Thu, 20 Jul 2023 07:24:21 +0000 (03:24 -0400)]
Fixup! [MM] Notify media device state change to webbrowser
StartMonitoring will listen audio device connected state change,
and it will launch utility process.
MediaDevicesManager is created very early(in browser main loop).
If call StartMonitoring in MediaDevicesManager constructor, utility process
will be launched very early, actually it maybe unwanted,such as blankpage.
Now put StartMonitoring after app called ewk_view_media_device_list_get,
it means only launch utility proces when app use device function.
Change-Id: I9100989392d6d9c73175104cfb4b8993425b2595
Signed-off-by: xliang.wu <xliang.wu@samsung.com>
Adam Bujalski [Tue, 11 Apr 2023 11:35:37 +0000 (13:35 +0200)]
[WebRTC] Using `-O3` optimizations for the WebRTC and libsrtp
WebRTC has complex logic related to RTP packet demuxing and error
correction processing (FEC). To allow playback of high bitrate and
high frame rate contents where each video frame is composed from
more than 100 packets maximal optimization allowed by compiler are
required.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-249
Change-Id: I0d66ff5c7b57b2b0af7fb67a573d91753fc48812
Adam Bujalski [Tue, 23 May 2023 14:10:10 +0000 (16:10 +0200)]
[WebRTC] Reduce clock_gettime calls
Profiling revealed that processing received RTP stream by WebRTC library
involves hefty amount of `clock_gettime` syscall. Mostly these calls are
used to mark receive time of RTP packet. This patch avoids repeated
calls to get current time by extending `RtpPacketReceived` class,
storing packet receive time there and using this one instead of making
syscall.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-249
Change-Id: I15eb70e9653797e23d2824842225106b049ea37c
Adam Bujalski [Thu, 27 Apr 2023 12:14:52 +0000 (14:14 +0200)]
[WebRTC] Removing `CopyAndFixBitstream` separate calls for H264 & H265
Currently WebRTC pipeline copies H264 & H265 bitstream and inserts
needed start codes and codec parameters (SPS, PPS and VPS). This copy is
redundant, so this patch fixes stream on the fly during video frame
assembling.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-249
Change-Id: Ibd4fcbda49d95534c5b282cd2578ebed68f5b2c1
Adam Bujalski [Wed, 31 May 2023 12:07:20 +0000 (14:07 +0200)]
[WebRTC] Removing `RtpPacketInfo` map from video receivers
`RtpVideoStreamReceiver` and `RtpVideoStreamReceiver2` classes uses map
of `RtpPacketInfo` to track information of parsed packet. This patch
moves such association directly to the `PacketBuffer::Packet` class.
Such association removes map lookups which on high bitrate contents are
time consuming.
Bug: Bug: https://cam.sprc.samsung.pl/browse/VDGAME-249
Change-Id: I96272c3b1337d383546941897e4a13a9c96c4b0b
Jakub Gajownik [Fri, 18 Aug 2023 14:21:08 +0000 (16:21 +0200)]
[WASM] Fix CompileJsToWasmWrappers during shutdown
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-334
Change-Id: I9a3899ac5279928f94f59029622535680c34a54d
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Suhaspoornachandra [Mon, 21 Aug 2023 09:50:38 +0000 (15:20 +0530)]
Add Device Scale Factor to display info
Device Scale Factor was omitted from display bounds dimension, due to a
change in function call to gfx library. This fixes the DPI issue which
showed incorrect width and height.
Change-Id: I5cf8f024d6399959f0480e421de82fbe1608500e
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
zhaosy [Mon, 31 Jul 2023 07:49:25 +0000 (15:49 +0800)]
[WRTjs] Fix display and video rotation is not the same time issue
Display and video both have it's own rotation, this two
rotation change info is not come in the same time.
So sometimes, webapp and video is separated for a moment.
Change-Id: I74f8841c5ba3168dba55ee60c0f585b7c4780683
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
Adam Bujalski [Wed, 21 Jun 2023 08:28:45 +0000 (10:28 +0200)]
[WebRTC] Adding WebRTC video_engine unit tests
[==========] 1054 tests from 77 test suites ran. (972211 ms total)
[ PASSED ] 1034 tests.
[ FAILED ] 20 tests, listed below:
[ FAILED ] MultiCodecReceiveTest.SingleStreamReceivesVp8H264
[ FAILED ] MultiCodecReceiveTest.SingleStreamReceivesVp8Vp9H264
[ FAILED ] MultiCodecReceiveTest.SingleStreamReceivesVp8Vp9H264WithTl
[ FAILED ] QualityScalingTest.AdaptsDownButNotUpWithBalancedIfBitrateNotEnough
[ FAILED ] VideoStreamEncoderTest.ReportsVideoLayersAllocationForVP8Simulcast
[ FAILED ] VideoStreamEncoderTest.ReportsVideoLayersAllocationForVP8WithMiddleLayerDisabled
[ FAILED ] VideoStreamEncoderTest.ReportsVideoLayersAllocationForVP8WithMiddleAndHighestLayerDisabled
[ FAILED ] VideoStreamEncoderTest.ReportsVideoLayersAllocationForV9SvcWithTemporalLayerSupport
[ FAILED ] VideoStreamEncoderTest.ReportsVideoLayersAllocationForV9SvcWithoutTemporalLayerSupport
[ FAILED ] VideoStreamEncoderTest.ReportsVideoLayersAllocationForVP9KSvcWithTemporalLayerSupport
[ FAILED ] VideoStreamEncoderTest.ReportsVideoLayersAllocationForV9SvcWithLowestLayerDisabled
[ FAILED ] VideoStreamEncoderTest.ReportsVideoLayersAllocationForV9SvcWithHighestLayerDisabled
[ FAILED ] VideoStreamEncoderTest.ReportsVideoLayersAllocationForV9SvcWithAllButHighestLayerDisabled
[ FAILED ] VideoStreamEncoderTest.ReportsVideoLayersAllocationForH264
[ FAILED ] VideoStreamEncoderTest.ReportsUpdatedVideoLayersAllocationWhenBweChanges
[ FAILED ] VideoStreamEncoderTest.ReportsUpdatedVideoLayersAllocationWhenResolutionChanges
[ FAILED ] VideoStreamEncoderTest.DoesNotUpdateBitrateAllocationWhenSuspended
[ FAILED ] All/VideoStreamEncoderWithRealEncoderTest.EncoderMapsNativeI420/AV1_AllowToI420, where GetParam() = (3, true)
[ FAILED ] All/VideoStreamEncoderWithRealEncoderTest.EncoderMapsNativeNV12/AV1_AllowToI420, where GetParam() = (3, true)
[ FAILED ] All/VideoStreamEncoderWithRealEncoderTest.HandlesLayerToggling/AV1_AllowToI420, where GetParam() = (3, true)
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-249
Change-Id: I6dae9b81f1c3fd044b1700d0e2b1cdc32c83b4e5
Kajetan Brzuszczak [Thu, 6 Jul 2023 10:54:11 +0000 (12:54 +0200)]
[WebRTC] Incorrect order of WebRtcApiVersion
Adjust an order of WebRtcApiVersion. The order of the SHAs does not
match a required pattern:
[webrtc]/[webrtc_third_party]/[webrtc_tizen]
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-165
Signed-off-by: Kajetan Brzuszczak <k.brzuszczak@partner.samsung.com>
Change-Id: Ie8f598670344d404f5bed7bff1a3a9b404dcc6f8
Michal Jurkiewicz [Tue, 25 Jul 2023 17:44:00 +0000 (19:44 +0200)]
[EMSS][VT] Solve crash during EMSS VT application exit
[Problem]
Crash during exiting WASM application containing multiple EMSS Video Texture
modules.
[Cause]
Crash during calling `VideoFrame::ReleaseTbm` method due to already destroyed
GLES2Implementation.
[Solution]
Check if GL context is alive during `VideoFrame::ReleaseTbm` call.
If not, do not perform any GL operation on already deleted context.
Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1266
Change-Id: Ic4ecb8c047198d2d14b265e156aad254574bf780
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
feifei08.liu [Thu, 20 Jul 2023 00:51:02 +0000 (08:51 +0800)]
[PDNCF]: SelectPicker can not show
Because elm_object_parent_widget_get return null.
Can not call elm_object_parent_widget_get when evas without parent.
Change-Id: Ia0e07c0a029a145ca30a9c5a9974ad5824be1f1e
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
Adam Bujalski [Wed, 26 Apr 2023 10:31:31 +0000 (12:31 +0200)]
[WebRTC] No double RTP packet demuxing
`RtpStreamReceiverController` uses `RtpDemuxer` class to simply map
packet to its sink using just SSRC. This causes that demuxing logic is
run for the second time.
This patch replaced `RtpDemuxer` with a `flat_map`.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-249
Change-Id: Ie2ed3f95212a4d5386f06d4616ee1f8e66baf0ed
zhishun.zhou [Wed, 28 Jun 2023 12:47:42 +0000 (20:47 +0800)]
Support insertable stream with TBM
1. When insertable pipeline start, enable TBM callback
2. Support copyTo of VideoFrame in TBM case
3. Support CanvasRenderingContext2D.drawImage() with TBM
Refer to:
https://review.tizen.org/gerrit/#/c/293079/
Change-Id: Ia8d9faf8d5e90603175f7d1edc2a3a582909d87c
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
YongGeol Jung [Wed, 19 Jul 2023 08:47:29 +0000 (01:47 -0700)]
[NUI] Fix blinking issue after resizing.
Blinking issue was observed after resizing becasue newly created surface was not
finished compositing before delivering buffer to NUI App. Changed to ensure
completion of compositing by calling |glFinish|. And call |glClear| to fill
resized area using the background color.
Change-Id: I478aff1e1fc3850ac7c1bcbe91c76c9e8cb3b57f
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
Adam Bujalski [Thu, 25 May 2023 13:45:05 +0000 (15:45 +0200)]
[WebRTC] No default rtc::COW allocation in RtpPacketReceived
When parsing RTP contents `RtpPacketReceived` is created with
rtc::CopyOnWriteBuffer with default size. Such allocation is redundant
because in this scenario soon after creation `RtpPacket::Parse()`
method is called which uses data from provided buffer.
This patch adds ctor which avoids creation of such redundant buffer.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-249
Change-Id: I2d3de6f0e5f0b01799ba5525a84457f4f7733cfa
Adam Bujalski [Tue, 23 May 2023 13:06:26 +0000 (15:06 +0200)]
[WebRTC] NullSocketServer for WebRTC_Worker thread
WebRTC_Worker thread doesn't perform any I/O on sockets, so use
`NullSocketServer` instead of `PhysicalSocketServer`.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-249
Change-Id: I66f70fde2df348e8cd752f51a85e2a8636d3a4ab
Adam Bujalski [Tue, 13 Jun 2023 12:26:02 +0000 (14:26 +0200)]
[WebRTC] Adding WebRTC call unit tests
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-249
Change-Id: Ia1832f191d432b6fbd63570b091b2cc5ef0e1fb8
Michal Jurkiewicz [Fri, 14 Jul 2023 07:51:08 +0000 (09:51 +0200)]
fixup! [WebRTC] Make VideoCalls work in multiprocess architecture
Use RAII to automatically decrease reference count of `tbm_bo` after
exporting fd to it.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-291
Change-Id: Ia55e61a9d2723e4ebc6888e4f7e8e3daf38328fc
shurong.chen [Fri, 7 Jul 2023 08:35:39 +0000 (16:35 +0800)]
[VD] Support "QuickSetting" key for e-manual app
Support "QuickSetting" key:
"QuickSetting": {
keyName: "XF86KeyQuickSetting",
keyCode: 10598
}
Change-Id: I91b9871c0c0d3454e9d4ddfa12866402df0a0c27
Signed-off-by: shurong.chen <shurong.chen@samsung.com>
Chunling Ye [Mon, 3 Jul 2023 09:00:50 +0000 (17:00 +0800)]
[WRTjs][Service] Reset IPC more safely when wrt-service terminate
Reset IPC after all service apps exit.
Change-Id: I68f97bf4dd9a0d08fc7be54841630023b659df9e
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
Michal Jurkiewicz [Tue, 20 Jun 2023 18:13:43 +0000 (20:13 +0200)]
[WebRTC][HW Encoder] Virtual destructors
Mark destructors of TizenVideoEncoder base abstract classes as virtual
to ensure proper destruction when TizenVideoEncoder class is being held
by pointer to one of its base classes.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-258
Change-Id: Ide979476ade6c5228debea1c954f2ea7de778e7f
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Kajetan Brzuszczak [Thu, 27 Apr 2023 14:55:30 +0000 (16:55 +0200)]
VDGAME-166 Add WebRTC to wasm_api_versioning widget
Add WebRTC version information visibility
Remove a redundant `api level` number in a `api version`
information.
Change-Id: I9ee9621955e0da00bf61930aa0237217067e5b03
Signed-off-by: Kajetan Brzuszczak <k.brzuszczak@partner.samsung.com>
Michal Jurkiewicz [Tue, 13 Jun 2023 09:44:30 +0000 (11:44 +0200)]
[WebRTC] Make VideoCalls work in multiprocess architecture
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-291
Change-Id: Ibe67b6da66cb05e57e2ad977ac586abb84007969
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
zhishun.zhou [Tue, 13 Jun 2023 05:35:50 +0000 (13:35 +0800)]
fixup! [MM] Implement ImageCapture class for video hole mode
Fix build error in tizen 5.5
Change-Id: I8df312b96349517b2a2ab3efc3fb2c8594cad53e
Jinwoo Kwon [Thu, 1 Jun 2023 07:22:44 +0000 (16:22 +0900)]
[WRTjs] Limit frame rate to 60
For some apps (XRGame, ConnecTime), using BackToBackBeginFrameSource
may result to a storm of BeginFrames call.
To prevent this, we allow the app to limit the frame rate so that
it can use DelayBasedBeginFrameSource, which will not cause this
issue.
metadata example:
<tizen:metadata key="http://samsung.com/tv/metadata/max.refresh.rate"
value="60"/>
value restriction: 1~60
Change-Id: Iae5fdd58d8fc9643021d80994ed70692225b5da2
Signed-off-by: Jinwoo Kwon <j83.kwon@samsung.com>
zhaosy [Mon, 12 Jun 2023 04:39:20 +0000 (12:39 +0800)]
[WRTjs][VD]Dim minimized button for non-multitasking app
For non-multitasking app, minimized button should be dimmed
Change-Id: I8832baa75cd84c490e429d0d4119fd5faba76988
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
zhishun.zhou [Fri, 9 Jun 2023 07:07:56 +0000 (15:07 +0800)]
[MM] Implement ImageCapture class for video hole mode
Support imageCapture.grabFrame web API on TBM video frame case.
From patch:
https://review.tizen.org/gerrit/#/c/269436/
Change-Id: I199d98f3c1a19bfe0e873b0b04a816a0191bcd7e
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
Jihwan Kim [Thu, 29 Dec 2022 04:51:09 +0000 (13:51 +0900)]
[M94 Migration][DA] Use SW codec for audio element.
Some webpage requests player from landing page.
for example, youtube request 4 players on main page.
because of this, youtube video cannot request HW codec in any way.
to prevent this, assign SW codec for audio element event if it is the
first player.
Ref: https://github.sec.samsung.net/Tizen-DA/chromium-efl/pull/223
Change-Id: I3f37f9441a3d86965120a7f3747fc199891c14b3
Signed-off-by: Aditya Jha <aditya.jha@samsung.com>
K.Y. Lee [Mon, 9 Nov 2020 04:49:24 +0000 (13:49 +0900)]
[M94 Migration][DA][MM] Enable Multi-Instance.
From this patch, we will manage player code.
player requests codec type before prepare.
If HW codec is not being used in that time, HW codec will be assigned.
If HW codec is being used in that time, SW codec will be assigned.
(HW codec priority is higher that SW codec.)
Player returns codec type after unprepare.
Ref: https://review.tizen.org/gerrit/c/247510
Change-Id: Iace2eace6d19371d66e368083e8e1e318193a8c9
Signed-off-by: K.Y. Lee <k-y.lee@samsung.com>
xliang.wu [Mon, 16 May 2022 08:36:05 +0000 (04:36 -0400)]
[WEBRTC] Fix messenger app preview fail issue
There are many RenderFrameImpl show and hidden.
(RenderFrameImpl count is not definitely and show/hidden sequence is not definitely)
different RenderFrameImpl use the same WebVideoCaptureImplManager.
when RenderFrameImpl::WasHidden/WasShown was called, it trigger WebVideoCaptureImplManager::SuspendDevices.
the init value of is_suspending_all_ = false.
before device connect, some RenderFrameImpl WasHidden was called.
when device connect and video element created,is_suspending_all_ = true and don't trigger startpreview.
So we should keep the initial state if video element not created and device not connected yet.
Change-Id: I96e85a96ef27d9c4985372bad737f10c26169208
Signed-off-by: xliang.wu <xliang.wu@samsung.com>
K.Y. Lee [Wed, 8 Apr 2020 06:56:54 +0000 (15:56 +0900)]
[M94 Migration][DA] Inject seek after changing playback rate.
Ref: https://review.tizen.org/gerrit/#/c/230143/
Change-Id: I7f5fed5a099d278dd6dcadf70718c3cc90f568b6
Signed-off-by: Hrithik Mohan <h.puchakayal@samsung.com>
Aditya Jha [Wed, 7 Jun 2023 10:23:11 +0000 (15:53 +0530)]
fixup! [M94 Migration][DA][Rendering] Webgl contents black screen issue.
Ref: https://review.tizen.org/gerrit/293312
Change-Id: If03fc1312760d65c9866550ebe2ba72f6fd5b443
Signed-off-by: Aditya Jha <aditya.jha@samsung.com>
Aditya Jha [Tue, 23 May 2023 20:56:25 +0000 (02:26 +0530)]
[M94 Migration][DA][Rendering] Fix webgl contents black screen issue.
In the case of heavy webgl contents, screen compositing is accomplished
before webgl scene is finished. Call |glFinish| to ensure webgl
contents is complete.
Ref: https://review.tizen.org/gerrit/c/251751
Change-Id: I1706314ea2dcc88ec74cc1382975b2620344016c
Signed-off-by: Aditya Jha <aditya.jha@samsung.com>
Michal Jurkiewicz [Thu, 25 May 2023 13:03:20 +0000 (15:03 +0200)]
[WebRTC] H264 Encoder from UserData
* Enable encoding H264 codec using HW Encoder in 'UserData' mode.
* Remove 'Subscaler' encoding mode as it is not used anymore.
* Clean remaining code.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-275
Change-Id: I1b129dd0b50dc8412ceb86abd1878396c4740a69
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Gajendra N [Fri, 9 Sep 2022 02:59:10 +0000 (08:29 +0530)]
[M94 Migration][DA][a11y] Dont include 'aria-hidden'elements to AX Tree
Blink currently add elements with 'aria-hidden=true' property to AX Tree
but its not necessary as it does not serve any purpose.
DA team is expecting that those elements are neither supposed to be
focused nor read. It also improves performance of screen reader by
reducing number of nodes in at_spi2 dump tree and queries from the
platform atk module. Hence, this patch exclude those nodes from
Blink AX Tree.
Ref: https://review.tizen.org/gerrit/#/c/281074/
Change-Id: I336c782e52ea9ee21a2db1108e03b46edf8ba4d0
Signed-off-by: Hrithik Mohan <h.puchakayal@samsung.com>
Gajendra N [Mon, 22 Aug 2022 10:43:50 +0000 (16:13 +0530)]
[M94 Migration][DA][a11y]Make elements with plain text readable
Currently plain text elements like <p>, <h1> etc. were not HIGHLIGHTABLE.
There is a requirement from DA team to make those elements highlightable
and readable. Also, if there is div element (considered as section) with
some text, then make it readable too.
Ref : https://review.tizen.org/gerrit/#/c/280031/
Change-Id: I292e1038e87a5163bb95f3289bd6301f5de3d534
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
suyambu.rm [Mon, 11 Sep 2017 13:18:29 +0000 (18:48 +0530)]
[M94 Migration]Validate the playback buffer before tile/video rasterization.
The memory acquired from shared memory buffer, is used for creating
sksurface/skcanvas for tile/video rasterization. Some times the bitmap
pixels (staging buffer) which is backing skcanvas looks corrupted,
causing crashes while writing content to the bitmap. Also it applies
minimum canvas2d accleration size same as TV.
Ref: https://review.tizen.org/gerrit/c/255193
Change-Id: Ib016e22a9436081e44e53228271e6dbd5e1e2b89
Signed-off-by: suyambu.rm <suyambu.rm@samsung.com>
Jakub Gajownik [Thu, 25 May 2023 14:07:29 +0000 (16:07 +0200)]
Don't send DidNotProduceFrame message
[Issue]
Memory increase when MediaStream video track is being rendered
[Cause]
When draw is throttled in cc::scheduler, scheduler is somehow
looped in triggering new deadlines for frame until CompositorFrameAck
is received. But, as there are multiple DidNotProduceFrame messages
also send, they might delay submission of compositor frame.
If so, CompositorFrameAck is also delayed which in return
just increases number of DidNotProduceFrame messages.
Main thread is not capable of processing them all. That's
the cause of memory increase - messages buffering. When video
rendering is suspended and buffered messages are processed,
memory returns to its normal value.
[Solution]
As we have custom implementation of CompositorFrameSink with
DidNotProduceFrame handler that is doing nothing, we can skip
posting mojo IPC message from renderer to browser.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-279
Change-Id: I39f9fc1201240705a3fe4eafc9488ca75f0343d3
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Tue, 9 May 2023 09:13:25 +0000 (11:13 +0200)]
[WebRTC] Optimize shared memory creation for video capture
Before this CL, every time when encoded buffer from
video capture is send to browser process, new shared memory
was created. As there's already shared memory in video capture
buffer pool from which we receive buffer, there is no need
to allocate new buffer and copy data to it.
We'll benefit from eliminating shared memory creation and
data coping to newly created buffer.
To properly release buffer to pool new IPC message is added -
BufferConsumed. It is called as soon as data is consumed
(pushed to platform player) and this data is no longer needed.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-279
Change-Id: I2fbbd38332b4cd3bf30ddfb7003727bd7c2b9879
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Sujae Jo [Tue, 9 May 2023 07:33:19 +0000 (16:33 +0900)]
ecore_evas_rotation_get() is removed
because it is wrong return value.
If webapp uses below metadata, it shows as portrait app.
<tizen:metadata key="http://samsung.com/tv/metadata/screen/orientation"
value="portrait"/>
This webapp get screen.orientation property in onload(),
screen.orientation.with and height is 1920x1080.
Correct width and height is 1080x1920 becuase it is portrait webapp.
The sequence is below.
1. WRT create window - set rotation related calls to window.
2. WRT call SetOrientation to WebContentsViewEfl
->set orientation to 270
3. WebContentsViewEfl::CreateViewForWidget() is called.
-> set orientation to 0 because ecore_evas_rotation_get() returns 0
Return value of ecore_evas_rotation_get() is not correct.
WRT always call SetOrientation(), so we donot have to get the
orientation value with ecore_evas_rotation_get() in
CreateViewForWidget()
Change-Id: I7a4e5f1f8314ef349e56813a275a0db738ae380b
Signed-off-by: Sujae Jo <sujae33.jo@samsung.com>
Chunling Ye [Fri, 12 May 2023 03:49:43 +0000 (11:49 +0800)]
[WRTjs][VD]add protection for user_data_path_
In some case, app data path didn't exist in first time launch,save the
cache data to "/home/owner/apps_rw/xwalk-service/appid/data",but may
in second time launch, app data path exist, in this case will directly
use app data path, but the before cache data which is save in
"/home/owner/apps_rw/xwalk-service/appid/data",this is the issue.
So add the protection to fix it.
Change-Id: I5f7ad7285bbb4294c17c711f0532970eb99d1cc0
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
xliang.wu [Fri, 12 May 2023 01:40:02 +0000 (21:40 -0400)]
[VD][MM] Only limit hbbtv dash video when it use sub decoder
Change-Id: I3dcde1e1f0f1a666a01c80f5a01ca3213507c75c
Signed-off-by: xliang.wu <xliang.wu@samsung.com>
hyeongo [Wed, 26 Apr 2023 01:40:58 +0000 (10:40 +0900)]
[VD] enable AIFW for licensed TV
enable AIFW only for TV profile
Change-Id: Id521675d90f5ab6a5e7752d19c87a34909944e0e
Signed-off-by: hyeongo <hyeongo.kim@samsung.com>
zhaosy [Mon, 8 May 2023 08:31:58 +0000 (16:31 +0800)]
[WRTjs][VD] Add GetScreenOrientation / ScreenOrientation API of widget
TV window app need to GetScreenOrientation / ScreenOrientation API,
so add these apis.
Note:
1.In portrait mode, launch app, elm_win_rotation_get return 0,
so use ecore_evas_rotation_get to get ScreenOrientation
2.If not resize window and view in SetScreenOrientation,
app layout is strange
Change-Id: Id71d35dd50c67dee1f04750cc665e8082ac60d18
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
xiafeng [Sat, 13 May 2023 07:15:30 +0000 (15:15 +0800)]
[VD] Add some logs to debug TV storage
For some apps, like ConnecTime(
3202208028261).
Sometimes its local storage will be stored at
/home/owner/apps_rw/xwalk-service/IoUE7W2Qpd.VideoCall/Local Storage
and sometimes it will be stored at
/opt/usr/home/owner/apps_rw/IoUE7W2Qpd/data/Local Storage
This scenario is hard to reproduce, so add some logs to debug.
Change-Id: Ic9e316a9abfd769beae3e99c554070d581fe66e2
Signed-off-by: xiafeng <feng.xia@samsung.com>
DongHyun Song [Thu, 11 May 2023 08:52:58 +0000 (17:52 +0900)]
[WRTjs][VD] Remove making absolute path for widget.license
AppicationData::application_path() is already asolute path, so
this is unncessary.
Additionally, for the secured USB installation feature, this
res/wgt path can be a symlink, so making absolute path is
unnecessary either.
Change-Id: I9acc530891e9ef908e6e5e25eba2e5c27c2573a6
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
K.Y. Lee [Thu, 7 May 2020 23:10:30 +0000 (08:10 +0900)]
[M94 Migration][DA] Disable autofill feature.
In FHUB, Browser doesn't provide privacy reset menu.
If users save passwords, They cannot remove them.
So,With DA feature, Autofill has to be disabled.
Ref: https://review.tizen.org/gerrit/#/c/232824/
Change-Id: Ib752825bfd7cd7bfc0b64fad0fc5b8d32fb9fd7d
Signed-off-by: K.Y. Lee <k-y.lee@samsung.com>
K.Y. Lee [Wed, 28 Oct 2020 07:54:35 +0000 (16:54 +0900)]
[M94 Migration][DA] Block WillDraw function.
DA doesn't have rotation feature.
So, DA doesn't need to willdraw for rotation.
Problem : Will draw function can make loading speed slow
Solution : Rotation is not needed on DA Feature.
So, DA can skip this function.
Ref: https://review.tizen.org/gerrit/#/c/246330/
Change-Id: I7ed04cdcfb4a7cd4c4c0bbdb651925a0582c4875
Signed-off-by: K.Y. Lee <k-y.lee@samsung.com>
K.Y. Lee [Fri, 18 Sep 2020 08:35:03 +0000 (17:35 +0900)]
[M94 Migration][DA] Delete GetSoundMode condition in DA feature.
Problem: While Music is playing in Web application,
Launch the browser and play some videos in
web site like Youtube and Naver.
The Webapp's player keeps playing and
Browser's player is also playing.
DA product feature has deleted this condition for
DA sound focus policy.on AcquireSoundFocus and ReleaseSoundFocus
function, some conditions exist for validation.
Among these conditions, GetSoundMode function for checking sound,
mode API is not supported in DA feature.
So delete this condition in DA feature.
Ref: https://review.tizen.org/gerrit/#/c/244421/
Change-Id: I685ec72868747cb9a3201e6a21dd321da85d5204
Signed-off-by: K.Y. Lee <k-y.lee@samsung.com>
jiangyuwei [Sat, 6 May 2023 03:21:39 +0000 (11:21 +0800)]
[Svace] Fix Svace issue
Add device_name nullptr check for
DF230426-00089
Change-Id: I4b5259782153b0ce23225bc0977a6852027fec06
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
Robert Bycul [Tue, 14 Mar 2023 11:11:56 +0000 (12:11 +0100)]
[WebRTC] Add imageattr generate tests
Change-Id: I1e05104d4771e88de8891f321a882794d39d67b0
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-164
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Jakub Gajownik [Thu, 13 Apr 2023 14:28:21 +0000 (16:28 +0200)]
[WebRTC] Add missing encoding formats to RTCVideoEncoderFactoryEfl
We're not using standard RTCVideoEncoderFactory, but the
EFL version. Because of that we got no default H264 encoder
formats from libwebrtc. As a result, no intersection will
be found between recv and send codecs for H264. Some feature
might not work properly in such environment, e.g
|setCodecPreferences| method.
Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1223
Change-Id: Iddc63e48fa9da04ad78a1c6e6d9987b37756acde
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
K.Y. Lee [Fri, 10 Apr 2020 00:53:16 +0000 (09:53 +0900)]
[M94 Migration][DA] Change Renderer has crashed page.
Ref: https://review.tizen.org/gerrit/#/c/230404/
Change-Id: I8d36f529bae3b5bb013de624e2c92dbc8670cd0f
Signed-off-by: K.Y. Lee <k-y.lee@samsung.com>
K.Y. Lee [Tue, 13 Oct 2020 11:53:13 +0000 (20:53 +0900)]
[M94 Migration][DA] Exit Video Fullscreen clicking the backkey.
When a video is playing with fullscreen, If backkey is clicked, exit the fullscreen.
problem :
1. a video is playing with fullscreen.
2. a user clicks the backbutton
3. Show black screen
solution :
In DA feature, If a video is playing and fullscreen is true,
when a user clicks the backkey, has to exit fullscreen.
Ref: https://review.tizen.org/gerrit/#/c/245649/
Change-Id: I8190b294a8e7d319f6233a270857b371c576962c
Signed-off-by: K.Y. Lee <k-y.lee@samsung.com>
Jihwan Kim [Thu, 3 Nov 2022 07:07:08 +0000 (16:07 +0900)]
[M94 Migration][DA] Do not notify radio button state when it is not selected.
Checking one radio button always happened when another button is selected.
If we notify unselected radio button state, screen reader reads it,
instead of reading selected radio button state.
So we ignore unselected radio button state.
Change-Id: I4af92a419a2e08949322d4d671e730c293ab76e4
Signed-off-by: Jihwan Kim <jh_marc.kim@samsung.com>
K.Y. Lee [Fri, 10 Apr 2020 01:05:10 +0000 (10:05 +0900)]
[M94 Migration][DA] Application is pre-launched when loading progress is 70%.
refer : https://review.tizen.org/gerrit/#/c/230406/
Change-Id: I25a2423ddce694e9a78ee1233fa9c8b72043dbcc
Signed-off-by: K.Y. Lee <k-y.lee@samsung.com>
liwei [Tue, 18 Apr 2023 10:01:18 +0000 (18:01 +0800)]
[WRTjs][VD] Optimize cursor check condition
In smartmonitor and AOT, and app doesn't enable cursor,
WRT should disable mouse manually, optimize this logic.
Change-Id: I511a8d494439c19d3bc2b5bd9e1d458161cb8bc7
Signed-off-by: liwei <wei90727.li@samsung.com>
김지환/선행S/W Lab(생활가전)/삼성전자 [Thu, 12 Jan 2023 01:49:02 +0000 (10:49 +0900)]
[M94 Migration][DA] Use current draw rect as clip rect
Below change uses current draw rect as clip rect to fix
image not being drawn in some scenarios for DA profile.
Reference : https://review.tizen.org/gerrit/#/c/286581/
Change-Id: I0577773a18ae7f4cc34dea82de5dcaaab4d83e6b
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Adam Bujalski [Wed, 12 Apr 2023 08:29:27 +0000 (10:29 +0200)]
Using absl::string_view for `uri` in `RTPHeaderExtensionMap`
Internally RtpHeaderExtensionMap held uri of the extension as
`const char*`. Each extension and its uri was known at compile time.
Later at runtime during then for each packet in `Call::DeliverRtp`
method these `uri` was compared against extension uri carried in RTP
packet. Such comparison lead to repeated computation of string length
for strings known at compile time.
This patch changes `const char*` type to `absl::string_view` type to
cache length of string at compile time.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-249
Change-Id: I68dc4a41fab8ab07c2719b19f0e760d9940a620f
DongHyun Song [Wed, 5 Apr 2023 08:48:08 +0000 (17:48 +0900)]
[WRTjs][VD] Early loading of hosted app
If hosted app is started with default launch, we don't need to
load URL until app-control event. Default src of config.xml can be
opened early when NativeRuntime creation time.
This logic is working for TV profile by below chromium-efl patch,
also, is not working inspector mode or deeplink case.
Related wrtjs patch:
https://review.tizen.org/gerrit/290937/
Change-Id: I017805c544a4980bbd97317a7e73568451db4369
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Chunling Ye [Mon, 24 Apr 2023 02:01:09 +0000 (10:01 +0800)]
[WRTjs][VD]Remove rotation check when tvcontrol show
This check logic block the tvcontrol show, and confirmed
if remove it, have no effect for portrait mode.
Change-Id: Ib2ceb9d156468b7307225bd1f34ac2019e111899
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
Jakub Gajownik [Tue, 18 Apr 2023 10:12:46 +0000 (12:12 +0200)]
[wasm][caching] Fix CacheEventWaiter ownership
[Problem]
Crash during WebAssembly module deserialization from cache.
[Cause]
Access to raw pointer to CacheEventWaiter which was already
deleted.
[Solution]
Ensure lifetime of |cache_event_waiter_| is hold by
|CacheReaderTask|.
Additionally there is possibility that wire bytes fetching
will never finish (aborted by streaming compilation), so
proper handling has been added for such scenario.
Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1224
Change-Id: Ic2894ec001ff2b6502300b83dc0e22b361bc4990
jihwankim [Mon, 21 Jun 2021 06:54:47 +0000 (15:54 +0900)]
[M94 Migration][DA] Setting external memory limit
The value of external memory limit in V8 can be dynamically
changed during runtime. Sometimes, the limit can continuously
increase, so V8 can't call GC on proper time, resulting a steep
increment of the process memory in some cases.
This patch makes V8 GC not to increase the external_memory_limit
if GCCallbackFlag is not set to call Blink GC at the epilogue
stage of GC. In this way, the external_memory_limit value will
not increase in case of GC situations other than calling Blink
GC, so eventually GCs that calls Blink GC can be invoked soon.
Reference Patch : https://review.tizen.org/gerrit/#/c/253183/
Change-Id: I731e8b1b0ae143448b7163e6537eb3a6231bf078
Signed-off-by: jihwankim <jh_marc.kim@samsung.com>
zhishun.zhou [Thu, 20 Apr 2023 08:29:51 +0000 (16:29 +0800)]
Fix crash in FlushOnWorkerThread
Once the function of FlushOnWorkerThread has been called after
the reset of frame_cb_, crash will happened.
Change-Id: I89f64aca0eabae2f7f0dcb1fe35491efb2bc3371
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
Hunseop Jeong [Wed, 19 Apr 2023 23:27:48 +0000 (08:27 +0900)]
[DA] Update the base url of gbs.conf
Update the base url because it was changed
Change-Id: I78970b4cd1dff8f14dae2be8270c2b13b6d53507
Signed-off-by: Hunseop Jeong <hs85.jeong@samsung.com>
DongHyun Song [Wed, 19 Apr 2023 06:14:15 +0000 (15:14 +0900)]
[WRTjs][VD] Add compile flag for compatibility
elm_config_window_border_alpha_set is introduced from late Tizen 7.0,
So, some of branches haven't this API.
Change-Id: I85cf6b498509202cf04d44fb63f1b30718ad8807
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Suhaspoornachandra [Fri, 14 Oct 2022 08:27:37 +0000 (13:57 +0530)]
[M94 Migration][MM] Ensure player_id is positive integer
If process id is large player_id can become negative when sign bit is
set to 1 after binary operations.
This patch ensures sign bit of player id is always set to 0.
Reference:
https://review.tizen.org/gerrit/282991/
Change-Id: I4f494056587bf63b09536c6899f674dad3192705
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
jihwankim [Mon, 21 Jun 2021 06:44:25 +0000 (15:44 +0900)]
[DA] Limit video demuxer memory.
Limit video demuxer memory.
Currently video demuxer memory limit is set to 150M.
But this is too large to FHUB, so we can reduce it.
Video memory will be limited upon 40M.
Change-Id: Icf23d5f791c85fd5c84270c13cc86e9df86172b5
Signed-off-by: jihwankim <jh_marc.kim@samsung.com>
jihwankim [Mon, 21 Jun 2021 06:51:55 +0000 (15:51 +0900)]
[DA] V8 max heap memory size tuning.
V8 heap memory for DA should be constrained tigher than defualt,
because other modules use memory as well.
So we reduce v8's old space from 461MB to 320MB.
Instead of it, we increase new space from 8MB*2 to 16MB*2,
to maintain minimum performance.
Change-Id: I0eb679281433816de95e959dd21da1f31fc7da0b
Signed-off-by: jihwankim <jh_marc.kim@samsung.com>
zhao shiyu [Wed, 19 Apr 2023 06:21:22 +0000 (06:21 +0000)]
Revert "[WRTjs][VD] Add a rect to restrict the size of window"
This reverts commit
34c50bf44debe9dcb965daacb299f17abb361ff9.
This patch cause e-pop layout is not correct, so revert this patch
Change-Id: I89b289687ded986b82f3d0385bd7a24472985155
liwei [Fri, 14 Apr 2023 09:03:31 +0000 (17:03 +0800)]
[WRTjs][VD] Move clear dead mount logic to main process
When clear dead mount logic is executed, an app is launched,
then smack label is changed to app's label, then smack happen.
To avoid this smack issue, move clear dead mount logic to
main process.
Change-Id: Ibed971663998d4d7e2a0414f10419f30673e40bf
Signed-off-by: liwei <wei90727.li@samsung.com>
shurong.chen [Thu, 13 Apr 2023 06:40:06 +0000 (14:40 +0800)]
fixup! [VD] support enable/disable mouse event for smart monitor
As the ewk_view_mouse_events_enabled_set api been used to enable/disable
touch event.
So provide a new api to enable/disable mouse event and cursor:
ewk_view_mouse_pointer_support_set
ewk_view_mouse_pointer_support_get
Change-Id: Ic9530b689c46688f46f8b8fee361ceab4c5392f9
Signed-off-by: shurong.chen <shurong.chen@samsung.com>
Uday Kiran Bakka [Fri, 14 Apr 2023 06:55:58 +0000 (12:25 +0530)]
Fix for missing mojom binding error during page load
Below change fixes error [1] which caused render process crash
during loading of www.reddit.com.
[1] No binder found for interface blink.mojom.BadgeService
Reference: https://review.tizen.org/gerrit/c/291273
Change-Id: I9bc0ebbc6b492d1e9ab8510739a994a68631d878
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
feifei08.liu [Thu, 30 Mar 2023 08:24:59 +0000 (16:24 +0800)]
[PDNCF] Make AddrInfoGetter::getaddrinfo return a unique_ptr
Return a unique_ptr with a custom deleter from
net::AddrInfoGetter::getaddrinfo.
This makes memory management more
consistent with C++ style and less error-prone.
Checkout :
https://chromium-review.googlesource.com/c/chromium/src/+/
3495725
Change-Id: I57454792e2ca9d363b28384eb63d6e7c92f33307
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
DongHyun Song [Fri, 14 Apr 2023 00:38:26 +0000 (09:38 +0900)]
[WRTjs][Service] Remove polling of message queue
This will handle message queue on demand and remove unncessary
polling.
Change-Id: I5b989d9c3cadb013bf6bdb2e668d04f2e2a70c0d
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
K.Y. Lee [Thu, 23 Dec 2021 08:29:43 +0000 (17:29 +0900)]
[DA] Remove language change code whenever date picker shows
DA doesn't use VCONFKEY_LANGSET
Change-Id: I0e37c936c39665202bb69945cffdca1fa0f81bf2
Signed-off-by: K.Y. Lee <k-y.lee@samsung.com>
Hrithik Mohan [Fri, 14 Apr 2023 04:52:31 +0000 (10:22 +0530)]
[DA] Fix DA Profile Build Error
Removing ewk_bringup macro when adding wrt lib sources for da fixes the build error
Change-Id: I67d9eaefd78073d4accbe3b410d55ca0ab297349
Hrithik Mohan [Fri, 14 Apr 2023 04:01:21 +0000 (04:01 +0000)]
Revert "[M94 Migration][DA] DAExtension for wrt is no longer used."
wrtjs side uses wrt.da to check is the product is DA or not. Removing the DAExtension, failing the wrtjs package build
This reverts commit
fefff1c7b99787a906cd7c81280aa30a4da97e2c.
Change-Id: If9d1ac7bf2be58d76117caa875584eef30702927
zhaosy [Thu, 13 Apr 2023 07:14:24 +0000 (15:14 +0800)]
[WRTjs][VD] Add a rect to restrict the size of window
window is resized to 1920*1920 by efl in some rotation cases(IME is showing, rotate), so
1.Add a rect to restrict the size of window.
2.Resize webview in rotation, otherwise there is a black screen between app and IME.
Change-Id: Ie2fb060b8c1a59e2a84e33b3826ec4ddead2cdc8
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
K.Y. Lee [Thu, 23 Apr 2020 05:52:13 +0000 (14:52 +0900)]
[M94 Migration][DA] Fix screen blinking issue when menu is shown.
Sometimes reusing texture which is used for N frame in N+1 frame
causes screen blinking issue. This is because gl call of N frame
could not be finished till N+1 frame swap ack is called. So ignore
for 1 frame resource after changing to unused state.
from VD Patch.
Reference Patch : https://review.tizen.org/gerrit/#/c/231629/
Change-Id: Iabcf4e60182ee655a6cc96d209d9032f15e2f1a9
Signed-off-by: K.Y. Lee <k-y.lee@samsung.com>
Chandan Padhi [Fri, 11 Dec 2020 07:52:11 +0000 (13:22 +0530)]
[M94 Migration][DA]Use the current SiteInstance for error page navigation
Using the current SiteInstance instead of a new one would ensure that
a speculative RenderFrameHost is not created and the existing one is
used during error page navigation. This would avoid creation of a new
RWHVEfl(and a new content_image) that renders the existing content_image
invalid resulting in crash/white screen.
Reference Patch : https://review.tizen.org/gerrit/#/c/249422/
Change-Id: Ifdf34847e4314ca1adb6685a344800519554ad6f
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
YongGeol Jung [Wed, 13 Jan 2021 10:56:54 +0000 (02:56 -0800)]
[M94 Migration][DA] Fix webgl contents blinking issue.
Webgl contents are blinking in Familyhhub 6.0 target(kantm only). This is
occurred because alpha channel of frame buffer is not cleared as 1(It seems
that there is complicated timing issue with kantm target). To fix this issue,
ensure clearing frame buffer after setting rendering target.
Reference Patch : https://review.tizen.org/gerrit/#/c/251417
Change-Id: I65f7a04bb824054c8f4e7b4867d2d097121023e8
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>