From 99239922ef119c4e8d993422434336c422a54457 Mon Sep 17 00:00:00 2001 From: "Muller, Alexander (A.)" Date: Wed, 30 Mar 2016 20:17:07 -0700 Subject: [PATCH] Fixed mistyped Enum value. --- SmartDeviceLink-iOS/SmartDeviceLink/SDLStreamingMediaManager.h | 2 +- SmartDeviceLink-iOS/SmartDeviceLink/SDLStreamingMediaManager.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SmartDeviceLink-iOS/SmartDeviceLink/SDLStreamingMediaManager.h b/SmartDeviceLink-iOS/SmartDeviceLink/SDLStreamingMediaManager.h index 05a855e13..290b22cba 100644 --- a/SmartDeviceLink-iOS/SmartDeviceLink/SDLStreamingMediaManager.h +++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLStreamingMediaManager.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, SDLStreamingVideoError) { SDLStreamingVideoErrorHeadUnitNACK, - SDLSTreamingVideoErrorInvalidOperatingSystemVersion, + SDLStreamingVideoErrorInvalidOperatingSystemVersion, SDLStreamingVideoErrorConfigurationCompressionSessionCreationFailure, SDLStreamingVideoErrorConfigurationAllocationFailure, SDLStreamingVideoErrorConfigurationCompressionSessionSetPropertyFailure diff --git a/SmartDeviceLink-iOS/SmartDeviceLink/SDLStreamingMediaManager.m b/SmartDeviceLink-iOS/SmartDeviceLink/SDLStreamingMediaManager.m index 62682c9dc..fdda573db 100644 --- a/SmartDeviceLink-iOS/SmartDeviceLink/SDLStreamingMediaManager.m +++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLStreamingMediaManager.m @@ -66,7 +66,7 @@ - (instancetype)initWithProtocol:(SDLAbstractProtocol *)protocol { - (void)startVideoSessionWithStartBlock:(SDLStreamingStartBlock)startBlock { if (SDL_SYSTEM_VERSION_LESS_THAN(@"8.0")) { NSAssert(NO, @"SDL Video Sessions can only be run on iOS 8+ devices"); - startBlock(NO, [NSError errorWithDomain:SDLErrorDomainStreamingMediaVideo code:SDLSTreamingVideoErrorInvalidOperatingSystemVersion userInfo:nil]); + startBlock(NO, [NSError errorWithDomain:SDLErrorDomainStreamingMediaVideo code:SDLStreamingVideoErrorInvalidOperatingSystemVersion userInfo:nil]); return; }