DiscoveryHandler class
OverMedia Discovery Handler - Client-side protocol methods
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getPlaybackUrl(
P2PStream stream, {required String recordingId, required String peerId, int? expiryHours}) → Future< OverMediaResponse> - Get playback URL for a recording
-
popularHosts(
P2PStream stream, {int? limit}) → Future< OverMediaResponse> - Get popular hosts
-
queryLive(
P2PStream stream, {int? limit, int? offset, List< String> ? tags}) → Future<OverMediaResponse> - Query live rooms
-
queryRecordings(
P2PStream stream, {int? limit, int? offset, String? hostPeerId, String? sortBy}) → Future< OverMediaResponse> - Query recordings
-
registerPaymentXpub(
P2PStream stream, {required String xpub, required String signature, required String hostPeerId}) → Future< OverMediaResponse> - Register a payment xpub
-
sendRequest(
P2PStream stream, Map< String, dynamic> request) → Future<OverMediaResponse> - Send a raw request map (for forward compatibility)
-
trackPlay(
P2PStream stream, {required String recordingId, required String peerId}) → Future< OverMediaResponse> - Track a recording play
-
trendingTags(
P2PStream stream, {int? limit}) → Future< OverMediaResponse> - Get trending tags
Constants
- protocolId → const String