diff options
author | NicoleYarroch <nicole@livio.io> | 2020-06-15 08:28:09 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2020-06-15 08:28:09 -0400 |
commit | 35587bac9f73780424da3d180a4acf9b3277befb (patch) | |
tree | 9d772061a1880d9db330bb42e4ce7458e928d376 | |
parent | 171a1fd2f70f525ea73c294614be9c6d809b7b5e (diff) | |
download | sdl_ios-35587bac9f73780424da3d180a4acf9b3277befb.tar.gz |
Fixed compile error after renaming method
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r-- | SmartDeviceLink/SDLStreamingMediaManager.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLStreamingMediaManager.m b/SmartDeviceLink/SDLStreamingMediaManager.m index 7f73d7762..ed9ec3ec6 100644 --- a/SmartDeviceLink/SDLStreamingMediaManager.m +++ b/SmartDeviceLink/SDLStreamingMediaManager.m @@ -149,7 +149,7 @@ NS_ASSUME_NONNULL_BEGIN // This will always run dispatch_group_notify(endServiceTask, [SDLGlobals sharedGlobals].sdlProcessingQueue, ^{ if (oldVideoProtocol != nil || oldAudioProtocol != nil) { - [self sdl_disconnectSecondaryTransportAndStartWithNewVideoProtocol:newVideoProtocol newAudioProtocol:newAudioProtocol transportDestroyed:false]; + [self sdl_reconnectSecondaryTransportWithNewVideoProtocol:newVideoProtocol newAudioProtocol:newAudioProtocol transportDestroyed:false]; } else { SDLLogV(@"No need to disconnect the secondary transport. Starting new audio and video protocols"); [self sdl_startNewProtocolForAudio:newAudioProtocol forVideo:newVideoProtocol]; @@ -158,7 +158,7 @@ NS_ASSUME_NONNULL_BEGIN } - (void)transportClosed { - [self sdl_disconnectSecondaryTransportAndStartWithNewVideoProtocol:nil newAudioProtocol:nil transportDestroyed:true]; + [self sdl_reconnectSecondaryTransportWithNewVideoProtocol: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. |