Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
Hi,
I installed Kaltura CE 6 edition (from github) on ubuntu. All work fine now (resolved tiff3 dependency, mysqlclient.16, analytics, iphonenew/ipadnew, etc ...)
I can upload video files and see it on ios (HTTP download with ranges headers) and flash devices (rtmp with nginx https://github.com/arut/nginx-rtmp-module/).
Now I want setup live entrys. We don't have akamai CDN, so I follow this post (http://knowledge.kaltura.com/configuring-live-streaming-falcon-prem-usin...) to setup one live entry. The entry work fine for flash devices .. but what about ios/html5 devices ? I get "No source video was found" error.
How to fix it ? How I can create live entrys with many sources (rtmp for flash devices, hls for ios and hds - in future -) ?
I supose that we need create new ProvisionEngine, but I can't find documentation about it, and Kaltura CE does not seem ready for it, isn't ?
thanks in advance
j
red5 is a rtmp server only, isn't ?
btw, I found a workaround. On the html page, when you set the embeded code, you can set flashvars with the hls source
(Solution from: http://html5video.org/wiki/Kaltura_HTML5_Configuration#Directly_play_m3u... and https://github.com/kaltura/mwEmbed/issues/160)
Example:
[EMBEDED_CODE]
window['doPlayCallback'] = function( playerId ){
console.log( 'kwidget doPlayCallback ' + playerId );
};
kWidget.embed({
'targetId': '[PLAYER_ID_FROM_EMBEDED_CODE]',
'wid': '_[PARTNER_ID]',
'uiconf_id' : '[UICONF_ID]',
'entry_id' : '[ENTRY_ID]',
'flashvars':{
'EmbedPlayer.ReplaceSources' : [
{
'type': 'application/vnd.apple.mpegurl',
'src': '[URL_FOR_M3U8_FILE]'
}
]
},
'readyCallback': function( playerId ){
console.log( "kWidget player ready: " + playerId );
var kdp = document.getElementById( playerId );
kdp.addJsListener( 'doPlay', 'doPlayCallback');
}
});
Now ... How can add this flashvars on kaltura directly (kmc/console, and no html modification) ? Can I change the custom_data field on entry table to set this ?
thanks !
Did you manage to do this properly or was the hack sufficient?
I am just about to do this.. We did it in v3 by hacking php, but the code has evolved since.
Hi !
at the end, we hack the php to make this.
First, update the mwEmbed to the last (1.7.4.1). Then, get code from master
- Modify entry.php model to add getHlsStreamUrl, setHlsStreamUrl, getLiveStreamConfigurations and setLiveStreamConfigurations functions
- Modify playManifestAction.class.php to use this functions on entryType::LIVE_STREAM (functions serveAppleHttp and getSecureHdUrl)
- Add file kLiveStreamConfiguration.php
Now, we can add hls_stream_url and live_stream_configurations to the custom_data field of entry.
Hi justo.alonso,
Does this modification enable you to playback HLS streams (without Akamai) on your desktop as well as iOS? So far I have only managed to get HLS playing in iOS but not on a desktop.
I have set up a manual live stream entry with RTMP but would like to use HLS instead. Could you elaborate on your answer above please?
Thanks
Hi Daniel !
you are on right, with this hack, we have HLS on IOS devices, but on desktop we have rtmp. I'm working to solve this. I supose that is related to tags on liveStream entry (or sourceType), but I'm not sure at this time.
What rtmp/hls server are you using ? nginx-rtmp ?
thanks
and sorry for my english
Hi Alonso,
I'm using Adobe Media Server at the moment for testing.
Apparently support for HLS liveStream entry was added after 'falcon' release but I spent so long getting falcon working that I don't want to go through that process again right away. Take a look at this thread.
Hi Daniel,
I'm using nginx-rtmp (https://github.com/arut/nginx-rtmp-module) and akamai (new HD Network). Current falcon version don't work fine with either.
I read your post about master, and you are right, master installation don't work. I'm trying in different host (ubuntu, centos, etc ..) and after install (solving sql errors, ui_conf deploy errors, etc ...) I have ever an "Application error ocurred" on admin_console.
I hope that kaltura fix this bugs on master install when complete the migration from subversion to git and disable the current bot system. One project that your master version don't work is a very bad thing.
j
I haven't tried out the setup yet, but there is an installation option to setup the server with red5 during install. Perhaps using that will get the config files in place and require minimal tweaking as you go through what sparse documentation we have on the setup in these forums.