summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2020-06-09 14:44:05 -0400
committerNicoleYarroch <nicole@livio.io>2020-06-09 14:44:05 -0400
commit7c8c14942aa6f6e5a597845d36064fe4a0e83191 (patch)
treeef8f6fad848f7cc7d2cd1bf25b56ed91fcd06c85
parentc0f79db1d284f468bf149bf6082363bda607c858 (diff)
downloadsdl_ios-7c8c14942aa6f6e5a597845d36064fe4a0e83191.tar.gz
Added documentation to new method
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r--SmartDeviceLink/SDLStreamingMediaManager.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLStreamingMediaManager.m b/SmartDeviceLink/SDLStreamingMediaManager.m
index b6eeae406..c4afcc24d 100644
--- a/SmartDeviceLink/SDLStreamingMediaManager.m
+++ b/SmartDeviceLink/SDLStreamingMediaManager.m
@@ -161,6 +161,10 @@ NS_ASSUME_NONNULL_BEGIN
[self sdl_disconnectSecondaryTransportAndStartWithNewVideoProtocol:nil newAudioProtocol:nil transportDestroyed:true];
}
+/// Disconnects the secondary transport. If the transport is still open and a new video or audio protocol have been set, then a new video/audio sessions are attempted. If the transport has been closed, then the audio/video managers are stopped.
+/// @param newVideoProtocol The new video protocol
+/// @param newAudioProtocol The new audio protocol
+/// @param transportDestroyed Whether or not the transport is still open
- (void)sdl_disconnectSecondaryTransportAndStartWithNewVideoProtocol:(nullable SDLProtocol *)newVideoProtocol newAudioProtocol:(nullable SDLProtocol *)newAudioProtocol transportDestroyed:(BOOL)transportDestroyed {
SDLLogV(@"Disconnecting the secondary transport");
__weak typeof(self) weakSelf = self;