diff options
author | NicoleYarroch <nicole@livio.io> | 2021-03-23 13:19:11 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2021-03-23 13:19:11 -0400 |
commit | 520dcf1dc802b6d2bae66f2918f5129319e9ee7a (patch) | |
tree | ce615d8d469617d3dea8cf68364526fabfe168bd | |
parent | b68e69d44cf8617e7fe4ec1eb9ffce19a2f198d3 (diff) | |
download | sdl_ios-520dcf1dc802b6d2bae66f2918f5129319e9ee7a.tar.gz |
Added some clarifying docs
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r-- | SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m b/SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m index d6c6bbbed..8bc274523 100644 --- a/SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m +++ b/SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m @@ -575,6 +575,7 @@ typedef void(^SDLVideoCapabilityResponseHandler)(SDLVideoStreamingCapability *_N // Figure out the definitive format that will be used. If the protocol / codec weren't passed in the payload, it's probably a system that doesn't support those properties, which also means it's a system that requires H.264 RAW encoding self.videoFormat = [[SDLVideoStreamingFormat alloc] initWithCodec:videoAckPayload.videoCodec ?: SDLVideoStreamingCodecH264 protocol:videoAckPayload.videoProtocol ?: SDLVideoStreamingProtocolRAW]; + // Video is ready to stream. If the app is inactive and can't stream video, then the Ready state will handle transitioning to the Suspended state [self.videoStreamStateMachine transitionToState:SDLVideoStreamManagerStateReady]; } |