openPipeWireRemote

fun openPipeWireRemote(sessionHandle: DBusPath): Result<FileDescriptor>(source)

Opens a PipeWire remote for the given session, returning a file descriptor that can be passed to a PipeWire client to access the stream.

Must be called after start succeeds.

Return

Result containing a file descriptor for the PipeWire remote.

Parameters

sessionHandle

Object path for the session created via createSession.


fun openPipeWireRemote(): Result<FileDescriptor>(source)

Opens a PipeWire remote using the active session handle.

Must be called after startSession succeeds.

Return

Result containing a file descriptor for the PipeWire remote.