RTSPWatch.sendMessage

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.

Parameters

message gstrtsp.rtspmessage.RTSPMessage

a #GstRTSPMessage

id uint

location for a message ID or null

Return Value

Type: gstrtsp.types.RTSPResult

#GST_RTSP_OK on success.