Class NostrRTCOfferSignal
java.lang.Object
org.ngengine.nostr4j.rtc.signal.NostrRTCSignal
org.ngengine.nostr4j.rtc.signal.NostrRTCOfferSignal
- All Implemented Interfaces:
Serializable
A webRTC offer to connect with a peer, with the peer pubkey, sdp and metadata.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNostrRTCOfferSignal(NostrSigner localSigner, NostrKeyPair roomKeyPair, SignedNostrEvent event) NostrRTCOfferSignal(NostrSigner localSigner, NostrKeyPair roomKeyPair, NostrRTCPeer peer, String offerString) -
Method Summary
Modifier and TypeMethodDescriptionvoidawait()protected final org.ngengine.platform.AsyncTask<UnsignedNostrEvent> computeEvent(UnsignedNostrEvent event) protected final booleanMethods inherited from class NostrRTCSignal
computeRoomProofChallenge, decrypt, encrypt, getPeer, getRoomPubkey, requiresRoomProof, signForRoom, toEvent, toString, verifyRoomProof
-
Constructor Details
-
NostrRTCOfferSignal
public NostrRTCOfferSignal(NostrSigner localSigner, NostrKeyPair roomKeyPair, NostrRTCPeer peer, String offerString) -
NostrRTCOfferSignal
public NostrRTCOfferSignal(NostrSigner localSigner, NostrKeyPair roomKeyPair, SignedNostrEvent event)
-
-
Method Details
-
getOfferString
-
await
public void await()- Overrides:
awaitin classNostrRTCSignal
-
computeEvent
protected final org.ngengine.platform.AsyncTask<UnsignedNostrEvent> computeEvent(UnsignedNostrEvent event) - Specified by:
computeEventin classNostrRTCSignal
-
requireRoomSignature
protected final boolean requireRoomSignature()- Specified by:
requireRoomSignaturein classNostrRTCSignal
-