File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,10 +14,6 @@ const CONTENT_LENGTH_RE = /Content-Length:\s*(\d+)/i;
1414/**
1515 * Extracts individual JPEG frames out of a multipart MJPEG-over-HTTP byte stream by
1616 * scanning for JPEG start/end-of-image markers and the multipart `Content-Length` header.
17- *
18- * `@appium/support`'s `mjpeg` helper (which used to provide this via the external
19- * `mjpeg-consumer` package) is deprecated and slated for removal, so this driver
20- * implements the parsing on its own.
2117 */
2218class MjpegFrameParser extends Transform {
2319 private buffer : Buffer | null = null ;
@@ -113,9 +109,6 @@ const noop = () => {};
113109/**
114110 * Connects to an MJPEG-over-HTTP stream and keeps track of the last JPEG frame received,
115111 * so that it can be used as a cheap, low-latency screenshot source.
116- *
117- * This is vendored from `@appium/support`'s deprecated `mjpeg.MJpegStream`, which is
118- * slated for removal ("Consumers are expected to implement MJpegStream class on their side").
119112 */
120113export class MJpegStream extends Writable {
121114 readonly errorHandler : ( err : Error ) => void ;
You can’t perform that action at this time.
0 commit comments