RTMP streaming client library support in XBMC
#61
Hi, with the current fix I now get these errors:

Code:
19:42:39 M: 35340288   DEBUG: Property: <Name: level,  STRING: error>
19:42:39 M: 35340288   DEBUG: Property: <Name: code,  STRING: NetConnection.Connect.Rejected>
19:42:39 M: 35340288   DEBUG: Property: <Name: description,  STRING: Connection failed.>
19:42:39 M: 35340288   DEBUG: Property: <Name: description,  STRING: [ Server.Reject ] : (_defaultRoot_, _defaultVHost_) : Invalid application name (CP40493.S117.40493_ondemand/_definst_/comedystor/_!/com/sp/acts/Season01/E_0101/compressed/flv/0101_1_DI_640x480_500kbps.flv).>
Is there any way to set a application name that is send for the request?
Reply
#62
In the current code, the entire file of the URL is used as the app name, and the value of parameter 'slist' is the thing to play (must be last!).

For example when playing url:
rtmp://the.server.com/path1/path2/path3?param=value&slist=file
XBMC connects to an app:
path1/path2/path3?param=value&slist=file
and plays:
file

These are URLs that I've been testing with:
rtmp://gffstream.fcod.llnwd.net/a792/e2/ard/tv/ard/lindenstrasse?slist=1179_384k
rtmp://velblod.videolectures.net/video/2007/other/cd07_ljubljana/eco_umberto?slist=cd07_eco_thu_01

(note the lindenstrasse server sends packets of the currently unhandled type 0x16, so it'll send data but you won't see anything except warnings in the log)
Reply
#63
frosty Wrote:In the current code, the entire file of the URL is used as the app name, and the value of parameter 'slist' is the thing to play (must be last!).

For example when playing url:
rtmp://the.server.com/path1/path2/path3?param=value&slist=file
XBMC connects to an app:
path1/path2/path3?param=value&slist=file
and plays:
file

These are URLs that I've been testing with:
rtmp://gffstream.fcod.llnwd.net/a792/e2/ard/tv/ard/lindenstrasse?slist=1179_384k
rtmp://velblod.videolectures.net/video/2007/other/cd07_ljubljana/eco_umberto?slist=cd07_eco_thu_01

(note the lindenstrasse server sends packets of the currently unhandled type 0x16, so it'll send data but you won't see anything except warnings in the log)
Oke, but from the log it says that the server rejects the request, because the application name does not match. So I was wondering if somehow XBMC sends an application name with an RTMP request and if so, if it can be set.

EDIT: I try to play this url: rtmp://cp40493.edgefcs.net/ondemand/comedystor/_!/com/sp/acts/Season01/E_0106/compressed/flv/0106_4_DI_640x480_700kbps.flv
Reply
#64
Yes, when playing an RTMP stream it connects to an app name extracted from the URL exactly as I've described above. What app name do you think it should connect to?

Where did you get your example URL? If I rewrite it like this it works:
rtmp://cp40493.edgefcs.net/ondemand?slist=comedystor/_!/com/sp/acts/Season01/E_0106/compressed/flv/0106_4_DI_640x480_700kbps
Reply
#65
southpark studios.

http://media.mtvnservices.com//video/fee...ise=&dist=

166702 is the ep number

The :-
<media:content url="http://southpark.comedycentral.com/flv_gen_episode_tvma.jhtml?ml_video=147434&flvGenPreItem=true&hiLoPref=lo"

or hi gives you the rtmp stream location


Still doesn`t work for me, connects handshake all fine nothing on screen.
Reply
#66
Voinage Wrote:southpark studios.

http://media.mtvnservices.com//video/fee...ise=&dist=

166702 is the ep number

The :-
<media:content url="http://southpark.comedycentral.com/flv_gen_episode_tvma.jhtml?ml_video=147434&flvGenPreItem=true&hiLoPref=lo"

or hi gives you the rtmp stream location


Still doesn`t work for me, connects handshake all fine nothing on screen.

Seems that Southpark studios is using the RTMP of the 0x16 type, which is not yet supported.
Reply
#67
I implemented Frostys patch on trac into my own personal build to test and w00t Smile box + bbciplayer oh yeah baby... i think the code just needs to be verified by another dev before being implemented but "excellent" work frosty.
Reply
#68
Yep, alls well. With frostys latest 0x16 support rtmp lies open. Excellent work frosty.

http://trac.xbmc.org/ticket/4905

Apply that Basje.
Reply
#69
I'll second that woot! :-D

Well done, all of you!
Reply
#70
Geeesss you fellas are legends!!

2nd that well done!!!

Smile
Reply
#71
Voinage Wrote:Yep, alls well. With frostys latest 0x16 support rtmp lies open. Excellent work frosty.

http://trac.xbmc.org/ticket/4905

Apply that Basje.
Did it, and it worked. All people can download a XOT-UZg.v3 with a official southpark channel here:

http://code.google.com/p/xot-uzg/downloa....zip&can=2

It also holds more Dutch channels, but you can safely remove those from the channel folder.
Reply
#72
And the hope for hulu.com support now? How is that done?

btw, southpark shows up as empty for me.
Reply

Logout Mark Read Team Forum Stats Members Help
RTMP streaming client library support in XBMC1