diff options
author | Takamitsu Yoshii <tyoshii@xevo.com> | 2019-09-09 15:03:17 +0900 |
---|---|---|
committer | Takamitsu Yoshii <tyoshii@xevo.com> | 2019-09-09 15:03:17 +0900 |
commit | 1e5d20a9bc998a0d0031269bf278e70abfcd8a92 (patch) | |
tree | d285fd1d9cc9309d3663b8739ab495cd03d6fafd | |
parent | 8963eb5d6a989086bd00963cf5ae6b38aab440a3 (diff) | |
download | sdl_ios-1e5d20a9bc998a0d0031269bf278e70abfcd8a92.tar.gz |
add test
-rw-r--r-- | SmartDeviceLink/SDLStreamingMediaConfiguration.m | 1 | ||||
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLStreamingVideoLifecycleManagerSpec.m | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLStreamingMediaConfiguration.m b/SmartDeviceLink/SDLStreamingMediaConfiguration.m index 197fd3a9a..a3a06ed6f 100644 --- a/SmartDeviceLink/SDLStreamingMediaConfiguration.m +++ b/SmartDeviceLink/SDLStreamingMediaConfiguration.m @@ -69,6 +69,7 @@ NS_ASSUME_NONNULL_BEGIN newConfig.carWindowRenderingType = self.carWindowRenderingType; newConfig.enableForcedFramerateSync = self.enableForcedFramerateSync; newConfig.allowMultipleViewControllerOrientations = self.allowMultipleViewControllerOrientations; + newConfig.allowOverrideEncoderSettings = self.allowOverrideEncoderSettings; return newConfig; } diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLStreamingVideoLifecycleManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLStreamingVideoLifecycleManagerSpec.m index 31737c214..c8f169010 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLStreamingVideoLifecycleManagerSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLStreamingVideoLifecycleManagerSpec.m @@ -91,6 +91,7 @@ describe(@"the streaming video manager", ^{ expect(@(streamingLifecycleManager.pixelBufferPool == NULL)).to(equal(@YES)); expect(@(streamingLifecycleManager.requestedEncryptionType)).to(equal(@(SDLStreamingEncryptionFlagNone))); expect(@(streamingLifecycleManager.showVideoBackgroundDisplay)).to(equal(@YES)); + expect(@(streamingLifecycleManager.allowOverrideEncoderSettings)).to(equal(@YES)); expect(streamingLifecycleManager.currentAppState).to(equal(SDLAppStateActive)); expect(streamingLifecycleManager.currentVideoStreamState).to(equal(SDLVideoStreamManagerStateStopped)); expect(streamingLifecycleManager.videoFormat).to(beNil()); |