diff options
author | Kujtim Shala <kshala@ford.com> | 2018-06-04 16:22:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-04 16:22:02 +0200 |
commit | a3de9c4e1251d6e3aa1f40386223b0748e4db654 (patch) | |
tree | 9845139ae7800e36a171c8ff1d15849a3f973364 | |
parent | 791944b75314d25ff787d59c7c9d5c0c92f95e24 (diff) | |
download | sdl_ios-a3de9c4e1251d6e3aa1f40386223b0748e4db654.tar.gz |
Post notification if the video is suspended
-rw-r--r-- | SmartDeviceLink/SDLStreamingMediaLifecycleManager.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLStreamingMediaLifecycleManager.m b/SmartDeviceLink/SDLStreamingMediaLifecycleManager.m index ef9cbd007..f8e4ebe4f 100644 --- a/SmartDeviceLink/SDLStreamingMediaLifecycleManager.m +++ b/SmartDeviceLink/SDLStreamingMediaLifecycleManager.m @@ -443,7 +443,9 @@ typedef void(^SDLVideoCapabilityResponseHandler)(SDLVideoStreamingCapability *_N } - (void)didEnterStateVideoStreamSuspended { + SDLLogD(@"Video stream suspended"); + [[NSNotificationCenter defaultCenter] postNotificationName:SDLVideoStreamSuspendedNotification object:nil]; } - (void)didEnterStateVideoStreamShuttingDown { |