mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix camera video recording with music in background
This commit is contained in:
parent
e6994ded28
commit
4195dcf129
@ -75,6 +75,10 @@ const NSInteger PGCameraFrameRate = 30;
|
|||||||
_preferredCameraPosition = position;
|
_preferredCameraPosition = position;
|
||||||
|
|
||||||
_currentAudioSession = [[SMetaDisposable alloc] init];
|
_currentAudioSession = [[SMetaDisposable alloc] init];
|
||||||
|
|
||||||
|
self.automaticallyConfiguresApplicationAudioSession = false;
|
||||||
|
self.usesApplicationAudioSession = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user