Bug 1080012 - Fennec no longer able to mirror tabs on chromecast. r=mfinkle, a=lmandel
authorRandall Barker <rbarker@mozilla.com>
Wed, 08 Oct 2014 15:50:29 -0700
changeset 225768 25b64ba60455
parent 225767 9d9abce3b2f2
child 225769 65f5bf99d815
push id4011
push userryanvm@gmail.com
push date2014-10-22 22:03 +0000
treeherdermozilla-beta@65f5bf99d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle, lmandel
bugs1080012
milestone34.0
Bug 1080012 - Fennec no longer able to mirror tabs on chromecast. r=mfinkle, a=lmandel
mobile/android/base/ChromeCast.java
mobile/android/modules/TabMirror.jsm
--- a/mobile/android/base/ChromeCast.java
+++ b/mobile/android/base/ChromeCast.java
@@ -32,17 +32,17 @@ import android.content.Context;
 import android.os.Bundle;
 import android.support.v7.media.MediaRouter.RouteInfo;
 import android.util.Log;
 
 /* Implementation of GeckoMediaPlayer for talking to ChromeCast devices */
 class ChromeCast implements GeckoMediaPlayer {
     private static final boolean SHOW_DEBUG = false;
 
-    static final String MIRROR_RECIEVER_APP_ID = "D40D28D6";
+    static final String MIRROR_RECIEVER_APP_ID = "5F72F863";
 
     private final Context context;
     private final RouteInfo route;
     private GoogleApiClient apiClient;
     private RemoteMediaPlayer remoteMediaPlayer;
     private boolean canMirror;
     private String mSessionId;
     private MirrorChannel mMirrorChannel;
--- a/mobile/android/modules/TabMirror.jsm
+++ b/mobile/android/modules/TabMirror.jsm
@@ -157,17 +157,17 @@ let TabMirror = function(deviceId, windo
     poll();
   };
 
 
   let config = {
     iceServers: [{ "url": "stun:stun.services.mozilla.com" }]
   };
 
-  let pc = new RTCPeerConnection(config, {});
+  pc = new RTCPeerConnection(config, {});
 
   if (!pc) {
     log("Failure creating Webrtc object");
     return;
   }
 
   pc.onicecandidate = on_ice_candidate;