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

Fixed checking if streaming is supported returning wrong value #1573

Conversation

NicoleYarroch
Copy link
Contributor

@NicoleYarroch NicoleYarroch commented Feb 27, 2020

Fixes #1569

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

  • I have verified that I have not introduced new warnings in this PR (or explain why below)
  • I have run the unit tests with this PR
  • I have tested this PR against Core and verified behavior (if applicable, if not applicable, explain why below).

Unit Tests

  • Fixed test cases in the SDLStreamingAudioLifecycleManagerSpec and SDLStreamingVideoLifecycleManagerSpec.

Core Tests

Core version / branch / commit hash / module tested against: SYNC 3.0 and Manticore (SDL Core v6.0.1 and Generic HMI v0.7.2)
HMI name / version / branch / commit hash / module tested against: SYNC 3.0 and Manticore (SDL Core v6.0.1 and Generic HMI v0.7.2)

Summary

Fixed the SDLStreamingMediaManager returning false for isStreamingSupported if video/audio has not yet started streaming.

Changelog

Bug Fixes
  • Fixed the SDLStreamingMediaManager returning false for isStreamingSupported if video/audio has not yet started streaming. Since isStreamingSupported is set based on the value returned in the RegisterAppInterface response there is no need to wait for video or audio to start streaming in order to return an accurate value.
  • Fixed the SDLStreamingAudioLifecycleManager possibly setting the wrong value for isStreamingSupported on pre-4.5.0 head units.

CLA

@NicoleYarroch NicoleYarroch self-assigned this Feb 27, 2020
@NicoleYarroch NicoleYarroch added the bug A defect in the library label Feb 27, 2020
@NicoleYarroch NicoleYarroch added this to In progress in v6.6.0 via automation Feb 27, 2020
@NicoleYarroch NicoleYarroch changed the title WIP: Fixed checking if streaming is supported returning wrong value Fixed checking if streaming is supported returning wrong value Feb 27, 2020
v6.6.0 automation moved this from In progress to Waiting for Review Feb 27, 2020
SmartDeviceLink/SDLStreamingAudioLifecycleManager.m Outdated Show resolved Hide resolved
SmartDeviceLink/SDLStreamingMediaManager.h Outdated Show resolved Hide resolved
SmartDeviceLink/SDLStreamingVideoLifecycleManager.h Outdated Show resolved Hide resolved
SmartDeviceLink/SDLStreamingVideoLifecycleManager.m Outdated Show resolved Hide resolved
SmartDeviceLink/SDLStreamingVideoLifecycleManager.m Outdated Show resolved Hide resolved
SmartDeviceLink/SDLStreamingMediaManager.m Show resolved Hide resolved
NicoleYarroch and others added 2 commits March 19, 2020 07:39
Co-Authored-By: Joel Fischer <joeljfischer@gmail.com>
v6.6.0 automation moved this from Waiting for Review to Reviewer approved Mar 19, 2020
@joeljfischer joeljfischer merged commit 6e98124 into develop Mar 19, 2020
v6.6.0 automation moved this from Reviewer approved to Done Mar 19, 2020
@joeljfischer joeljfischer deleted the bugfix/issue_1569_streaming_media_manager_incorrect_value_for_isStreamingSupported branch March 19, 2020 15:18
@joeljfischer joeljfischer restored the bugfix/issue_1569_streaming_media_manager_incorrect_value_for_isStreamingSupported branch March 19, 2020 15:18
@joeljfischer joeljfischer deleted the bugfix/issue_1569_streaming_media_manager_incorrect_value_for_isStreamingSupported branch March 19, 2020 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library
Projects
No open projects
v6.6.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants