RTSPConnection.readUsec

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.

class RTSPConnection
readUsec
(
ubyte[] data
,
long timeout
)

Parameters

data ubyte[]

the data to read

timeout long

a timeout value in microseconds

Return Value

Type: gstrtsp.types.RTSPResult

#GST_RTSP_OK on success.