[rtmpdump] FCSubscribe problems
Slava Markeyev
sm at own3d.tv
Tue Jul 6 05:03:52 CEST 2010
Hello everyone, this is my first time on the list and I have a question
regarding the subscribe option in rtmpdump/librtmp. I'm trying to pull a
live feed from the edgecast CDN which now uses FCSubscribe. I've been going
through packet dumps with wireshark looking at the differences between a
regular flash player when it pulls a feed from the CDN and when rtmpdump
does it. It seems that the flash player issues FCsubscribe and then the
createStream while rtmpdump/librtmp issues createStream first then
FCsubscribe. I'm not sure if this is the source of the problem but the end
result with rtmpdump is that I get a response back that the stream is not
found. Is there an a problem with my command arguments or is there a problem
with compatibility? Also I've noticed that rtmpdump does not allow me to set
a playpath without the actual stream which should be actually taken from the
subscribe parameter instead. I've included my command arguments and partial
packet dumps from both rtmpdump and flash player. Any help or advice would
be greatly appreciated. PS I'm running rtmpdump v2.3 if that helps.
rtmpdump --debug 100 -r rtmp://fml.2010.edgecastcdn.net/202010 --tcUrl
rtmp://fml.2010.edgecastcdn.net/202010 --subscribe mp4:stlava_116.f4v -o
flvtest.flv
Using rtmpdump
----------------------------------------------------------
TO: ...............connect.?..........app...202010..flashVer...LNX
10,0,32,18..tcUrl..&rtmp://
fml.2010.edgecastcdn.net/202010..fpad....capabilit.ies. at .........audioCodecs.@.........videoCodecs. at o.......
videoFunction.?..........
FROM:
.............&%..............&%................._result.?..........fmsVer..
FMS/3,5,3,824..capabilities. at _........mode.?.............level...status..code...NetConnection.Con.nect.Success..description...Connection
succeeded...objectEncoding...........data.......version...3,5,3,824......
TO: .............&%.B...............,C..........createStream.@
........C.....-....FCSubscribe.@
...........mp4:stlava_116.f4v..............._result.@
.........?............./........play.@
...........mp4:stlava_117.f4v.................%Q.
FROM: ..............._result. at .........?.......
TO: ....../........play. at ...........mp4:stlava_117.f4v.................%Q.
FROM: ......].......
onFCSubscribe.............code...NetStream.Play.Start..description...mp4:stlava_116.f4v.................._result. at ........................onStatus.............level...error..code...NetStream.Play.StreamNotFound..description..0Failed
to play stlava_117.f4v; stream. not
found...details...stlava_117.f4v..clientid...z8iwn7-k..................onStatus.............level...status..code...NetStream.Play.Stop..description...Stopped
playing
stlava_117.f4v...details...stl.ava_117.f4v..clientid...z8iwn7-k..reason......
Using flash player
----------------------------------------------------------
TO: connect.?..........app...202010..flashVer.. LNX
10,0,45,2..swfUrl..Shttp://
static.ec.own3d.tv/[[IMPORT]]/www.own3d.tv/static/.player/flowplayer.rtmp.swf..tcUrl..&rtmp://fml.2010.edgecastcdn.net/202010..fpad....capabilities.@.........audioCodecs.@..........videoCodecs.@o.......
videoFunction.?.........pageUrl...
http://www.own3d.tv/live/117..objectEncoding.@..........
FROM: ...:.
...TN<.XlEZN.....Ch.w?OM.Ce.A!.....Ly/..."..KQ.%.Q....<...6....[rk..;J.....#.me.m..
...5.|m....vi.7.......0CL...~.....X..X.....P1
T...Hv.p8X#.[I.,0..e.o........./.U.w...C%.k.w....`.I..vt..M..>13L..Z..UL6.U.^.H.%...Q.^L69.T......q.
q..{8....N.....;8%.P.i..%...`B...c.....RP..S...~.;Ht.c....[.Ol..m5y...........Afx^~..@$.5...0{;Q.....o.7......7i]........"R.\1u..>A.X....F....E....0...X~...9s..b.c.y...<%*O.;-,.!v<v.......s>.-.............&%..............&%................._result.?..........fmsVer..
FMS/3,5,3,824..capabilities. at _........mode.?.............level...status..code...NetConnection.Con.nect.Success..description...Connection
succeeded...objectEncoding. at .........data.......version...3,5,3,824......
TO: .}...........&%.C...........FCSubscribe.............mp4:stlava_117.f4v
FROM: ......].......
onFCSubscribe.............code...NetStream.Play.Start..description...mp4:stlava_117.f4v...
TO: C..6........createStream. at ........B...............p
FROM: ..............._result. at .........?.......
TO: ......'.........play.............mp4:stlava_117.f4v..........p
FROM: ..............
..................................onStatus.............level...status..code...NetStream.Play.Reset..description..%Playing
and resetting
stlava_117.f4v...details...stlava_117.f4v..clientid...CCjI303n..................onStatus.............level...status..code...NetStream.Play.Start..description...Started
playing
stlava_117.f4v...details...stlava_117.f4v..clientid...CCjI303n..................|RtmpSampleAccess...................................
..................................................................................9.......
onMetaData...author.....copyright.....description.....keywords.....rating.....title....
presetname...Custom..creationdate...Mon Jul 05 19:40:13 2010
..videodevice..
Rest is video metadata and audio/video packets.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20100705/0e8ea5da/attachment-0001.htm>
More information about the rtmpdump
mailing list