RTSPConnection.readUsec
gstrtsp.types.RTSPResult readUsec(ubyte[] data, long timeout)Attempt to read size bytes into data from the connected conn, blocking up to the specified timeout. timeout can be 0, in which case this function might block forever.
This function can be cancelled with [gstrtsp.rtspconnection.RTSPConnection.flush].
Parameters
data | the data to read |
timeout | a timeout value in microseconds |
Returns
#GST_RTSP_OK on success.