Skip to content
  • Wim Taymans's avatar
    rtsp: massive refactoring · de7c72de
    Wim Taymans authored
    Make GObjects from the remaining simple structures.
    Remove GstRTSPSessionStream, it's not needed.
    Rename GstRTSPMediaStream -> GstRTSPStream: It is shorter
    Rename GstRTSPMediaTrans -> GstRTSPStreamTransport: It describes how
      a GstRTSPStream should be transported to a client.
    Rename GstRTSPMediaFactory::get_element -> create_element because that
      more accurately describes what it does.
    Make nice methods instead of poking in the structures.
    Move some methods inside the relevant object source code.
    Use GPtrArray to store objects instead of plain arrays, it is more
      natural and allows us to more easily clean up.
    Move the allocation of udp ports to the Stream object. The Stream object
      contains the elements needed to stream the media to a client.
    Improve the prepare and unprepare methods. Unprepare should now undo
      everything prepare did. Improve also async unprepare when doing EOS on
      shutdown. Make sure we always unprepare correctly.
    de7c72de