Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dash_timeline_validator

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dash_timeline_validator

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Dash Timeline Validator

This tool allows you to validate your MPEG Dash manifest to find if there are errors related to the presentation timeline model.

Example

Docker Usage

docker run -e VERIFY_SEGMENTS_DURATION=false --rm -it anafrombr/dash_timeline_validator https://storage.googleapis.com/shaka-live-assets/player-source.mpd

Installation

Add this line to your application's Gemfile:

gem 'dash_timeline_validator'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dash_timeline_validator

Usage

Run this program passing the manifest path.

dash_timeline_validator https://storage.googleapis.com/shaka-live-assets/player-source.mpd

Options

  • ACCEPTABLE_DRIFT *(default 2)* - the minimum duration drift acceptable between the sequential segments
  • DEFAULT_PRESENTATION_DELAY *(default 10)* - the delay in seconds of the live edge
  • BUFFERED_SEGMENTS *(default 2)* - the number of segments buffered by the player to generate the live edge
  • VERIFY_SEGMENTS_DURATION *(default false)* - check the duration of every segment when setted to true (warn: this will download every segment of the manifest)
  • ANALYZER_FOLDER *(default "data/[HASH]")* - folder used to download the files
  • ANALYZER_MANIFEST_PATH *(default "#{ANALYZER_FOLDER}/manifest.mpd")* - manifest path

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/globocom/dash_timeline_validator.

FAQs

Package last updated on 12 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc