jamy
v0.3.0
Published
Jamy is a streaming Audio player for Node.Js aiming to support MSE compatible sources
Downloads
2
Readme
Jamy
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