| OLD | NEW | 
|    1 This directory contains an example Unity native plugin for Windows OS. |    1 This directory contains an example Unity native plugin for Windows OS and Androi
     d. | 
 |    2  | 
|    2 The APIs use Platform Invoke (P/Invoke) technology as required by Unity native p
     lugin. |    3 The APIs use Platform Invoke (P/Invoke) technology as required by Unity native p
     lugin. | 
|    3 This plugin dll can also be used by Windows C# applications other than Unity. |    4 This plugin dll can also be used by Windows C# applications other than Unity. | 
|    4  |    5  | 
 |    6 For detailed build instruction on Android, see ANDROID_INSTRUCTION | 
 |    7  | 
|    5 An example of wrapping native plugin into a C# managed class in Unity is given a
     s following: |    8 An example of wrapping native plugin into a C# managed class in Unity is given a
     s following: | 
|    6  |    9  | 
|    7 using System; |   10 using System; | 
|    8 using System.Collections.Generic; |   11 using System.Collections.Generic; | 
|    9 using System.Runtime.InteropServices; |   12 using System.Runtime.InteropServices; | 
|   10  |   13  | 
|   11 namespace SimplePeerConnectionM { |   14 namespace SimplePeerConnectionM { | 
|   12   // A class for ice candidate. |   15   // A class for ice candidate. | 
|   13   public class IceCandidate { |   16   public class IceCandidate { | 
|   14     public IceCandidate(string candidate, int sdpMlineIndex, string sdpMid) { |   17     public IceCandidate(string candidate, int sdpMlineIndex, string sdpMid) { | 
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  297  |  300  | 
|  298     private LocalSdpReadytoSendInternalDelegate localSdpReadytoSendDelegate = nu
     ll; |  301     private LocalSdpReadytoSendInternalDelegate localSdpReadytoSendDelegate = nu
     ll; | 
|  299     public event LocalSdpReadytoSendDelegate OnLocalSdpReadytoSend; |  302     public event LocalSdpReadytoSendDelegate OnLocalSdpReadytoSend; | 
|  300  |  303  | 
|  301     private IceCandiateReadytoSendInternalDelegate iceCandiateReadytoSendDelegat
     e = null; |  304     private IceCandiateReadytoSendInternalDelegate iceCandiateReadytoSendDelegat
     e = null; | 
|  302     public event IceCandiateReadytoSendDelegate OnIceCandiateReadytoSend; |  305     public event IceCandiateReadytoSendDelegate OnIceCandiateReadytoSend; | 
|  303  |  306  | 
|  304     private int mPeerConnectionId = -1; |  307     private int mPeerConnectionId = -1; | 
|  305   } |  308   } | 
|  306 } |  309 } | 
| OLD | NEW |