Hello !
I’m used to work on both plateforms OSX and Windows (mainly OSX) and at the moment I’m dealing with Video integration using the VideoComponent class.
I want to implement the public attributes for fonction callback, namely
std::function<void()> VideoComponent::onPlaybackStopped
On OSX the callback works well, but nothing happen on windows, the callback does not occur, neither for onPlaybackStopped nor onPlaybackStarted.
I’m using the same syntax on both systems :
" videoComponent.onPlaybackStarted = this {DBG("\n\n video has started !\n"); };"
in order to simply test the callback.
Is that right this way ? Maybe I have to chnge syntax for windows use ?
Thanks a lot for your help ! Cheers