Open dcmen opened 7 years ago
Me too.
participantVideo.addOnPropertyChangedCallback(new Observable.OnPropertyChangedCallback() {
@Override
public void onPropertyChanged(Observable observable, int i) {
if(observable instanceof ParticipantVideo) {
switch (i) {
case ParticipantVideo.PARTICIPANT_VIDEO_PAUSED_PROPERTY_ID:
//get pause status
break;
}
}
};
I have a workaround for this bug, which lets me detect remote video pause/unpause so I can hide or show the remote video view on remote video (un)pause.
I encountered this defect in the SfB Android App SDK, in all versions from 0.5 to the current 1.1 Hopefully the SfB App SDK for Android team will fix this soon! Are you watching guys?
Here is my workaround :
This works reasonably well in most meeting connect flows but it is a bit brittle; missing paused changed messages can result in the video window remaining visible while external video is paused.
@dcmen @guoGavin @VincentH-Net I will look into this one. Thanks for reporting this.
@rahulyaa any progress on this? Is it fixed in 1.0.3? (1.0.3 has been out for 10 days now but without any release notes on what was fixed / changed. 1.0.3 is not even mentioned on https://msdn.microsoft.com/en-us/skype/appsdk/releasenotes)
I use below code: ParticipantVideo participantVideo = this.remoteParticipantLeader.getParticipantVideo(); participantVideo.subscribe(this.mmvrSurfaceView);
But ppVideo.isPaused() alway return false. Plz help me