| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 import android.os.Bundle; | 26 import android.os.Bundle; |
| 27 import android.util.Log; | 27 import android.util.Log; |
| 28 import android.view.View; | 28 import android.view.View; |
| 29 import android.view.Window; | 29 import android.view.Window; |
| 30 import android.view.WindowManager.LayoutParams; | 30 import android.view.WindowManager.LayoutParams; |
| 31 import android.widget.Toast; | 31 import android.widget.Toast; |
| 32 | 32 |
| 33 import org.webrtc.IceCandidate; | 33 import org.webrtc.IceCandidate; |
| 34 import org.webrtc.SessionDescription; | 34 import org.webrtc.SessionDescription; |
| 35 import org.webrtc.StatsReport; | 35 import org.webrtc.StatsReport; |
| 36 import org.webrtc.RendererCommon.ScalingType; |
| 36 import org.webrtc.VideoRenderer; | 37 import org.webrtc.VideoRenderer; |
| 37 import org.webrtc.VideoRendererGui; | 38 import org.webrtc.VideoRendererGui; |
| 38 import org.webrtc.VideoRendererGui.ScalingType; | |
| 39 | 39 |
| 40 /** | 40 /** |
| 41 * Activity for peer connection call setup, call waiting | 41 * Activity for peer connection call setup, call waiting |
| 42 * and call view. | 42 * and call view. |
| 43 */ | 43 */ |
| 44 public class CallActivity extends Activity | 44 public class CallActivity extends Activity |
| 45 implements AppRTCClient.SignalingEvents, | 45 implements AppRTCClient.SignalingEvents, |
| 46 PeerConnectionClient.PeerConnectionEvents, | 46 PeerConnectionClient.PeerConnectionEvents, |
| 47 CallFragment.OnCallEvents { | 47 CallFragment.OnCallEvents { |
| 48 | 48 |
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 639 } | 639 } |
| 640 } | 640 } |
| 641 }); | 641 }); |
| 642 } | 642 } |
| 643 | 643 |
| 644 @Override | 644 @Override |
| 645 public void onPeerConnectionError(final String description) { | 645 public void onPeerConnectionError(final String description) { |
| 646 reportError(description); | 646 reportError(description); |
| 647 } | 647 } |
| 648 } | 648 } |
| OLD | NEW |