RTSPConnection.accept
gstrtsp.types.RTSPResult accept(gio.socket.Socket socket, out gstrtsp.rtspconnection.RTSPConnection conn, gio.cancellable.Cancellable cancellable = null)Accept a new connection on socket and create a new #GstRTSPConnection for handling communication on new socket.
Parameters
socket | a socket |
conn | storage for a #GstRTSPConnection |
cancellable | a #GCancellable to cancel the operation |
Returns
#GST_RTSP_OK when conn contains a valid connection.