-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0
-
None
-
-
d67d2d6ded1fd2613107649f70c2f2b9d37f7a7a (qt/qtmultimedia/dev) 10f7c93ba39bc53d4b888d47a250e2a6f57e368f (qt/qtmultimedia/6.2)
-
2021wk42POAndroid&Mobile, 2021wk44POAndroid&Mobile
Kit: Android Qt 6.2.0 Clang armeabi-v7a
Video Source: https://bhaart.s3.ap-south-1.amazonaws.com/sri_ramachandra_kripalu.mkv
The above video has multiple audio tracks. To perform a proof of concept, I switched the audio track by setting the mediaPlayer.activeAudioTrack property. See code snippet below.
Window {
...
MediaPlayer {
id: mediaPlayer
...
}
VideoOutput {
id: videoOutput
anchors.fill: parent
TapHandler {
onSingleTapped: { mediaPlayer.activeAudioTrack = 2 }
}
}
}
Expected Result 1: The new audio track should start playing. This worked as expected. ![]()
Expected Result 2: There should be some signal that is fired when the MediaPlayer successfully switches to the new audio track. This did not work as expected. ![]()
I tried catching multiple signals but none of the below signals got fired:
- onActiveAudioTrackChanged
- onActiveTracksChanged
- onTracksChanged
- onAudioTracksChanged
Questions:
- Can you please confirm this is a bug?
- Which signals are expected to get fired when we switch an audio track?
- resulted in
-
QTBUG-97909 Implement MediaPlayer Buffering Listener
-
- Closed
-
- mentioned in
-
Page Loading...