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

Instances

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

class MiniObjectClass o => MessageClass o

Instances

MessageClass Message |

castToMessage :: MiniObjectClass obj => obj -> Message

gTypeMessage :: GType

data MessageType

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

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)