summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-07-28 16:41:40 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-07-28 16:41:40 -0400
commit76e57b7943c792105d8a20175f83fbc19935a3ac (patch)
tree4ff7e24e87a3d30cd018f566dc7cb46c4c6f1caf
parente67a81badeb1e6820b4f2fc147aea5e6c2d73545 (diff)
downloadsdl_ios-76e57b7943c792105d8a20175f83fbc19935a3ac.tar.gz
Fix using a deprecated enum
-rw-r--r--SmartDeviceLink/SDLStreamingMediaManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLStreamingMediaManager.m b/SmartDeviceLink/SDLStreamingMediaManager.m
index 38dd1e6fa..f99ca1762 100644
--- a/SmartDeviceLink/SDLStreamingMediaManager.m
+++ b/SmartDeviceLink/SDLStreamingMediaManager.m
@@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)startVideoSessionWithTLS:(SDLEncryptionFlag)encryptionFlag startBlock:(SDLStreamingEncryptionStartBlock)startBlock {
if (SDL_SYSTEM_VERSION_LESS_THAN(@"8.0")) {
NSAssert(NO, @"SDL Video Sessions can only be run on iOS 8+ devices");
- startBlock(NO, NO, [NSError errorWithDomain:SDLErrorDomainStreamingMediaVideo code:SDLSTreamingVideoErrorInvalidOperatingSystemVersion userInfo:nil]);
+ startBlock(NO, NO, [NSError errorWithDomain:SDLErrorDomainStreamingMediaVideo code:SDLStreamingVideoErrorInvalidOperatingSystemVersion userInfo:nil]);
return;
}