Skip to content
  • Peter Kjellerstedt's avatar
    rtsp: Added new API for sending using GstRTSPWatch. · 066f9be5
    Peter Kjellerstedt authored
    The new API to send messages using GstRTSPWatch will first try to send the
    message immediately. Then, if that failed (or the message was not sent
    fully), it will queue the remaining message for later delivery. This avoids
    unnecessary context switches, and makes it possible to keep track of
    whether the connection is blocked (the unblocking of the connection is
    indicated by the reception of the message_sent signal).
    
    This also deprecates the old API (gst_rtsp_watch_queue_data() and
    gst_rtsp_watch_queue_message().)
    
    API: gst_rtsp_watch_write_data()
    API: gst_rtsp_watch_send_message()
    066f9be5