2014-04-05, 09:05
Hi
I'm trying to write my pluging that will connect to rtmp server and play stream.
Unfortunately, that server require flashVer (User-Agent) parameter to validate.
So when I run: xbmc.Player().play("rtmp://server.com/vod/stream1")
connection go to the RTMP server, then new connection is validate if there is flashVer parameter exists.
If not, connection will be drop.
My question is how can I spoof that parameter?
I'm trying to write my pluging that will connect to rtmp server and play stream.
Unfortunately, that server require flashVer (User-Agent) parameter to validate.
So when I run: xbmc.Player().play("rtmp://server.com/vod/stream1")
connection go to the RTMP server, then new connection is validate if there is flashVer parameter exists.
If not, connection will be drop.
My question is how can I spoof that parameter?