Results 1 to 5 of 5

Thread: rtp-live + JWPlayer

  1. #1
    Join Date
    Jul 2011
    Posts
    3

    Default rtp-live + JWPlayer

    Hi,

    I set up the first Instructions from the Tutorial How to publish and play a live stream (MPEG-TS based encoder) for Flash only. I used a Hardware encoder and everything works fine with the Sample Client under [install-dir]/examples/LiveVideoStreaming/client/live.html with
    Server: rtmp://localhost/rtplive
    Stream: mpegts.stream

    My mpegts.stream containts udp://0.0.0.0:10000.

    Now I tried to use JWPlayer 4 or 5 instead of the sample above but I didn't get the Totorial Using JW Player 5.x with Wowza Server or Using JW Player 4 with Wowza Server working with JWPlayer 5.7 or 4.6 for my Setup.

    It seams that the File isn't working ...

    I want to have minimal buffer length and autoplay since latency is important.

  2. #2
    Join Date
    Dec 2007
    Posts
    27,864

    Default

    In JW Player 5, be sure to add provider=rtmp

    Code:
    Flashvars = "streamer=rtmp://localhost/rtplive&file=mpegts.stream&provider=rtmp"
    Richard

  3. #3
    Join Date
    Jul 2011
    Posts
    3

    Default Doesn't work with provider=RTMP

    Hi, my html-File looks like this:

    Code:
    <html>
    <head>
    </head>
    <body>
    	
    <embed
      flashvars="file=mpegts.stream&streamer=rtmp://localhost:1935/live&provider=rtmp"
      allowfullscreen="true"
      allowscripaccess="always"
      id="player1"
      name="player1"
      src="player.swf"
      width="480"
      height="270"
    />
    
    </body>
    </html>
    I use version 5.7 of JWPlayer. I see the Player and if I hit play it shows the Message "Could not connect to application Error #2028" for some millisecs.
    After that the "loading Symbol" starts spinning and nothing more happens.

    I switched to live because I now tested the second Application with support for all technics. I also tried to use localhost without a port... or using the LAN Adress of my server...
    Last edited by Alex_g83; 07-21-2011 at 05:38 AM. Reason: adding information

  4. #4
    Join Date
    Dec 2007
    Posts
    27,864

    Default

    If Wowza is running as a service, stop the service and run in stand-alone (/bin/startup.bat) so you can see log output. What do you see when you click play? If nothing, then you are not connecting to Wowza. Maybe the port is not open. Otherwise there should be some useful log output

    Richard

  5. #5
    Join Date
    May 2010
    Posts
    18

    Default

    Forgive, I badly write in English. But I will try to help you

    I think, JW Doesn't begin network activity it will not be convinced yet of a correctness of the name of a stream

    mpegts.stream - not the correct name
    mpegts.stream.flv - is correct name

    Such here Hack

    In my case the connect line looks so
    flashvars='file=camera.stream.flv&streamer=rtmp://IP_ADREES/ipcam&provider=rtmp'

    But my realy stream name is a - camera.stream
    It works good !

    From russia with love!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •