diff options
author | NicoleYarroch <nicole@livio.io> | 2017-10-23 14:42:48 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2017-10-23 14:42:48 -0400 |
commit | 0986217c25906a1d9888a69c4347ab658dbdfc77 (patch) | |
tree | 0ff8400583a2c999c75e5fd5bee7da8cd7416a08 | |
parent | 1d3f0ab16ab6dc0e315226f6203cf8facd2e7b42 (diff) | |
download | sdl_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.m | 4 |
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 |