-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Refactored tv-casting-app/linux/main.cpp #17826
Merged
chrisdecenzo
merged 1 commit into
project-chip:master
from
sharadb-amazon:droid-20220425
Apr 28, 2022
Merged
Refactored tv-casting-app/linux/main.cpp #17826
chrisdecenzo
merged 1 commit into
project-chip:master
from
sharadb-amazon:droid-20220425
Apr 28, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pullapprove
bot
requested review from
andy31415,
anush-apple,
arkq,
Byungjoo-Lee,
bzbarsky-apple,
carol-apple,
cecille,
chshu,
chulspro,
Damian-Nordic,
dhrishi,
electrocucaracha,
franck-apple,
gjc13,
harimau-qirex,
hawk248 and
harsha-rajendran
April 27, 2022 21:33
pullapprove
bot
requested review from
tecimovic,
woody-apple,
turon,
yufengwangca,
vijs,
vivien-apple,
yunhanw-google and
wbschiller
April 27, 2022 21:33
PR #17826: Size comparison from 11c49af to 8291d7c Full report (8 builds for cyw30739, linux, mbed, nrfconnect, telink)
|
sharadb-amazon
force-pushed
the
droid-20220425
branch
from
April 27, 2022 22:06
8291d7c
to
7fc227c
Compare
chrisdecenzo
approved these changes
Apr 27, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good but wondering why not make CastingUtils common?
PR #17826: Size comparison from 11c49af to 7fc227c Full report (32 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
sharadb-amazon
force-pushed
the
droid-20220425
branch
from
April 27, 2022 23:10
7fc227c
to
2fc0f3f
Compare
PR #17826: Size comparison from 11c49af to 2fc0f3f Full report (13 builds for cyw30739, k32w, linux, mbed, nrfconnect, p6, telink)
|
sharadb-amazon
force-pushed
the
droid-20220425
branch
from
April 27, 2022 23:45
2fc0f3f
to
82fba7f
Compare
…app/linux/main.cpp Refactored tv-casting-app/linux/main.cpp: Created CastingServer, renamed Casting->CastingUtils
sharadb-amazon
force-pushed
the
droid-20220425
branch
from
April 27, 2022 23:47
82fba7f
to
fe860b3
Compare
PR #17826: Size comparison from 11c49af to fe860b3 Full report (32 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
hawk248
approved these changes
Apr 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
tv-casting-app/linux/main.cpp had implementation of several functions and logic that are required across non-Linux platforms like Android and iOS. It had also grown to 700+ loc, was dealing with many distinct concerns, making it harder to read/edit.
Change overview
This PR does not intend to make any functional changes. It sets up the tv-casting-app code structure to be leveraged across all 3 platforms of interest: Linux, android and iOS. Following are the changes made:
Testing
Tested by building and running tv-casting-app/linux.