Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

420 B
Raw Blame
import { AbstractOwnedVideoPublication } from './abstract-owned-video-publication.js'

export class OwnedPublicationAfterTranscoding extends AbstractOwnedVideoPublication {

  isDisabled () {
    // Don't notify if didn't wait for transcoding or video is still blacklisted/waiting for scheduled update
    return !this.payload.waitTranscoding || !!this.payload.VideoBlacklist || !!this.payload.ScheduleVideoUpdate
  }
}