RTSPConnection.receive
gstrtsp.types.RTSPResult receive(gstrtsp.rtspmessage.RTSPMessage message, glib.time_val.TimeVal timeout)Attempt to read into message from the connected conn, blocking up to the specified timeout. timeout can be null, in which case this function might block forever.
This function can be cancelled with [gstrtsp.rtspconnection.RTSPConnection.flush].
Parameters
message | the message to read |
timeout | a timeout value or null |
Returns
#GST_RTSP_OK on success.