WebRTCPeer

Inherits: PacketPeer < Reference < Object

Inherited By: WebRTCPeerGDNative

Category: Core

Brief Description

Properties

WriteMode write_mode

Signals

Enumerations

enum WriteMode:

  • WRITE_MODE_TEXT = 0
  • WRITE_MODE_BINARY = 1

enum ConnectionState:

  • STATE_NEW = 0
  • STATE_CONNECTING = 1
  • STATE_CONNECTED = 2
  • STATE_DISCONNECTED = 3
  • STATE_FAILED = 4
  • STATE_CLOSED = 5

Property Descriptions

Setter set_write_mode(value)
Getter get_write_mode()

Method Descriptions

  • bool was_string_packet ( ) const