diff options
author | Nicole Yarroch <nicole@livio.io> | 2021-03-23 13:07:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 13:07:56 -0400 |
commit | b68e69d44cf8617e7fe4ec1eb9ffce19a2f198d3 (patch) | |
tree | ad01f6c7350e0b555f3bfbf9ba2e275173d2fd07 | |
parent | f8911e4cd36223e72b4442f8d1992055248e5245 (diff) | |
download | sdl_ios-b68e69d44cf8617e7fe4ec1eb9ffce19a2f198d3.tar.gz |
Apply suggestions from code review
Co-authored-by: Joel Fischer <joeljfischer@gmail.com>
-rw-r--r-- | SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m b/SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m index 76332a6e1..d6c6bbbed 100644 --- a/SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m +++ b/SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m @@ -748,7 +748,7 @@ typedef void(^SDLVideoCapabilityResponseHandler)(SDLVideoStreamingCapability *_N } SDLLogD(@"Using generic video capabilites, preferred formats: %@, resolutions: %@, haptics disabled", self.preferredFormats, self.preferredResolutions); - // HAX to support legacy head units (SYNC 3.0) as a slight delay is needed between getting the SDLOnHMIStatus notification and starting the video service. Otherwise, video will stream but the screen will be black. Add the delay here as legacy head units doe not support `videoStreamingCapability`. + // HAX: to support legacy head units (SYNC 3.0) as a slight delay is needed between getting the `OnHMIStatus` notification and sending the video `StartService`. Otherwise, video will stream but the screen will be black. Add the delay here as legacy head units do not support `videoStreamingCapability`. dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 250 * NSEC_PER_MSEC), dispatch_get_main_queue(), ^{ [self sdl_useVideoCapability:nil]; }); |