-
Notifications
You must be signed in to change notification settings - Fork 52
How to tell if video of remote participant is pause/unpause (APP SDK)? #39
Comments
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 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. |
@rahulyaa any progress on this? Is it fixed in 1.0.3? |
I use below code:
ParticipantVideo participantVideo = this.remoteParticipantLeader.getParticipantVideo();
participantVideo.subscribe(this.mmvrSurfaceView);
But ppVideo.isPaused() alway return false. Plz help me
The text was updated successfully, but these errors were encountered: