Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data OutputMode
- data ArchiveResolution
- data ArchiveOptions
- archiveOpts :: ArchiveOptions
- data ArchiveStatus
- data Archive
- start :: Client -> ArchiveOptions -> IO (Either OTError Archive)
- stop :: Client -> ArchiveId -> IO (Either OTError Archive)
Documentation
data OutputMode Source #
Composed means that streams will be composed into a single file
Individual means that an individual file will be created for each stream
Instances
data ArchiveResolution Source #
SD (Standard Definition 640 x 480)
HD (High Definition 1280 x 720)
Instances
Show ArchiveResolution Source # | |
Defined in OpenTok.Archive showsPrec :: Int -> ArchiveResolution -> ShowS # show :: ArchiveResolution -> String # showList :: [ArchiveResolution] -> ShowS # | |
ToJSON ArchiveResolution Source # | |
Defined in OpenTok.Archive toJSON :: ArchiveResolution -> Value # toEncoding :: ArchiveResolution -> Encoding # toJSONList :: [ArchiveResolution] -> Value # toEncodingList :: [ArchiveResolution] -> Encoding # | |
FromJSON ArchiveResolution Source # | |
Defined in OpenTok.Archive parseJSON :: Value -> Parser ArchiveResolution # parseJSONList :: Value -> Parser [ArchiveResolution] # |
data ArchiveOptions Source #
Defines options for an Archive
sessionId: The session to be archived
hasAudio: Whether the archive will record audio
hasVideo: Whether the archive will record video
name: The name of the archive
Whether all streams in the archive are recorded to a
single file (Composed
) or to individual files (Individual
)
The resolution of the archive, either SD
(the default, 640 x 480),
or HD
(1280 x 720)
Instances
data ArchiveStatus Source #
Status of an OpenTok Archive
Instances
An OpenTok Archive
Archive { id ::String
, status ::String
, createdAt ::Integer
, size ::Float
, partnerId ::Int
, url :: MaybeString
, resolution ::ArchiveResolution
, outputMode ::OutputMode
, hasAudio ::Bool
, hasVideo ::Bool
, reason ::String
, name ::String
, updatedAt ::Integer
, duration ::Float
, sessionId ::String
}