Live Video in KDP3

2 replies [Last post]
Joined: 08/10/2010
Points: 1

Hey,

I've been trying to get a live stream to play inside the Kaltura player without any success.

The stream is coming from a Red5 server and using Flowplayer with the RTMP plugin everything is a-okay. Although we would like to use the Kaltura player because we are using Kaltura for video on demand.

The Kaltura docs were somewhat handy: http://www.kaltura.org/demos/kdp3/docs.html

I changed the streamerType parameter to live and now the player comes up with a big red "Offline" icon.

The problem as far as I can see is that you require two parameters, the URL (eg: rtmp://tv.domain.com/oflaDemo) and the stream name (ed: livestream). The KDP only has the URL option. It is necessary to define the stream and I cannot find the correct URL format to get it to work.

I found this on the Wowza forum (not exactly Red5 but tried it anyway): http://www.wowzamedia.com/forums/showthread.php?t=6300 no help though

How do you get live video to play through the Kaltura player?

Joined: 01/05/2009
Points: 1697

This message is suitable for the KDP forum, not the server side forum - please post in the relevant forum next time.

To enable streaming on KDP you should pass as following the flashvars:
streamerType=rtmp&streamerUrl=rtmp://server_url/application&entryId=url_to_f4m_file
or
sourceType=url&streamerType=rtmp&streamerUrl=rtmp://server_url/application&entryId=name_of_stream_to_play

For example:
streamerType=rtmp&streamerUrl=rtmp://rtmpakmi.kaltura.com:1935/ondemand&entryId=http://www.kaltura.com/p/224962/sp/22496200/playManifest/entryId/0_j16kbz4o/format/rtmp/protocol/rtmp/cdnHost/cdnbakmi.kaltura.com/a/a.f4m

or

sourceType=url&streamerType=rtmp&streamerUrl=rtmp://rtmpakmi.kaltura.com:1935/ondemand/&entryId=p/224962/sp/22496200/serveFlavor/flavorId/0_t5rwr6sm/name/0_t5rwr6sm.flv/forceproxy/true

Explanation of variables:

  • sourceType=url : This will determine whether to use the Kaltura Server and retrieve an entry to play or directly load a file / stream.
  • streamerType=rtmp : This sets the player to work on rtmp streaming mode.
  • streamerUrl=rtmp://server_url/application : This tells the player what is the url to your streaming server and what is the name of the application to use.
  • entryId=url_to_f4m_file : This specify the name of the f4m manifest file* to use or the name of the file to stream from the server.

* f4m manifest file - http://opensource.adobe.com/wiki/display/osmf/Flash+Media+Manifest+File+...

Joined: 11/05/2009
Points: 249

Good info Kalturian thanks.

Imagenta if you do happen to get this up and running with your KalturaCE and Red5 servers please share!