Closed kingctan closed 10 years ago
you could try attach to some event
.mediaPlayerPlaying
for example, and do the same there
I tried, attach the mediaPlayerPlaying event and send playnextinfo. it's the same as before. channel and volume can't be change in QML.
then I change volume and channel in the event slot function,it also can't. why?
Thanks.
then you could try to do it in on first (or second/third ) fire of .mediaPlayerPositionChanged
the player audio channel always is 0(stereo) when player loaded and can't be change to Left or Right util the video played for a while. I want to change the channel from the beginning when playing.
//////////////added: the situation: I play video in C++, and then send a signal to notify QML to change the audio channel and the volume, I found it not work when setting channel and volume in QML. for example: in C++:
in QML:
QML received the signal but it not work to set the player.
/////added end.