Multicast class

Defines the multicast settings that could be used for video streaming.

Annotations
  • @JsonSerializable()

Constructors

Multicast({required Address address, required int port, required int ttl, required bool autoStart})
Multicast.fromJson(Map<String, dynamic> json)
factory

Properties

address Address
The multicast address (if this address is set to 0 no multicast streaming is enaled)
final
autoStart bool
Read only property signalling that streaming is persistant. Use the methods StartMulticastStreaming and StopMulticastStreaming to switch its state.
final
hashCode int
The hash code for this object.
no setterinherited
port int
The RTP mutlicast destination port. A device may support RTCP. In this case the port value shall be even to allow the corresponding RTCP stream to be mapped to the next higher (odd) destination port number as defined in the RTSP specification.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ttl int
In case of IPv6 the TTL value is assumed as the hop limit. Note that for IPV6 and administratively scoped IPv4 multicast the primary use for hop limit / TTL is to prevent packets from (endlessly) circulating and not limiting scope. In these cases the address contains the scope.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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