mxcubeweb.core.components.sampleview#

Classes

HttpStreamer()

Implements 'MJPEG' streaming from the sample view camera.

SampleView(app, config)

class mxcubeweb.core.components.sampleview.HttpStreamer[source]#

Bases: object

Implements ‘MJPEG’ streaming from the sample view camera.

Provides get_response() method, that creates a Response object, that will stream JPEG images from the sample view camera, in ‘multipart’ HTTP response format.

get_response() Response[source]#

build new Response object, that will send frames to the client

Return type:

Response