Comments (4)
Yes you can. Similar to the sample, you can subscribe to each participants video. Take a look at the sfmdemo project, VideoFragment.java, VideoStreamSurfaceCreatedCallback method.
from skype-android-app-sdk-samples.
@rahulyaa I have created another MMVRSurfaceView , i want to show 4 users video, Is there any thing for
Participant.Role.LEADER that i need to change.
I have also set setMaxVideoChannelCount = 100;
If possible can you please share some code. Thanks in advance.
from skype-android-app-sdk-samples.
@rahulyaa I have make some changes in the method, Please check below code.
public void VideoStreamSurfaceCreatedCallback(MMVRSurfaceView mmvrSurfaceView) {
this.mmvrSurfaceView = mmvrSurfaceView;
this.mmvrSurfaceView.setAutoFitMode(MMVRSurfaceView.MMVRAutoFitMode_Crop);
-
this.mmvrSurfaceView.requestRender();
try { for (Participant participant : this.remoteParticipants) { //if (participant.getRole() == Participant.Role.LEADER) { Person p=participant.getPerson(); String nm=p.getDisplayName(); if(nm.equalsIgnoreCase("user1")) { this.remoteParticipantLeader = participant; ParticipantVideo participantVideo = this.remoteParticipantLeader.getParticipantVideo(); participantVideo.subscribe(this.mmvrSurfaceView); }else if(nm.equalsIgnoreCase("user2")) { this.remoteParticipantLeader2 = participant; ParticipantVideo participantVideo = this.remoteParticipantLeader2.getParticipantVideo(); participantVideo.subscribe(this.mmvrSurfaceView2); } else if(nm.equalsIgnoreCase("user3")) { this.remoteParticipantLeader3 = participant; ParticipantVideo participantVideo = this.remoteParticipantLeader3.getParticipantVideo(); participantVideo.subscribe(this.mmvrSurfaceView3); } break; //} } }catch (Exception e) { e.printStackTrace(); } this.getActivity().runOnUiThread(new Runnable() { @Override public void run() { updateState(); } });
}
The Error i got is : com.microsoft.office.sfb.appsdk.SFBException: Failed to display participant video
But in video preview it shows only black , nothing else, Let me know what is wrong i am doing???
Please reply asap, I am waiting for the response.
from skype-android-app-sdk-samples.
@Amihir1 Did you resolve this? All all the participants in the meeting leaders?
Participant.Role.LEADER
from skype-android-app-sdk-samples.
Related Issues (20)
- videoService.setPaused() failed HOT 1
- Failed to load native library HOT 2
- videoService canStart/canStop always returning false since 1.3.0.0 HOT 4
- Skype api integration in native android app HOT 1
- Display name is not returned HOT 1
- ParticipantVideo.isPause() always return false .
- com.microsoft.office.sfb.appsdk.SFBException: GetActiveCamera Failed
- Can browse a presented PowerPoint even when an attendee
- JNI DETECTED ERROR IN APPLICATION: JNI GetStaticMethodID called with pending exception java.lang.ClassNotFoundException
- Rotate Camera Preview HOT 1
- Not possible to login: continue button is out of screen HOT 1
- Failed to resolve: :SkypeForBusinessTelemetryService: HOT 4
- Security Warning - Certificate prompt for wrong domain name
- How to upstream ARCore rendered content or achieve screen sharing
- JOIN MEETING button not working in GusestMeetingJoinDemo for android sample and ConversationPropertyChangeListener never called HOT 1
- Group Chat Name Not Changed
- Crash in Application.getInstance(Context), System.loadLibrary("acomo"); on Android API 29 HOT 4
- Auto focus not working
- skype can't handle deeplink if opened with deep link
- Terms of service check box is getting Multiplied after selecting Wallet or Net banking in skype
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skype-android-app-sdk-samples.