viam.media

Submodules

Package Contents

Classes

MediaReader

MediaSource

MediaStream

MediaStreamWithIterator

Attributes

MediaType

class viam.media.MediaReader[source]

Bases: Protocol[MediaType]

async read() MediaType[source]
class viam.media.MediaSource[source]

Bases: Protocol[MediaType]

async stream() MediaStream[MediaType][source]
class viam.media.MediaStream[source]

Bases: Protocol[MediaType]

async next() MediaType[source]
__aiter__() collections.abc.AsyncIterator[source]
async __anext__() MediaType[source]
class viam.media.MediaStreamWithIterator(stream: collections.abc.AsyncIterator[MediaType])[source]

Bases: MediaStream[MediaType]

async next() MediaType[source]
__aiter__()[source]
async __anext__() MediaType[source]
viam.media.MediaType