Giter Club home page Giter Club logo

android-webrtc-api's People

Contributors

gleasonk avatar mgaetan89 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-webrtc-api's Issues

Cant run project

Hi,

So I imported the project and did not get any errors, but somehow I am unable to run the project the run button is greyed out. I tried to clean and rebuilt the project, thus I invalidated and restarted the project, but the button is still greyed out.

In addition I get an error if I try to add this:

compile 'me.kevingleason:pnwebrtc:1.0.6@aar'

in my dependencies. The error is following: Failed to resolve: pnwebrtc

Any idea what could cause this.

My Android Studio Version is 3.0.1

Where to implement stun / turn from xirsys

Hi,

I purchased a sirsys basic plan and I struggle to change the server credentials in this android project.
Where exactly do I need to implement the new server credentials.

First I thought that I need to change the servers listed in this class PnSignalingParams.java

public static List<PeerConnection.IceServer> defaultIceServers(){
        List<PeerConnection.IceServer> iceServers = new ArrayList<PeerConnection.IceServer>(25);

        // Extra Defaults - 19 STUN servers + 4 initial = 23 severs (+2 padding) = Array cap 25
        iceServers.add(new PeerConnection.IceServer("stun:stun1.l.google.com:19302"));
        iceServers.add(new PeerConnection.IceServer("stun:stun2.l.google.com:19302"));
        ....

        return iceServers;
}

But if I comment out the server the application still works. I thought that the server which are used in this app are implemented there. Where exactly is the location I need to fix?

Why doesn't PnPeer have to create answer and call setRemoteDescription?

Hi` @GleasonK,

I'm new at webrtc

I've read your source code and dont understand this snippet code in class PnPeerConnectionClient:

private class CreateAnswerAction implements PnAction{
public static final String TRIGGER = "offer";
public void execute(String peerId, JSONObject payload) throws JSONException {
Log.d("CAAction","CreateAnswerAction");
PnPeer peer = peers.get(peerId);
peer.setType(PnPeer.TYPE_OFFER);
peer.setStatus(PnPeer.STATUS_CONNECTED);
SessionDescription sdp = new SessionDescription(
SessionDescription.Type.fromCanonicalForm(payload.getString("type")),
payload.getString("sdp")
);
peer.pc.setRemoteDescription(peer, sdp);
peer.pc.createAnswer(peer, signalingParams.pcConstraints);
}
}

private class SetRemoteSDPAction implements PnAction{
    public static final String TRIGGER = "answer";
    public void execute(String peerId, JSONObject payload) throws JSONException {
        Log.d("SRSAction","SetRemoteSDPAction");
        PnPeer peer = peers.get(peerId);
        SessionDescription sdp = new SessionDescription(
                SessionDescription.Type.fromCanonicalForm(payload.getString("type")),
                payload.getString("sdp")
        );
        peer.pc.setRemoteDescription(peer, sdp);
    }
}`

It looks useless and isnt used anywhere else. As I understand, the recipient has to create an answer and call setRemoteDescription. So could you explain it please?

Thank in advance.

How to listen for the Hangup Packets?

I am trying to get notified when a User Y rejects the call of User X. User Y publishes the Hangup package like mentioned here but there is no documentation on how to and where should we listen for the Hangup message on the Caller's app?

New PubNub Instance on every Activity?

Hi,
Currently I'm working in the prototype of my own app for Android. I would like
use the PubNub services to do video streaming and calls, I just started to learn
how PubNub API and their services works.

I have been checking the example about AndroidRTC , and I noticed that on every activity where PubNub Services is required, a new instance is created therefore a new login everytime.
This is correct or this object should be in a singleton class?
and How I can do logout of PubNub?

In advance, Thanks!!!!

other user cann't call me

pnRTCClient.listenOn("Username");

if i pass username as Avani then olny avani can call to other user but other user not calling me

Broadcast - Android-webrtc-api

Hi @GleasonK,
Currently I'm working on a Broadcasting app. I started from this post, I am using your libraries to do the broadcaster side, but now I'm working in the viewer side, so I would like to know how I should setup the connection to use one-way or how the user would only see and listen the broadcasting without use your own camera and mic.

Thanks!! :)

pubnub subscribe error on listen method

hi @GleasonK ,i had error Can you help me, please!?
at com.pubnub.api.PubnubCore.subscribe(Unknown Source)
at com.pubnub.api.Pubnub.subscribe(Unknown Source)
at com.pubnub.api.PubnubCore.subscribe(Unknown Source)
at com.pubnub.api.Pubnub.subscribe(Unknown Source)
at com.example.l.videocall.PnRt.PnPeerConnectionClient.subscribe(PnPeerConnectionClient.java:106)
at com.example.l.videocall.PnRt.PnPeerConnectionClient.listenOn(PnPeerConnectionClient.java:72)
at com.example.l.videocall.PnRt.PnRTCClient.listenOn(PnRTCClient.java:123)
at com.example.l.videocall.VideoChatActivity.onCreate(VideoChatActivity.java:103)

A find a bug and i cannot under please help me

Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.

Illegal char <:> at index 2: \C:\Users\Gaurav Pandey.gradle\caches\transforms-1\files-1.1\libjingle-9694.aar\70d03a5cecbc95a438750f465b057ccc\jars\libs\libjingle_peerconnection.jar....\tmplMrzJR.empty

Audio/Video Streaming:One side stream only

Callee is not able to get caller side A/V stream. The caller's SDP has audio and video constraints
reconly:
**a=mid:audio
.
.
a=recvonly

a=mid:video
.
.
a=recvonly**

How to enable both side stream?

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.