Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- createOffer :: MonadDOM m => RTCPeerConnection -> Maybe RTCOfferOptions -> m RTCSessionDescriptionInit
- createOffer_ :: MonadDOM m => RTCPeerConnection -> Maybe RTCOfferOptions -> m ()
- createAnswer :: MonadDOM m => RTCPeerConnection -> Maybe RTCAnswerOptions -> m RTCSessionDescriptionInit
- createAnswer_ :: MonadDOM m => RTCPeerConnection -> Maybe RTCAnswerOptions -> m ()
- setLocalDescription :: MonadDOM m => RTCPeerConnection -> RTCSessionDescriptionInit -> m ()
- setRemoteDescription :: MonadDOM m => RTCPeerConnection -> RTCSessionDescriptionInit -> m ()
- addIceCandidate :: (MonadDOM m, IsRTCIceCandidateOrInit candidate) => RTCPeerConnection -> candidate -> m ()
- getConfiguration :: MonadDOM m => RTCPeerConnection -> m RTCConfiguration
- getConfiguration_ :: MonadDOM m => RTCPeerConnection -> m ()
- setConfiguration :: MonadDOM m => RTCPeerConnection -> RTCConfiguration -> m ()
- close :: MonadDOM m => RTCPeerConnection -> m ()
- getSenders :: MonadDOM m => RTCPeerConnection -> m [RTCRtpSender]
- getSenders_ :: MonadDOM m => RTCPeerConnection -> m ()
- getReceivers :: MonadDOM m => RTCPeerConnection -> m [RTCRtpReceiver]
- getReceivers_ :: MonadDOM m => RTCPeerConnection -> m ()
- getTransceivers :: MonadDOM m => RTCPeerConnection -> m [RTCRtpTransceiver]
- getTransceivers_ :: MonadDOM m => RTCPeerConnection -> m ()
- addTrack :: (MonadDOM m, IsMediaStreamTrack track) => RTCPeerConnection -> track -> [MediaStream] -> m RTCRtpSender
- addTrack_ :: (MonadDOM m, IsMediaStreamTrack track) => RTCPeerConnection -> track -> [MediaStream] -> m ()
- removeTrack :: MonadDOM m => RTCPeerConnection -> RTCRtpSender -> m ()
- addTransceiverTrack :: (MonadDOM m, IsMediaStreamTrackOrKind track) => RTCPeerConnection -> track -> Maybe RTCRtpTransceiverInit -> m RTCRtpTransceiver
- addTransceiverTrack_ :: (MonadDOM m, IsMediaStreamTrackOrKind track) => RTCPeerConnection -> track -> Maybe RTCRtpTransceiverInit -> m ()
- createDataChannel :: (MonadDOM m, ToJSString label) => RTCPeerConnection -> label -> Maybe RTCDataChannelInit -> m RTCDataChannel
- createDataChannel_ :: (MonadDOM m, ToJSString label) => RTCPeerConnection -> label -> Maybe RTCDataChannelInit -> m ()
- getStats :: (MonadDOM m, IsMediaStreamTrack selector) => RTCPeerConnection -> Maybe selector -> m RTCStatsReport
- getStats_ :: (MonadDOM m, IsMediaStreamTrack selector) => RTCPeerConnection -> Maybe selector -> m ()
- getLocalStreams :: MonadDOM m => RTCPeerConnection -> m [MediaStream]
- getLocalStreams_ :: MonadDOM m => RTCPeerConnection -> m ()
- getRemoteStreams :: MonadDOM m => RTCPeerConnection -> m [MediaStream]
- getRemoteStreams_ :: MonadDOM m => RTCPeerConnection -> m ()
- getStreamById :: (MonadDOM m, ToJSString streamId) => RTCPeerConnection -> streamId -> m MediaStream
- getStreamById_ :: (MonadDOM m, ToJSString streamId) => RTCPeerConnection -> streamId -> m ()
- addStream :: MonadDOM m => RTCPeerConnection -> MediaStream -> m ()
- removeStream :: MonadDOM m => RTCPeerConnection -> MediaStream -> m ()
- getLocalDescription :: MonadDOM m => RTCPeerConnection -> m (Maybe RTCSessionDescription)
- getLocalDescriptionUnsafe :: (MonadDOM m, HasCallStack) => RTCPeerConnection -> m RTCSessionDescription
- getLocalDescriptionUnchecked :: MonadDOM m => RTCPeerConnection -> m RTCSessionDescription
- getCurrentLocalDescription :: MonadDOM m => RTCPeerConnection -> m (Maybe RTCSessionDescription)
- getCurrentLocalDescriptionUnsafe :: (MonadDOM m, HasCallStack) => RTCPeerConnection -> m RTCSessionDescription
- getCurrentLocalDescriptionUnchecked :: MonadDOM m => RTCPeerConnection -> m RTCSessionDescription
- getPendingLocalDescription :: MonadDOM m => RTCPeerConnection -> m (Maybe RTCSessionDescription)
- getPendingLocalDescriptionUnsafe :: (MonadDOM m, HasCallStack) => RTCPeerConnection -> m RTCSessionDescription
- getPendingLocalDescriptionUnchecked :: MonadDOM m => RTCPeerConnection -> m RTCSessionDescription
- getRemoteDescription :: MonadDOM m => RTCPeerConnection -> m (Maybe RTCSessionDescription)
- getRemoteDescriptionUnsafe :: (MonadDOM m, HasCallStack) => RTCPeerConnection -> m RTCSessionDescription
- getRemoteDescriptionUnchecked :: MonadDOM m => RTCPeerConnection -> m RTCSessionDescription
- getCurrentRemoteDescription :: MonadDOM m => RTCPeerConnection -> m (Maybe RTCSessionDescription)
- getCurrentRemoteDescriptionUnsafe :: (MonadDOM m, HasCallStack) => RTCPeerConnection -> m RTCSessionDescription
- getCurrentRemoteDescriptionUnchecked :: MonadDOM m => RTCPeerConnection -> m RTCSessionDescription
- getPendingRemoteDescription :: MonadDOM m => RTCPeerConnection -> m (Maybe RTCSessionDescription)
- getPendingRemoteDescriptionUnsafe :: (MonadDOM m, HasCallStack) => RTCPeerConnection -> m RTCSessionDescription
- getPendingRemoteDescriptionUnchecked :: MonadDOM m => RTCPeerConnection -> m RTCSessionDescription
- getSignalingState :: MonadDOM m => RTCPeerConnection -> m RTCSignalingState
- getIceGatheringState :: MonadDOM m => RTCPeerConnection -> m RTCIceGatheringState
- getIceConnectionState :: MonadDOM m => RTCPeerConnection -> m RTCIceConnectionState
- getConnectionState :: MonadDOM m => RTCPeerConnection -> m RTCPeerConnectionState
- negotiationNeeded :: EventName RTCPeerConnection Event
- iceCandidate :: EventName RTCPeerConnection RTCIceCandidateEvent
- signalingStateChange :: EventName RTCPeerConnection Event
- iceConnectionStateChange :: EventName RTCPeerConnection Event
- icegatheringstatechange :: EventName RTCPeerConnection onicegatheringstatechange
- connectionstatechange :: EventName RTCPeerConnection onconnectionstatechange
- track :: EventName RTCPeerConnection ontrack
- dataChannel :: EventName RTCPeerConnection Event
- addStreamEvent :: EventName RTCPeerConnection Event
- newtype RTCPeerConnection = RTCPeerConnection {}
- gTypeRTCPeerConnection :: JSM GType
Documentation
createOffer :: MonadDOM m => RTCPeerConnection -> Maybe RTCOfferOptions -> m RTCSessionDescriptionInit Source #
createOffer_ :: MonadDOM m => RTCPeerConnection -> Maybe RTCOfferOptions -> m () Source #
createAnswer :: MonadDOM m => RTCPeerConnection -> Maybe RTCAnswerOptions -> m RTCSessionDescriptionInit Source #
createAnswer_ :: MonadDOM m => RTCPeerConnection -> Maybe RTCAnswerOptions -> m () Source #
setLocalDescription :: MonadDOM m => RTCPeerConnection -> RTCSessionDescriptionInit -> m () Source #
setRemoteDescription :: MonadDOM m => RTCPeerConnection -> RTCSessionDescriptionInit -> m () Source #
addIceCandidate :: (MonadDOM m, IsRTCIceCandidateOrInit candidate) => RTCPeerConnection -> candidate -> m () Source #
getConfiguration :: MonadDOM m => RTCPeerConnection -> m RTCConfiguration Source #
getConfiguration_ :: MonadDOM m => RTCPeerConnection -> m () Source #
setConfiguration :: MonadDOM m => RTCPeerConnection -> RTCConfiguration -> m () Source #
close :: MonadDOM m => RTCPeerConnection -> m () Source #
getSenders :: MonadDOM m => RTCPeerConnection -> m [RTCRtpSender] Source #
getSenders_ :: MonadDOM m => RTCPeerConnection -> m () Source #
getReceivers :: MonadDOM m => RTCPeerConnection -> m [RTCRtpReceiver] Source #
getReceivers_ :: MonadDOM m => RTCPeerConnection -> m () Source #
getTransceivers :: MonadDOM m => RTCPeerConnection -> m [RTCRtpTransceiver] Source #
getTransceivers_ :: MonadDOM m => RTCPeerConnection -> m () Source #
addTrack :: (MonadDOM m, IsMediaStreamTrack track) => RTCPeerConnection -> track -> [MediaStream] -> m RTCRtpSender Source #
addTrack_ :: (MonadDOM m, IsMediaStreamTrack track) => RTCPeerConnection -> track -> [MediaStream] -> m () Source #
removeTrack :: MonadDOM m => RTCPeerConnection -> RTCRtpSender -> m () Source #
addTransceiverTrack :: (MonadDOM m, IsMediaStreamTrackOrKind track) => RTCPeerConnection -> track -> Maybe RTCRtpTransceiverInit -> m RTCRtpTransceiver Source #
addTransceiverTrack_ :: (MonadDOM m, IsMediaStreamTrackOrKind track) => RTCPeerConnection -> track -> Maybe RTCRtpTransceiverInit -> m () Source #
createDataChannel :: (MonadDOM m, ToJSString label) => RTCPeerConnection -> label -> Maybe RTCDataChannelInit -> m RTCDataChannel Source #
createDataChannel_ :: (MonadDOM m, ToJSString label) => RTCPeerConnection -> label -> Maybe RTCDataChannelInit -> m () Source #
getStats :: (MonadDOM m, IsMediaStreamTrack selector) => RTCPeerConnection -> Maybe selector -> m RTCStatsReport Source #
getStats_ :: (MonadDOM m, IsMediaStreamTrack selector) => RTCPeerConnection -> Maybe selector -> m () Source #
getLocalStreams :: MonadDOM m => RTCPeerConnection -> m [MediaStream] Source #
getLocalStreams_ :: MonadDOM m => RTCPeerConnection -> m () Source #
getRemoteStreams :: MonadDOM m => RTCPeerConnection -> m [MediaStream] Source #
getRemoteStreams_ :: MonadDOM m => RTCPeerConnection -> m () Source #
getStreamById :: (MonadDOM m, ToJSString streamId) => RTCPeerConnection -> streamId -> m MediaStream Source #
getStreamById_ :: (MonadDOM m, ToJSString streamId) => RTCPeerConnection -> streamId -> m () Source #
addStream :: MonadDOM m => RTCPeerConnection -> MediaStream -> m () Source #
removeStream :: MonadDOM m => RTCPeerConnection -> MediaStream -> m () Source #
getLocalDescription :: MonadDOM m => RTCPeerConnection -> m (Maybe RTCSessionDescription) Source #
getLocalDescriptionUnsafe :: (MonadDOM m, HasCallStack) => RTCPeerConnection -> m RTCSessionDescription Source #
getCurrentLocalDescription :: MonadDOM m => RTCPeerConnection -> m (Maybe RTCSessionDescription) Source #
getCurrentLocalDescriptionUnsafe :: (MonadDOM m, HasCallStack) => RTCPeerConnection -> m RTCSessionDescription Source #
getCurrentLocalDescriptionUnchecked :: MonadDOM m => RTCPeerConnection -> m RTCSessionDescription Source #
getPendingLocalDescription :: MonadDOM m => RTCPeerConnection -> m (Maybe RTCSessionDescription) Source #
getPendingLocalDescriptionUnsafe :: (MonadDOM m, HasCallStack) => RTCPeerConnection -> m RTCSessionDescription Source #
getPendingLocalDescriptionUnchecked :: MonadDOM m => RTCPeerConnection -> m RTCSessionDescription Source #
getRemoteDescription :: MonadDOM m => RTCPeerConnection -> m (Maybe RTCSessionDescription) Source #
getRemoteDescriptionUnsafe :: (MonadDOM m, HasCallStack) => RTCPeerConnection -> m RTCSessionDescription Source #
getRemoteDescriptionUnchecked :: MonadDOM m => RTCPeerConnection -> m RTCSessionDescription Source #
getCurrentRemoteDescription :: MonadDOM m => RTCPeerConnection -> m (Maybe RTCSessionDescription) Source #
getCurrentRemoteDescriptionUnsafe :: (MonadDOM m, HasCallStack) => RTCPeerConnection -> m RTCSessionDescription Source #
getCurrentRemoteDescriptionUnchecked :: MonadDOM m => RTCPeerConnection -> m RTCSessionDescription Source #
getPendingRemoteDescription :: MonadDOM m => RTCPeerConnection -> m (Maybe RTCSessionDescription) Source #
getPendingRemoteDescriptionUnsafe :: (MonadDOM m, HasCallStack) => RTCPeerConnection -> m RTCSessionDescription Source #
getPendingRemoteDescriptionUnchecked :: MonadDOM m => RTCPeerConnection -> m RTCSessionDescription Source #
getSignalingState :: MonadDOM m => RTCPeerConnection -> m RTCSignalingState Source #
getIceGatheringState :: MonadDOM m => RTCPeerConnection -> m RTCIceGatheringState Source #
getConnectionState :: MonadDOM m => RTCPeerConnection -> m RTCPeerConnectionState Source #
icegatheringstatechange :: EventName RTCPeerConnection onicegatheringstatechange Source #
connectionstatechange :: EventName RTCPeerConnection onconnectionstatechange Source #
track :: EventName RTCPeerConnection ontrack Source #
newtype RTCPeerConnection Source #
Functions for this inteface are in JSDOM.RTCPeerConnection. Base interface functions are in:
Instances
PToJSVal RTCPeerConnection Source # | |
Defined in JSDOM.Types pToJSVal :: RTCPeerConnection -> JSVal # | |
PFromJSVal RTCPeerConnection Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> RTCPeerConnection # | |
ToJSVal RTCPeerConnection Source # | |
Defined in JSDOM.Types toJSVal :: RTCPeerConnection -> JSM JSVal # toJSValListOf :: [RTCPeerConnection] -> JSM JSVal # | |
FromJSVal RTCPeerConnection Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe RTCPeerConnection) # fromJSValUnchecked :: JSVal -> JSM RTCPeerConnection # fromJSValListOf :: JSVal -> JSM (Maybe [RTCPeerConnection]) # fromJSValUncheckedListOf :: JSVal -> JSM [RTCPeerConnection] # | |
MakeObject RTCPeerConnection Source # | |
Defined in JSDOM.Types makeObject :: RTCPeerConnection -> JSM Object # | |
IsEventTarget RTCPeerConnection Source # | |
Defined in JSDOM.Types | |
IsGObject RTCPeerConnection Source # | |
Defined in JSDOM.Types typeGType :: RTCPeerConnection -> JSM GType |