I have just posted a bug for Red5 Streaming server.
If anyone should happen to google it and find this, I can tell you that streaming audio or video over RTMPT with Red5 1.0 is broken after installing Java 7 on a Windows Server 2003.
From what I can tell this is because of changed behaviour with Java 7 and Tomcat, and I was not able to fix it. I had to revert to Java 6 to make it work.
Please note that streaming over RTMP was not affected.
Red5 should be upgraded with support for both Tomcat 7 and Java 7!
Thursday, January 23, 2014
RTMPT broken in Red5 with java 7.
Wednesday, September 26, 2012
Consuming the Soliditet webservice in Coldfusion 9
I recently ran into problems consuming a webservice which gives company ratings for Swedish companies provided by Soliditet.
I was aware of the limitations of cfinvoke and CreateObject when it comes to certain SOAP-services, so my approach was to build the request manually as xml and use <cfhttp> to post it.
If I searched and got no hits: No problem. I received a perfect xml-doc in return stating "No hits". The same with "Too many hits". But when I got a response which should return between 1 and 50 hits, I got the dreaded:
struct
|
||
Charset
|
[empty
string]
|
|
ErrorDetail
|
I/O Exception: Premature EOF encountered
|
|
Filecontent
|
Connection
Failure
|
|
Header
|
[empty
string]
|
|
Mimetype
|
Unable to determine MIME type of file.
|
|
Responseheader
|
|
|
Statuscode
|
Connection Failure. Status code unavailable.
|
|
Text
|
YES
|
After a lot of tweaking I finally tried using <cfx_http5> which has been around for years because of the limitations of <cfhttp>.
Bam. There it was. Problem solved.
For the record: I have consumed many web services and this is the first time I've had to resolve to <cfx_http5>. I have always gotten around the problems using <cfinvoke> or <cfhttp>. I think many web services are unnecessary complex. Especially when it comes to returning simple datasets.
I really don't understand why Adobe can't get cfhttp to work as nicely as cfx_http5 does.
By the way; this was done using CF9 and although Coldfusion 10 is out now, I haven't been able to test if there are improvements in the forementioned tags.
Wednesday, February 20, 2008
The new format war
Finally the last nail was put in the coffin for HD-DVD. I have backed Blu-Ray since the launch as it never was any doubt which was the better format.
Yesterday Universal was quick to say they will switch to Blu-Ray, and then there's just really Paramount/Dreamworks who need to come forward and say they will start producing movies in BD and I will be a very happy man!
Now we can start focusing on the other format-war! Blu-ray vs DVD! Or SD vs HD as we will probably call it from now on. Standard Definition vs High Definition.
The sales-volume of both players and movies must increase so that the prices go down towards DVD-prices. Therefore you need to go out and buy a Blu-ray-player and a few movies now if you haven't done so already!
Tell your spouse I said it. You have my permission! :)