Skip to content
This repository has been archived by the owner on Jul 8, 2019. It is now read-only.

Commit

Permalink
Update TranscodeSintelToDASHAndHLS.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Miglar committed Jun 30, 2015
1 parent f922253 commit 6ab6a0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/TranscodeSintelToDASHAndHLS.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class TranscodeSintelToDASHAndHLS
@bitAPI = Bitcodin::BitcodinAPI.new(@apiKey)

# create http config
@httpConfig = Bitcodin::HTTPInputConfig.new('http://ftp.nluug.nl/pub/graphics/blender/demo/movies/Sintel.2010.720p.mkv')
@httpConfig = Bitcodin::HTTPInputConfig.new('http://eu-storage.bitcodin.com/inputs/Sintel.2010.720p.mkv')

begin
response = @bitAPI.createInput(@httpConfig)
Expand All @@ -32,7 +32,7 @@ class TranscodeSintelToDASHAndHLS
manifestTypes = []
manifestTypes.push(Bitcodin::ManifestType::MPEG_DASH_MPD)
manifestTypes.push(Bitcodin::ManifestType::HLS_M3U8)
@job = Bitcodin::Job.new(@inputId, 7353, manifestTypes)
@job = Bitcodin::Job.new(@inputId, 8588, manifestTypes)

# create job
begin
Expand All @@ -48,4 +48,4 @@ class TranscodeSintelToDASHAndHLS

puts "Created job with ID: #{@jobId}."

end
end

0 comments on commit 6ab6a0f

Please sign in to comment.