summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2017-10-23 14:42:48 -0400
committerNicoleYarroch <nicole@livio.io>2017-10-23 14:42:48 -0400
commit0986217c25906a1d9888a69c4347ab658dbdfc77 (patch)
tree0ff8400583a2c999c75e5fd5bee7da8cd7416a08
parent1d3f0ab16ab6dc0e315226f6203cf8facd2e7b42 (diff)
downloadsdl_ios-bugfix/issue_774_video_streaming_does_not_work_app_foregrounded.tar.gz
Video streaming no longer setup when app becomes activebugfix/issue_774_video_streaming_does_not_work_app_foregrounded
- Video session RPCs were being sent before the device was connected to Core
-rw-r--r--SmartDeviceLink/SDLStreamingMediaLifecycleManager.m4
1 files changed, 0 insertions, 4 deletions
diff --git a/SmartDeviceLink/SDLStreamingMediaLifecycleManager.m b/SmartDeviceLink/SDLStreamingMediaLifecycleManager.m
index 9e37dd472..24248a938 100644
--- a/SmartDeviceLink/SDLStreamingMediaLifecycleManager.m
+++ b/SmartDeviceLink/SDLStreamingMediaLifecycleManager.m
@@ -269,10 +269,6 @@ typedef void(^SDLVideoCapabilityResponseHandler)(SDLVideoStreamingCapability *_N
// We should be waiting to start any OpenGL drawing until UIApplicationDidBecomeActive is called.
- (void)didEnterStateAppActive {
SDLLogD(@"App became active");
- if (!self.protocol) { return; }
-
- [self sdl_startVideoSession];
- [self sdl_startAudioSession];
}
#pragma mark Video Streaming