Skip to content

Jamy is a streaming Audio player for Node.Js aiming to support MSE compatible sources

License

Notifications You must be signed in to change notification settings

TinyMan/node-jamy

Repository files navigation

Jamy

Greenkeeper badge Build Status codecov Dependency Status devDependencies contributions welcome Code Climate npm version

Jamy is a streaming Audio player for Node.Js aiming to support MSE compatible sources

Class: Jamy

playbackOptions: PlaybackOptions , Playback options for the transcoder

seekable: boolean , True if the stream is seekable

stream: Stream.PassThrough , The output stream

currentTime: number , The current time of the presentation, in seconds

playing: boolean , True if Jamy is playing something

Jamy.play(infos)

Plays a media

Parameters

infos: MediaInfos, Describes the media source

Jamy.stop()

Stops the playback and kill transcoder

Jamy.resume()

Resumes the playback

Jamy.pause()

Pauses the playback

Jamy.seek(time)

Seeks the given time in seconds If the media is not seekable, does nothing but emit and error

Parameters

time: number, Timecode in seconds. If negative, timecode will be substracted from the end

About

Jamy is a streaming Audio player for Node.Js aiming to support MSE compatible sources

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •