PeerConnection
The PeerConnection. A PeerConnection will only concern one MediaStream.
Member Summary
| Public Members | ||
| public get | 
       isConnected: boolean: * Indicates if the PeerConnection is established based on ICE connection state  | 
    |
| public | 
      
       Indicates if the PeerConnection has been established.  | 
    |
| public | 
      
       The actual RTCPeerConnection  | 
    |
| public | 
      
       publish : a created peer connection or a remote one  | 
    |
| public | 
      
       The remote device  | 
    |
| public get | 
      
       The remote MediaStream  | 
    |
| public get | 
       socket: *  | 
    |
| public | 
      
       The stack identifier.  | 
    |
| public | 
      
       The stream id.  | 
    |
Method Summary
| Public Methods | ||
| public | 
       getMediaBitrateFromDesc(description: *, mediaType: *): *  | 
    |
| public | 
       setLowerMediaBitrates(description: *, remoteDescription: *): *  | 
    |
| public | 
       setMediaBitrates(description: *): *  | 
    |
Public Members
public get isConnected: boolean: * source
Indicates if the PeerConnection is established based on ICE connection state
public negotiated: boolean source
Indicates if the PeerConnection has been established. (Useful for renegotiation).
public get socket: * source
Public Methods
public getMediaBitrateFromDesc(description: *, mediaType: *): * source
Params:
| Name | Type | Attribute | Description | 
| description | * | ||
| mediaType | * | 
Return:
| * | 
public setLowerMediaBitrates(description: *, remoteDescription: *): * source
Params:
| Name | Type | Attribute | Description | 
| description | * | ||
| remoteDescription | * | 
Return:
| * | 
public setMediaBitrates(description: *): * source
Params:
| Name | Type | Attribute | Description | 
| description | * | 
Return:
| * | 
    
  