Adds a #GstRTSPWatch to a context so that it will be executed within that context.
Get the maximum amount of bytes and messages that will be queued in watch. See gstrtsp.rtspwatch.RTSPWatch.setSendBacklog.
Reset watch, this is usually called after gstrtsp.rtspconnection.RTSPConnection.doTunnel when the file descriptors of the connection might have changed.
Send a message using the connection of the watch. If it cannot be sent immediately, it will be queued for transmission in watch. The contents of message will then be serialized and transmitted when the connection of the watch becomes writable. In case the message is queued, the ID returned in id will be non-zero and used as the ID argument in the message_sent callback.
Sends messages using the connection of the watch. If they cannot be sent immediately, they will be queued for transmission in watch. The contents of messages will then be serialized and transmitted when the connection of the watch becomes writable. In case the messages are queued, the ID returned in id will be non-zero and used as the ID argument in the message_sent callback once the last message is sent. The callback will only be called once for the last message.
When flushing is true, abort a call to gstrtsp.rtspwatch.RTSPWatch.waitBacklog and make sure gstrtsp.rtspwatch.RTSPWatch.writeData returns immediately with #GST_RTSP_EINTR. And empty the queue.
Set the maximum amount of bytes and messages that will be queued in watch. When the maximum amounts are exceeded, gstrtsp.rtspwatch.RTSPWatch.writeData and gstrtsp.rtspwatch.RTSPWatch.sendMessage will return #GST_RTSP_ENOMEM.
Wait until there is place in the backlog queue, timeout is reached or watch is set to flushing.
Wait until there is place in the backlog queue, timeout is reached or watch is set to flushing.
Opaque RTSP watch object that can be used for asynchronous RTSP operations.