summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-02-14 14:51:32 -0500
committerJoel Fischer <joeljfischer@gmail.com>2020-02-14 14:51:32 -0500
commita217a1cecd128cf99d6ecb9fdb765ac791a10802 (patch)
tree1716af73967bae27e934e88b4156f7a3da1f5cce
parentaf4aa851a56fa8c4c6fd79f6eb73523d788298c5 (diff)
downloadsdl_ios-a217a1cecd128cf99d6ecb9fdb765ac791a10802.tar.gz
Fix review comments
-rw-r--r--SmartDeviceLink/SDLLifecycleManager.m4
-rw-r--r--SmartDeviceLink/SDLManagerDelegate.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLLifecycleManager.m b/SmartDeviceLink/SDLLifecycleManager.m
index adee14c6a..5d258ba4b 100644
--- a/SmartDeviceLink/SDLLifecycleManager.m
+++ b/SmartDeviceLink/SDLLifecycleManager.m
@@ -817,8 +817,8 @@ NSString *const BackgroundTaskTransportName = @"com.sdl.transport.backgroundTask
SDLLogD(@"Audio streaming state changed from %@ to %@", oldAudioStreamingState, self.audioStreamingState);
}
- if (![oldAudioStreamingState isEqualToEnum:self.videoStreamingState]) {
- SDLLogD(@"Video streaming state changed from %@ to %@", oldAudioStreamingState, self.videoStreamingState);
+ if (![oldVideoStreamingState isEqualToEnum:self.videoStreamingState]) {
+ SDLLogD(@"Video streaming state changed from %@ to %@", oldVideoStreamingState, self.videoStreamingState);
}
if (![oldSystemContext isEqualToEnum:self.systemContext]) {
diff --git a/SmartDeviceLink/SDLManagerDelegate.h b/SmartDeviceLink/SDLManagerDelegate.h
index 656d81bd7..9cf795e37 100644
--- a/SmartDeviceLink/SDLManagerDelegate.h
+++ b/SmartDeviceLink/SDLManagerDelegate.h
@@ -43,6 +43,9 @@ NS_ASSUME_NONNULL_BEGIN
- (void)audioStreamingState:(nullable SDLAudioStreamingState)oldState didChangeToState:(SDLAudioStreamingState)newState;
/// Called when the video streaming state of this application changes. This refers to streaming video for navigation purposes. If you are "autostreaming" via CarWindow, you should not do anything with this method. Everything should be handled for you automatically.
+///
+/// Only supported on RPC v5.0+ connections.
+///
/// @param oldState The previous state
/// @param newState The current state
- (void)videoStreamingState:(nullable SDLVideoStreamingState)oldState didChangetoState:(SDLVideoStreamingState)newState;