Giter Club home page Giter Club logo

Comments (1)

edwin-pixel-1 avatar edwin-pixel-1 commented on July 18, 2024

I've been reading the code of your example. But I have some questions.

  1. The method pnRTCClient.connect("User2_channel"); is needed in both sides of a call(Peer to peer)? What happen if only one side call it?

2.The method pnRTCClient.listenOn("myChannel") , is used to listen calls. Is through this method that the user start to get the remote video and messages?

I've been trying to do the below setup to do video-broadcast:

  • UserA (Broadcaster) and UserB (Viewer)
    • UserA (Bc):
      • Go to Broadcast Activity
      • Create everything needed, like:
        • pnRTCClient, localVideoSource, AudioSource, AudioTrack, localRender, etc
      • Call pnRTCClient.listenOn with a channel called "ch-user-a-broacast"
    • User B (Vw):
      • Go to Broadcast Activity with a reference of broadcast channel name
      • Create:
        • PeepRTCClient
        • mediaStream(empty without localVideoTrack, localAudioTrack)
      • The viewer doesn't call pnRTCClient.listenOn
      • Call pnRTCClient.connect with the channel name "ch-user-a-broacast"

But, it doesn't works!!!

I would appreciate any suggestion!!
Thanks! :)

from android-webrtc-api.

Related Issues (12)

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.