gstreamer-0.12.1.2: Binding to the GStreamer open source multimedia framework.

Portability | portable (depends on GHC)
Stability | alpha
Maintainer | gtk2hs-devel@lists.sourceforge.net
Safe Haskell | None

Media.Streaming.GStreamer.Core.Message

Description

Synopsis

- data Message
- class MiniObjectClass o => MessageClass o
- castToMessage :: MiniObjectClass obj => obj -> Message
- gTypeMessage :: GType
- data MessageType
  - = MessageEOS
  - | MessageError
  - | MessageWarning
  - | MessageInfo
  - | MessageTag
  - | MessageBuffering
  - | MessageStateChanged
  - | MessageStepDone
  - | MessageClockProvide
  - | MessageClockLost
  - | MessageNewClock
  - | MessageStructureChange
  - | MessageStreamStatus
  - | MessageApplication
  - | MessageElement
  - | MessageSegmentStart
  - | MessageSegmentDone
  - | MessageDuration
  - | MessageLatency
  - | MessageAsyncStart
  - | MessageAsyncDone
- messageTypeGetName :: MessageType -> String
- messageTypeToQuark :: MessageType -> Quark
- messageSrc :: Message -> Object
- messageTimestamp :: Message -> ClockTime
- messageType :: Message -> MessageType
- messageTypeName :: Message -> String
- messageStructure :: Message -> Structure
- messageNewApplication :: ObjectClass objectT => objectT -> Structure -> Message
- messageNewClockProvide :: (ObjectClass objectT, ClockClass clockT) => objectT -> clockT -> Bool -> Message
- messageNewClockLost :: (ObjectClass objectT, ClockClass clockT) => objectT -> clockT -> Message
- messageNewCustom :: ObjectClass objectT => MessageType -> objectT -> Maybe Structure -> Message
- messageNewElement :: ObjectClass objectT => objectT -> Maybe Structure -> Message
- messageNewEOS :: ObjectClass objectT => objectT -> Message
- messageNewError :: ObjectClass objectT => objectT -> GError -> String -> Message
- messageNewInfo :: ObjectClass objectT => objectT -> GError -> String -> Message
- messageNewNewClock :: (ObjectClass objectT, ClockClass clockT) => objectT -> clockT -> Message
- messageNewSegmentDone :: ObjectClass objectT => objectT -> Format -> Int64 -> Message
- messageNewSegmentStart :: ObjectClass objectT => objectT -> Format -> Int64 -> Message
- messageNewStateChanged :: ObjectClass objectT => objectT -> State -> State -> State -> Message
- messageNewTag :: ObjectClass objectT => objectT -> TagList -> Message
- messageNewBuffering :: ObjectClass objectT => objectT -> Int -> Message
- messageNewWarning :: ObjectClass objectT => objectT -> GError -> String -> Message
- messageNewDuration :: ObjectClass objectT => objectT -> Format -> Int64 -> Message
- messageNewStateDirty :: ObjectClass objectT => objectT -> Message
- messageNewLatency :: ObjectClass objectT => objectT -> Message
- messageParseClockLost :: Message -> Maybe Clock
- messageParseClockProvide :: Message -> Maybe (Clock, Bool)
- messageParseError :: Message -> Maybe (GError, String)
- messageParseInfo :: Message -> Maybe (GError, String)
- messageParseNewClock :: Message -> Maybe Clock
- messageParseSegmentDone :: Message -> Maybe (Format, Int64)
- messageParseSegmentStart :: Message -> Maybe (Format, Int64)
- messageParseStateChanged :: Message -> Maybe (State, State, State)
- messageParseTag :: Message -> Maybe TagList
- messageParseBuffering :: Message -> Maybe Int
- messageParseWarning :: Message -> Maybe (Maybe GError, Maybe String)
- messageParseDuration :: Message -> Maybe (Format, Int64)

# Documentation

data Message Source

Instances

Eq Message |
Ord Message |
MiniObjectClass Message |
MessageClass Message |

class MiniObjectClass o => MessageClass o Source

Instances

MessageClass Message |

castToMessage :: MiniObjectClass obj => obj -> Message Source

gTypeMessage :: GType Source

data MessageType Source

The messages types that may be sent by a pipeline.

Constructors

MessageEOS | end-of-stream
MessageError | an error message
MessageWarning | a warning message
MessageInfo | an informational message
MessageTag | a metadata tag
MessageBuffering | the pipeline is buffering
MessageStateChanged | the pipeline changed state
MessageStepDone | a framestep finished
MessageClockProvide | an element is able to provide a clock
MessageClockLost | the current clock has become unusable
MessageNewClock | a new clock was selected by the pipeline
MessageStructureChange | the structure of the pipeline has changed
MessageStreamStatus | a stream status message
MessageApplication | a message posted by the application
MessageElement | an element specific message
MessageSegmentStart | the pipeline started playback of a segment
MessageSegmentDone | the pipeline finished playback of a segment
MessageDuration | the duration of the pipeline changed
MessageLatency | an element's latency has changed
MessageAsyncStart | an element has started an async state change; used internally
MessageAsyncDone | an element has completed an async state change; used internally

Instances

Bounded MessageType |
Enum MessageType |
Eq MessageType |
Show MessageType |
Flags MessageType |

messageTypeGetName :: MessageType -> String Source

messageTypeToQuark :: MessageType -> Quark Source

messageSrc :: Message -> Object Source

messageTimestamp :: Message -> ClockTime Source

messageType :: Message -> MessageType Source

messageTypeName :: Message -> String Source

messageStructure :: Message -> Structure Source

messageNewApplication :: ObjectClass objectT => objectT -> Structure -> Message Source

messageNewClockProvide :: (ObjectClass objectT, ClockClass clockT) => objectT -> clockT -> Bool -> Message Source

messageNewClockLost :: (ObjectClass objectT, ClockClass clockT) => objectT -> clockT -> Message Source

messageNewCustom :: ObjectClass objectT => MessageType -> objectT -> Maybe Structure -> Message Source

messageNewElement :: ObjectClass objectT => objectT -> Maybe Structure -> Message Source

messageNewEOS :: ObjectClass objectT => objectT -> Message Source

messageNewError :: ObjectClass objectT => objectT -> GError -> String -> Message Source

messageNewInfo :: ObjectClass objectT => objectT -> GError -> String -> Message Source

messageNewNewClock :: (ObjectClass objectT, ClockClass clockT) => objectT -> clockT -> Message Source

messageNewSegmentDone :: ObjectClass objectT => objectT -> Format -> Int64 -> Message Source

messageNewSegmentStart :: ObjectClass objectT => objectT -> Format -> Int64 -> Message Source

messageNewStateChanged :: ObjectClass objectT => objectT -> State -> State -> State -> Message Source

messageNewTag :: ObjectClass objectT => objectT -> TagList -> Message Source

messageNewBuffering :: ObjectClass objectT => objectT -> Int -> Message Source

messageNewWarning :: ObjectClass objectT => objectT -> GError -> String -> Message Source

messageNewDuration :: ObjectClass objectT => objectT -> Format -> Int64 -> Message Source

messageNewStateDirty :: ObjectClass objectT => objectT -> Message Source

messageNewLatency :: ObjectClass objectT => objectT -> Message Source

messageParseClockLost :: Message -> Maybe Clock Source

messageParseClockProvide :: Message -> Maybe (Clock, Bool)Source

messageParseError :: Message -> Maybe (GError, String)Source

messageParseInfo :: Message -> Maybe (GError, String)Source

messageParseNewClock :: Message -> Maybe Clock Source

messageParseSegmentDone :: Message -> Maybe (Format, Int64)Source

messageParseSegmentStart :: Message -> Maybe (Format, Int64)Source

messageParseStateChanged :: Message -> Maybe (State, State, State)Source

messageParseTag :: Message -> Maybe TagListSource

messageParseBuffering :: Message -> Maybe Int Source

messageParseWarning :: Message -> Maybe (Maybe GError, Maybe String)Source

messageParseDuration :: Message -> Maybe (Format, Int64)Source