Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register and unregister clients with proxy to fix data race, and tidy the surrounding code #55

Closed

Conversation

skyproudmanp
Copy link
Collaborator

Summary: register and unregister clients (of control) via a proxy (this prevents a data race and updates c style pointers to c++). The call to registerClient in ControlService::addControl was deceiving since this didn't actually register any client... it just called setApplicationState therefore changed to call setApplicationState() direct (and then "controlServerInternal" doesn't need a "registerClient" method). Also the control method registerClient() is renamed to registerClientAndUnregisterOnDestruction() which is a more complete description of what it does
Type: Fix
Test Plan: UT/CT and test webaudio on XiOne US box
Jira: NO-JIRA

Copy link

Pull request must be merged with a description containing the required fields,

Summary:
Type: Feature/Fix/Cleanup
Test Plan:
Jira:

If there is no jira releated to this change, please put 'Jira: NO-JIRA'.

Description can be changed by editing the top comment on your pull request and making a new commit.

Copy link

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 100.0%
Functions coverage stays unchanged and is: 100.0%

Copy link

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 100.0%
Functions coverage stays unchanged and is: 100.0%

@rdkcmf-jenkins
Copy link

build-brcm-refboard3 Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/a92b29375a37216de0235a175dc7a2f9

@rdkcmf-jenkins
Copy link

build-brcm-refboard3 Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/6b685e1ac79e259463cfb476afdd5b9a

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/51464/

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/51465/

@rdkcmf-jenkins
Copy link

'['RPI4 IPSTB']' Sanity test FAILURE, investigation pending.
Build Job/Num: build-rpi4-ipstb-oss/801
Flash rdkv_rpi4_ipclient [SUCCESS]
rdkv_rpi4_ipclient - Video Test [FAILURE]
Video Accelerator Home Screen Test [SUCCESS]
Video Accelerator VOD Video Detection Test [SUCCESS]
HLS video streaming using gst-launch uri=aamp [SUCCESS]
HLS Video Streaming using aamp-cli [SUCCESS]
DASH Video Streaming using aamp-cli [SUCCESS]
Video local (H264) using gst-play-1.0 [FAILURE]
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-raspberrypi-rdkv-rpi4-flow/9863/

@rdkcmf-jenkins
Copy link

'['RPI4 IPSTB']' Sanity test FAILURE, investigation pending.
Build Job/Num: build-rpi4-ipstb-oss/802
Flash rdkv_rpi4_ipclient [SUCCESS]
rdkv_rpi4_ipclient - Video Test [FAILURE]
Video Accelerator Home Screen Test [SUCCESS]
Video Accelerator VOD Video Detection Test [FAILURE]
HLS video streaming using gst-launch uri=aamp [FAILURE]
HLS Video Streaming using aamp-cli [FAILURE]
DASH Video Streaming using aamp-cli [FAILURE]
Video local (H264) using gst-play-1.0 [FAILURE]
HLS video streaming using gst-launch uri=aamp [SUCCESS]
HLS Video Streaming using aamp-cli [SUCCESS]
DASH Video Streaming using aamp-cli [SUCCESS]
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-raspberrypi-rdkv-rpi4-flow/9865/

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

Sanity tests for ['BCM 7216OTT Refboard VA'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/51552/

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/51559/

@rdkcmf-jenkins
Copy link

'['RPI4 IPSTB']' Sanity test FAILURE, investigation pending.
Build Job/Num: build-rpi4-ipstb-oss/875
Flash rdkv_rpi4_ipclient [SUCCESS]
rdkv_rpi4_ipclient - Video Test [FAILURE]
Video Accelerator Home Screen Test [SUCCESS]
Video Accelerator VOD Video Detection Test [FAILURE]
HLS video streaming using gst-launch uri=aamp [FAILURE]
HLS Video Streaming using aamp-cli [FAILURE]
DASH Video Streaming using aamp-cli [FAILURE]
Video local (H264) using gst-play-1.0 [FAILURE]
HLS video streaming using gst-launch uri=aamp [SUCCESS]
HLS Video Streaming using aamp-cli [SUCCESS]
DASH Video Streaming using aamp-cli [SUCCESS]
Video local (H264) using gst-play-1.0 [SUCCESS]
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-raspberrypi-rdkv-rpi4-flow/9924/

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/51628/

@skyproudmanp
Copy link
Collaborator Author

rialto interface change has been undone, therefore this pull request is no longer necessary

@skyproudmanp skyproudmanp deleted the changeStateAndNotifyClientsWithProxy_solution2 branch July 1, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants