+ return this.server.servers.waitUntilLog(`${videoUUID}/${segmentName}`, totalSessions * 2, false)
+ }
+
+ getSegment (options: OverrideCommandOptions & {
+ videoUUID: string
+ playlistNumber: number
+ segment: number
+ }) {
+ const { playlistNumber, segment, videoUUID } = options
+
+ const segmentName = `${playlistNumber}-00000${segment}.ts`
+ const url = `${this.server.url}/static/streaming-playlists/hls/${videoUUID}/${segmentName}`
+
+ return this.getRawRequest({
+ ...options,
+
+ url,
+ implicitToken: false,
+ defaultExpectedStatus: HttpStatusCode.OK_200
+ })