Skip to content

Commit c62fcb6

Browse files
committed
Updated to use the most recent WebRTC files. Pushed to version 1.0.6
1 parent 4da4fb9 commit c62fcb6

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ In your application's `build.gradle`, you will first need to include a few depen
2929
```gradle
3030
dependencies {
3131
...
32-
compile 'io.pristine:libjingle:9127@aar'
33-
compile 'me.kevingleason:pnwebrtc:1.0.5@aar'
32+
compile 'io.pristine:libjingle:9694@aar'
33+
compile 'me.kevingleason:pnwebrtc:1.0.6@aar'
3434
compile 'com.pubnub:pubnub-android:3.7.4' //optional
3535
}
3636
```

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1818
# org.gradle.parallel=true
1919

20-
VERSION_NAME=1.0.5
20+
VERSION_NAME=1.0.6
2121
VERSION_CODE=6
2222
GROUP=me.kevingleason
2323

pnwebrtc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ android {
2121

2222
dependencies {
2323
compile fileTree(dir: 'libs', include: ['*.jar'])
24-
compile 'io.pristine:libjingle:9127@aar'
24+
compile 'io.pristine:libjingle:9694@aar'
2525
compile 'com.pubnub:pubnub-android:3.7.4'
2626
}
2727

pnwebrtc/src/main/java/me/kevingleason/pnwebrtc/PnPeer.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public String getId() {
9494
public void hangup(){
9595
if (this.status.equals(STATUS_DISCONNECTED)) return; // Already hung up on.
9696
this.pcClient.removePeer(this.id);
97-
setStatus(STATUS_DISCONNECTED); // Todo: Consider <- necessary? depends when onIceConnectionChange is called.
97+
setStatus(STATUS_DISCONNECTED);
9898
}
9999

100100
@Override
@@ -131,11 +131,17 @@ public void onSignalingChange(PeerConnection.SignalingState signalingState) {
131131
public void onIceConnectionChange(PeerConnection.IceConnectionState iceConnectionState) {
132132
if (this.status.equals(STATUS_DISCONNECTED)) return; // Already hung up on.
133133
if (iceConnectionState == PeerConnection.IceConnectionState.DISCONNECTED) {
134-
pcClient.removePeer(id); // Should I remove? TODO: Ponder. Also, might want to Pub a disconnect.
134+
pcClient.removePeer(id); // TODO: Ponder. Also, might want to Pub a disconnect.
135135
setStatus(STATUS_DISCONNECTED);
136136
}
137137
}
138138

139+
// Todo: Look into what this should be used for
140+
@Override
141+
public void onIceConnectionReceivingChange(boolean iceConnectionReceivingChange){
142+
143+
}
144+
139145
@Override
140146
public void onIceGatheringChange(PeerConnection.IceGatheringState iceGatheringState) {
141147
}

0 commit comments

Comments
 (0)