Creating live stream using Kaltura CE and Red5 - centos

I am trying to do a Live Streaming using FMS as mentioned in the link below:
http://knowledge.kaltura.com/live-streaming-using-kaltura-live-streaming-hds-hls-dash
I followed all the steps as mentioned in this link and when I generate the xml file to pass it to FMLE application, it does generate the xml file but for server name it generates #PRIMARY_MEDIA_SERVER_HOST# which is wrong.
After reading the steps carefully I found that, for Kaltura CE we need to do some additional steps as mentioned under link How to integrate Kaltura CE 4.0 with Red5.
http://blog.kaltura.org/rtmp-vod-and-live-streaming-using-red5-and-kaltura-ce-4/
As per the first step of this link i need to modify file /opt/kaltura/app/alpha/config/kConfLocal.php but I am having Kaltura CE 10.0.0 version and I am not able to find this file on my server.
Is it that this link is not valid for the latest version of Kaltura CE and we don't need to follow these steps, but what about #PRIMARY_MEDIA_SERVER_HOST# problem?
** UPDATE **
My /opt/kaltura/app/configurations/broadcast.ini file:
domain = mykaltura.com:80
[0]
domain = #PRIMARY_MEDIA_SERVER_HOST#
application.default = kLive
application.LIVE_STREAM_ONTEXTDATA_CAPTIONS=kLiveOTD
[1]
domain = #SECONDARY_MEDIA_SERVER_HOST#
application.default = kLive
application.LIVE_STREAM_ONTEXTDATA_CAPTIONS=kLiveOTD
Is this file Ok or do I need to change anything in it?

Try looking in /opt/kaltura/app/configurations/broadcast.ini

Related

Content model is not working in 4.2.f

Okay, so I had a working content model and share config in alfresco community 4.2.e. I had to reinstall alfresco and I updated to version 4.2.f. When I start tomcat I can log into alfresco, but when I try to load share it takes like 10 minutes to load and when it has loaded and I try to login it says "not availible or wrong login" after 3 minutes.
Here is the content model: http://pastebin.com/2wMJe3YL
.And the share config: http://pastebin.com/n1YK6i60
--edit1--
The alfresco.log: http://pastebin.com/PaiAUv9n
The alfrescotomcat-stdout(date).log: http://pastebin.com/RZ4fVJ8G
In the 2nd log I noticed it says refused connection, can the problem be that I changed some ports on the reinstallation from alfresco?
-- end edit1--
Alfresco does work with no content model and share config used and Alfresco works with the standard content model and share config.
Thanks in advance.
Solution: The problem was that I thought that the reinstall of alfresco would be enough to change the ports and it is, but I forgot to add some code in MY share config. The code I mean can be found here: https://wiki.alfresco.com/wiki/Changing_Default_Port_Configuration thanks to: Gagravarr

SDL WorldServer 10.2.1 - how to configure W3C ITS Compliant XML Studio File Type filter

We are using SDL WorldServer 10.2.1 and Tridion 2011. (Windows Server 2003/Tomcat 6.0/SQL Server 2008 R2) Recently the Tridion folks asked me to ensure that the appropriate filters (Management | Linguistic Tool Setup | Filter Configurations) were installed and configured to allow dynamic values to be used from Tridion.
So the appropriate filter (Text Studio File Type) is installed and configured for WS for what Tridion wants to do. The following inline tags are added:
{.+}
~.+?~
So for example, when a new project is created and uploaded file source is:
Hello~test~my~test~name~test~is~test~Robert
Hello^{thing.thing}World
The result in Browser Workbench is:
{1}{2}{3}{4}
{5}
While this is exactly what is desired, it is only working in WS. While Tridion is able to connect and create projects in WS, they are not able to get the same result using the same source file. It is reported that the filter "W3C ITS Compliant XML Studio File Type" should be configured. Would someone be kind enough to assist with the configuration?
Thanks
To accomplish the task of processing special fields and creating placeholders in WorldServer for a file sent from a Tridion server, the file will need to be processed by the WorldServer “W3C ITS Compliant XML Studio File Type” (W3C filter) filter. However the W3C filter expects to find its processing instructions in the Tridion file itself. So to process special fields and create placeholders, add the placeholder instructions within the Tridion file.

What language does SmartFoxServer 2x use on the server side?

I have downloaded and started the community version of SFSx2. I read everything on their documentation page:
http://docs2x.smartfoxserver.com/DevelopmentBasics/introduction
Which unfortunately only talks about flash client side code. Nothing about the corresponding server side code, nor about html5 client side which I need.
I downloaded the HTML5 examples, which took me a long time to find (they are here: http://www.smartfoxserver.com/download/get/140 )
None of the examples work, as they can't connect to the server. Presumably, this is because the examples only supply client side code. There are no instructions supplied on how to install or run the examples.
I can find no mention on the smartfox documenation on the following:
1) what language is used on the server side. One assumes its java.
2) how does one deploy java code to the smartfox server? I cant find any mention of this in the docs.
3) how does one find and install the server part of the client side examples (which are Tris, GameLobby, BuddyMessenger, AdvancedChat).
I applied to be allowed to post on the smartfoxserver forums, but no reply yet.
I also found it hard so I share what I've found out.
The server extensions are written in Java. I used Eclipse JUNO to write my code.
You can download Eclipse here. http://www.eclipse.org/downloads/
You export the extension in jar format from eclipse into you extension path. The name of your file has to end in 'extension' eg MyFirstExtension.jar otherwise sfs2x wont recognize it. Your extension path will be something like this: C:\Program Files\SmartFoxServer2X\SFS2X\extensions\MyFirstExtension\MyFirstExtension.jar if your working in windows.
You will find docs on JAVA API here. http://docs2x.smartfoxserver.com/api-docs/javadoc/server/
This is a link to the basic example code: http://www.smartfoxserver.com/download/get/120
Unzip the content into the [SFS2X_install_folder]/SFS2X/www/root/examples folder, overwriting the existing file. Run the index.html file, then navigate to another index.html to open the example. Run the sfs2x-standalone.exe first of course(see below). If you followed the 'server configuration tutorial' on smartfox website and changed the server ports, the examples wont work. Leave the ports alone until you start to understand the server.
This is a link to the flash example code: http://www.smartfoxserver.com/download/get/108
You will find the example code for apps mentioned above. They are written in Adobe Flash Builder and Java extensions. I don't know if there is any code for HTML5 but the Java server code and AS3 is there.
I also found that using the standalone server was the way to go rather than using SFS2x as a service. c:\program files\smartfoxserver2x\sfs2x\sfs2x-standalone.exe. Using the exe gives you the command prompt window. You can use the window for debugging and see the state of the server when it starts.
Most of the examples should work without creating extensions but to create an extension out of source examples:
Create and setup a new project in your Java IDE. You will have already set up a workspace.
Copy the content of the /source/server/src folder to your project's source folder.
Add SFS2X Libraries. Go to properties of the project -> Select Java Build Path -> Click Library Tab -> Add external jar. Add 'sfs2x.jar' and 'sfs2x-core.jar' from C:\Program Files\SmartFoxServer2X\SFS2X\lib folder. To create the extension, export jar file to extension path. Restart server.
Another problem I had was the Java Version I was using. I had to use Java1.6 with my version of sfs2x when writing extensions. This was trial and error as there was no documentation. There may be a newer version out now.
I had to copy all the server source into eclipse to try and understand how things were done. It was a way of having all the code in one place. There was a lot of trial and error as getting help is hard. I eventually accomplished what I set out to achieve. Good Luck.
SmartFox Server is easy to use even with extension. documentation Give try to Nuggeta solution for game development too. No extension needed at first. This is optionnal.
We have full HTML5 open source game walkthrough on github

Problems with Zend

I have downloaded and installed Zend Server community edition. I am on a mac.
I have tried to changed the path in
/usr/local/zend/apache2/conf/httpd.conf
so that it pointed at a test file in my documents folder. However, when I type
http://localhost:10081/test.php
into my browser, I just get 404- page not found.
Any suggestions? I am new to web stuff and don't really know what I'm doing wrong.
You can find step by step directions for setting up your local environment on a mac:
http://www.cmiwebstudio.com/blog/zend-server-ce-for-mac-osx-10-lion/
and some other posts that may also help here:
http://www.cmiwebstudio.com/blog/tag/zend-server-ce/

Does Web Platform Installer support automation?

I wonder if I can automate WPI actions to setup a dev box in unattended mode, either with command line options or a configuration file. It looks like WPI takes a "URL" as a command line parameter but I have no idea what format the response should be in, and what it allows in general.
EDIT: Thanks folks for the huge effort to come up with ways to automate setups. As #fra mentioned now there is a command line tool for WPI.
WebPi Command Line was just released:
http://blogs.iis.net/satishl/archive/2011/01/26/webpi-command-line.aspx
"C:\Program Files\Microsoft\Web Platform Installer\WebPlatformInstaller.exe" /id "wpi://iisexpress&mvc3"
Will install both IIS Express and ASP.Net MVC
(using wpi version 3.0)
**
UPDATE:
**
Take a look at this awesome sauce
http://msdn.microsoft.com/en-us/library/gg433092.aspx
One more option that was not yet mentioned is that you can also directly plug into Web PI APIs. Here are some starting points:
Web PI APIs: Download Latest Web Stack Products for Any Platform
Web PI APIs: Install a product from a custom feed
However in most of the cases, WebPICmdLine should do the job.
I'm currently investigating this, thought I'd record what I've discovered so far.
webplatforminstaller.exe <configuration file> /id <wpi url>
configuration file: xml file defining the products that can be installed. See http://www.microsoft.com/web/webpi/2.0/webproductlist.xml for an example. If this parameter is not specified, the configuration file at that url will be used.
wpi url: wpi url that specifies a product to install. The format is wpi://productid/? where productid is the id of an entry in the xml file.
I'm still trying to figure out how to force the install to happen silently. I'll update if I find out how.
The WebPICmdLine alone does not work as it will ask you to install the web platform installer 3.0 or whatever the dependecy for the product/application you will try to install.
Therefore, install the Web Platform installer first (wpilauncher.exe), then drop webpicmdline.exe to that installation folder. After that, you should be all set to use the command line tools for your installation needs.
I have yet to figure out how to do an unattend to the wpilauncher.exe itself.