Git Product home page Git Product logo

jplayer's Introduction

##jPlayer with RTMP Support

Author: Robert M. Hall - www.impossibilities.com

UPDATE 09/14/2012: The RTMP features of this fork have been pulled/merged into the main master repository here:
https://github.com/happyworm/jPlayer

MAIN INFO - About this FORK - UPDATED: 09/26/2011

Forked from: https://github.com/happyworm/jPlayer

This fork of Jplayer adds in basic support for RTMP based audio and video steams.

See it in use at http://www.daytrotter.com/ 

Added an example page showing video usage with "rtmpv" and the most recent jPlayer skin here:
http://clients.impossibilities.com/jplayer/rtmpv.html

( More examples coming soon... )

We are working to get it merged in with the master respository and branch that the author Mark J Panaghiston maintains here on GitHub.

Basic support and functionality is in place and working well, including some new advanced features.

Additional features listed in the RTMP_NOTES https://github.com/rmhall/jPlayer/blob/master/RTMP_NOTES document will come over time.

Please feel free to try this out and post any notes/issues here in the forks issues section.

Thanks!
Rob

Version History:

UPDATE: 10/21/2011

1. Video is now functioning properly. Several bug fixes related to video over rtmp are now in place allowing it to function as expected.
2. Optimized the buffering settings to provide a dual-threshold buffering approach for recorded/ondemand RTMP streams, and standard non dual-threshold buffering for LIVE content where technically there may not be anything to buffer.

UPDATE: 09/29/2011

1. Additional fixes related to live streams having duration of 0 which was preventing some pause/play branching from executing. 
2. Fix for pausing of live streams (they are closed now instead).
3. Fixed an issue where a paused or closed stream is left pause/closed for 3600 seconds (1 hour) the default idle timeout for most FMS server, was generating an idle timeout event and a netconnection.close, which was causing the player to restart. Now short circuit that, and it properly closes netconnection, netstream, resets status and waits for a new play, or setMedia.

UPDATE: 09/27/2011

1. Changed buffering settings to leverage optimal settings for LIVE rtmp streams of mp3/aac content, the 80% use case of this player. (If using NellyMoser or Speex over live rtmp streams, the buffering should be 0 - need to come up with a setting to allow this to be overridden, or change based on the metadata received from FMS server)

UPDATE: 09/26/2011

1. Live RTMP buffering bug (allowed glitches due to incorrect bufferTime and bufferTimeMax settings) fixed.

2. Everything is now in sync with the master 2.1 repo as of today. Now only customlogging and new features remain. Need to test existing mp3/mp4 and video features, and rtmp based video, but expect they should be fine.

3. Fixed an bug caused by the 2.1 version of jquery.jplayer.js - the time and scrubbar wouldn't update after the initial setMedia call.

UPDATE: 09/23/2011

1. The main jquery.jplayer.js version 2.1 dated 09/1/11 has now been merged into this fork, the version #s it requires the SWF to report are still the older versions as those haven't been updated yet, but have also checked in a number of other changes in the ActionScript and SWF's.

2. Temporarily in a state of flux at the moment as I am debugging some issues with LIVE rtmp streams, and adding in a new logging methods via localConnection to pipe logs/debug output to a standalone Adobe AIR based helper app (will commit that source soon).

3. Need to merge in a few changes from the master from the AS3 files, and then they will be pretty much in sync again, and will consider sending a new push Request to Mark.

4. Added support for re-using existing netConnection if only the stream/file has changed

5. Added some workarounds for rapid successive setMedia requests

6. Added some tweaks for proper LIVE rtmp stream support (bufferTime and bufferTimeMax settings for LIVE streams)

7. Added in a new helper class to support sending log/debug info over localConnection to a companion helper app written in Adobe AIR. Will check in the sources for it shortly. At the moment many log and debugevents are commented out.


UPDATE: 09/21/2011
1. Jplayer 2.1 is available now - will be merging 2.1 with this fork and checking in some updates and bug fixes soon - hang tight..

UPDATE: 8/12/2011
1. Initil commit of RTMP support additions/changes.

jplayer's People

Contributors

rmhall avatar thepag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jplayer's Issues

Unable to play .flv files

Hi,

I m new to jplayer and RTMP. I m working on a player to work with rtmp video streaming. I am providing the.flv file as the video but it doesn't work.

I downloaded your source code form github but didn't find how to use it. Can you tell me how to use code with rtmp. please give me some example with working rtmp player with any video file format.

Thanks
Moin

Streaming .FLV files using rtmpv is not supported

Hi,

I am facing a issue with .flv streaming using rtmpv. when i pass .mp4 everything worked well but when i use .flv nothing happend. i also tried your solution you provided me before.

my rtmp flv path is: rtmp://media2.us.elsevierhealth.com/ondemand/Graham_13_9780702052187/9780702047282_cardiovascular.flv

please help. its urgent

Regards,
Moin

firefox fullscreen issue

Hi Robert,

your example for mp4 with RTMP worked for me. Thank you so much.

I noticed 1 issue in firefox with the player when switching to full screen the video starts from beginning rather then the point when switching on to full screen but in chrome and IE its working perfectly.

please help

Thanks & regards
Moin

.flv video not working with RTMP

Hi again,

I m unable to play .flv video's with the rtmp code provided here. below is the code i m using to play .flv.

$("#jquery_jplayer_1").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
rtmpv: "rtmp://media2.us.elsevierhealth.com/ondemand/flv:lewis_medsurg8e_pageburst_smart_topics/lewis_assertive_communication_9780323075404_01.flv",
poster: "http://124.30.253.148/elsevier/std-player/construction/activity/Assertive_Communication/poster.png"
});
},
swfPath: "js",
solution: "flash",
supplied: "rtmpv",
preload: "metadata",
size: {
width: "482px",
height: "358px",
cssClass: "jp-video-360p"
}
});

Please help.

Thanks in advance.

Seek

Hi Rmhall

First of thanks for your work with the rtmp streaming for jplayer.

i have been working for the past few hours to try and get jplayer streaming flawlessly using rtmpa supplied streaming audio.

So i am pretty close with the help from your code but jplayer seems to have some really weird results when seeking.

I have a dummy page here http://jplayertest.users38.interdns.co.uk/

Did you experience any issues like this, or do you know a possible fix going to keep at it but thought it worth asking.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.