Git Product home page Git Product logo

Comments (18)

AkshayBarad avatar AkshayBarad commented on June 3, 2024 2

I'm having some trouble. when participant join room only audio track work.
participant video track not load.
CustomTwilioVideoView.java

if (participant.getVideoTracks().size() > 0) {
            Log.i("CustomTwilioVideoView", "Participant DOES HAVE VIDEO TRACKS");
            addParticipantVideo(
                    participant,
                    participant.getVideoTracks().get(0)
            );
        } else {
            Log.i("CustomTwilioVideoView", "Participant DOES NOT HAVE VIDEO TRACKS");

        }

In this case i everytime see "Participant DOES NOT HAVE VIDEO TRACKS".

from react-native-twilio-video-webrtc.

auggernaut avatar auggernaut commented on June 3, 2024 2

I'm noticing this too @AkshayBarad. Participant Audio works. No video.

react-native: 0.50.4
react-native-twilio-video-webrtc: 1.0.2
Between devices: Pixel 1 and iPhone 6

from react-native-twilio-video-webrtc.

slycoder avatar slycoder commented on June 3, 2024 1

What does your onParticipantAddedVideoTrack handler look like?

from react-native-twilio-video-webrtc.

slycoder avatar slycoder commented on June 3, 2024 1

Yes, android currently does not support multiple (i.e > 2) participants.

from react-native-twilio-video-webrtc.

bilby91 avatar bilby91 commented on June 3, 2024 1

We have an open PR for that :)

from react-native-twilio-video-webrtc.

slycoder avatar slycoder commented on June 3, 2024

The Android version doesn't have all the functionality of the iOS version quite yet; this particular callback may not be up to snuff yet.

We're totally open to PRs if you wanna take a stab at supporting this; otherwise I might have time to work on this in the next few days as well.

from react-native-twilio-video-webrtc.

slycoder avatar slycoder commented on June 3, 2024

Do you mind letting me know what fields in particular you're looking for?

from react-native-twilio-video-webrtc.

ttlpta avatar ttlpta commented on June 3, 2024

Same issue with android connect to android..

from react-native-twilio-video-webrtc.

timmeh-m avatar timmeh-m commented on June 3, 2024

Sorry the late response.

_onParticipantAddedVideoTrack = ({participant, track}) => {
//participant and track contain values on iOS, but not on android; both fields are undefined
}

I actually got around this issue, the Android version in the example you've done is able to display the remote video feed from whatever platform (not sure how that works given it's not being set in react-native unlike the iOS counterpart which does, perhaps that's something you've done under the hood), but for my project as long as the functions are being called what they contain is irrelevant.

from react-native-twilio-video-webrtc.

bilby91 avatar bilby91 commented on June 3, 2024

Hello @timmeh-m !

I just reviewed a little bit the Android version and it seems to be implemented so you should be receiving the track and participant when a videoTrack is added.

If you are not getting this information on Android I guess that we probably have a bug. Can you confirm my assumptions @slycoder ?

from react-native-twilio-video-webrtc.

slycoder avatar slycoder commented on June 3, 2024

It's a bug in the library ... fix is on its way.

from react-native-twilio-video-webrtc.

bilby91 avatar bilby91 commented on June 3, 2024

@timmeh-m @ttlpta Can you try master branch ?

from react-native-twilio-video-webrtc.

ttlpta avatar ttlpta commented on June 3, 2024

screen shot 2017-08-09 at 3 03 50 pm

I pulled code at master so i have met this bug when test android connect to android. IOS is still OK

from react-native-twilio-video-webrtc.

slycoder avatar slycoder commented on June 3, 2024

Ruh roh, looks like update hotspot issue again. Do you have some sample code you can share which reproduces the issue?

from react-native-twilio-video-webrtc.

ttlpta avatar ttlpta commented on June 3, 2024

Sorry, I have clone and run agains. It's fine. When I try to join many participant to the conversation like IOS. It has this bug. Android dont allow to do that? And it show many empty ParticipantView
20750900_1136328649802652_1674792855_n

from react-native-twilio-video-webrtc.

ttlpta avatar ttlpta commented on June 3, 2024

Thank you very much

from react-native-twilio-video-webrtc.

mousikosk avatar mousikosk commented on June 3, 2024

@slycoder Thanks for the library. Any chance supporting multiple participants on android is in the pipeline?

from react-native-twilio-video-webrtc.

thanhnvpk01168 avatar thanhnvpk01168 commented on June 3, 2024

hi @slycoder @timmeh-m @auggernaut @AkshayBarad @bilby91
Can you help me?
I have the same problem: Android device camera cannot be tracked by onParticipantAdded/RemovedVideoTrack.
thanks in advance

from react-native-twilio-video-webrtc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.