SignallingClient class abstract
What the signalling server reports; gstwebrtc-api implements it on web, fakes in tests.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
availableProducers(
) → List< String> - The producers announced so far.
-
listen(
{required void connected(), required void disconnected(), required void producerAdded(String producerId), required void producerRemoved(String producerId)}) → void - Registers the callbacks, once per client, for the page's lifetime.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openSession(
String producerId, {required void streaming(), required void failed()}) → ConsumerSessionHandle? -
A session on
producerId, ornullwhen the client refuses one. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited