YouTube Streaming Test with Android Device Support #215
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.
This pull request introduces automated YouTube streaming support for Android devices through youtube_android_test.py, integrating Android execution into the generic endpoint workflow and enabling device discovery using ADB interop data. The device and endpoint architecture has been restructured by centralizing device, resource, and port correlation logic, simplifying generic endpoint creation, and extending support to LANforge devices alongside real clients. Metric collection has been strengthened with improved port-matching logic for MAC, RSSI, link rate, and SSID data. WebUI handling has been consolidated into a single method, eliminating duplicate logic and ensuring consistent reporting of configured devices and OS summaries. Additional cleanup includes using absolute paths for Android test execution, removing legacy code paths, and enhancing documentation for improved clarity and maintainability.
Command to execute youtube_android_test.py
python3 /home/lanforge/lanforge-scripts/py-scripts/real_application_tests/youtube/youtube_android_test.py
--url https://youtu.be/-SQop2bI8Eg
--duration 1
--devices R9ZTC01333R,RZCTA09CTXF
--upstream_port 192.168.200.198
NOTE: This Command is executing through the generic endpoint created on lanforge device