RTSPConnection.read

Attempt to read size bytes into data 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

data ubyte[]

the data to read

timeout glib.time_val.TimeVal

a timeout value or null

Return Value

Type: gstrtsp.types.RTSPResult

#GST_RTSP_OK on success.