diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-04-30 11:37:17 +0200 |
---|---|---|
committer | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-09-10 14:52:27 +0200 |
commit | ab57d0efd91542aa542e3204bc01f8c894181efa (patch) | |
tree | 1a9de87b38c655b49e6fb278d5890ea4289d4cb8 /src/plugins/gstreamer/camerabin/camerabinimageprocessing.h | |
parent | cdd87907722aff14c393dba02b7e43c924b60d06 (diff) |
AVF: Set playback audio session category while playing
Since when the application is active and then moved into the background
then audio can be played fine.
But if the application is already in the background then it will not play the audio.
Decided to set AVAudioSessionCategoryPlayback with AVAudioSessionCategoryOptionMixWithOthers
to audio session, which leads to restart playing from the background.
Fixes: QTBUG-69949
Change-Id: I18fb4904b0810b7dfb63585278edbb8ee2f02d05
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/gstreamer/camerabin/camerabinimageprocessing.h')
0 files changed, 0 insertions, 0 deletions