Posts: 25
Joined: Nov 2010
Reputation:
0
sarosh
Junior Member
Posts: 25
Hi,
I want to know how does xbmc play streams that are using flash player. Does it uses an external player. Can someone please explain this line to me in plain english how it works. My team and I are trying to build a plugin and want to know how to play vidoes, that will be on our server using flash player.
rtmp://176.31.231.124/edge/ playpath=8zqdbyxk0ybf7es swfUrl=http://cdn.static.ilive.to/jwplayer/player.swf live=true pageUrl=http://www.ilive.to/view/30870/"*
thanks
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
The video is available over the RTMP protocol which XBMC plays using its internal player with the help of librtmp.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
you need to realize the role of flash, rtmp and the player.
flash is just a virtual machine. on that virtual machine, a horrible horrible horrible, slow, arsef*ck, need to die die die, video player is embedded.
this player plays a stream sent over the rtmp protocol.
there is *NO SUCH THING* as flash video. that's adobe marketing nonsense. there is the flash video container (.flv) typically holding streams in very common formats, typically aac + h264.
then there is the transport protocol, rtmp, which is drm infested piece of crap that luckily has been reversed to bits.
with these two in place (flv demuxer, rtmp transport protocol), you can just play the video as you play any other video stream, using any player of your choice (we use the our standard video player..) we get the demuxer from libavformat, and the rtmp implementation from librtmp.
the fact that you have to give the reference to the swf is caused by the drm obfuscation layers. it's an attempt to tie a video stream to your particular flash based player.
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
Thanks for the explanation spiff!