classes/Input/EncodingProviders/Zencoder.php
public function progress()
    {
        try {
            $progress = $this->sdk()->jobs->progress($this->model->job_id);
            if ($progress->state == 'finished') {
                return 100;
            }

            return $progress->progress;
        } catch (\Exception $e) {
            return 0;
        }
    }
public function progress()
    {
        try {
            $progress = $this->sdk()->jobs->progress($this->model->job_id);
            if ($progress->state == 'finished') {
                return 100;
            }

            return $progress->progress;
        } catch (\Exception $e) {
            return 0;
        }
    }
public function progress ( ) { try { $ progress = $ this -> sdk ( ) -> jobs -> progress ( $ this -> model -> job_id ) ; if ( $ progress -> state == 'finished' ) { return 100 ; } return $ progress -> progress ; } catch ( \ Exception $ e ) { return 0 ; } }
Return the encoding percentage as an int

@return int 0-100
Return the encoding percentage as an int