RTSPConnection.writeUsec

Attempt to write size bytes of data to 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
writeUsec
(
ubyte[] data
,
long timeout
)

Parameters

data ubyte[]

the data to write

timeout long

a timeout value or 0

Return Value

Type: gstrtsp.types.RTSPResult

#GST_RTSP_OK on success.