WHIP class

Constructors

WHIP({required String url, Map<String, String>? headers})

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
getter/setter pair
lastError Object?
getter/setter pair
mode WhipMode
getter/setter pair
onState ↔ (dynamic Function(WhipState)?)
getter/setter pair
onTrack ↔ (dynamic Function(RTCTrackEvent)?)
getter/setter pair
pc ↔ RTCPeerConnection?
getter/setter pair
resourceURL String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state WhipState
getter/setter pair
url String
final
videoCodec String?
getter/setter pair

Methods

close() → void
connect() Future<void>
initlize({required WhipMode mode, MediaStream? stream, String? videoCodec}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onicecandidate(RTCIceCandidate? candidate) → void
setPreferredCodec(RTCSessionDescription description, {String audioCodec = 'opus', String videoCodec = 'vp8'}) → void
setState(WhipState newState) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited