| Copeland, Adam 2006-02-23, 5:45 pm |
| sc-bytes (server to client) logs the stream and the session bytes. This field is (for some reason) accumulative and can't be trusted for reporting without doing some math with in the session.
sc-stream-bytes on a stop event gives you the closest bytes delivered, however you will eat the overhead of the session setup and teardown. If you want to get the most reliable number you need to take sc-bytes (minus) the previous stop event. This will give you the total sc-stream-bytes + the overhead.
And put another way, sc-bytes is the number of bytes transferred during the lifetime of a
connection(connect - disconnect), including all streams, shared objects
and call data. Whereas sc-stream-bytes is specifically the number of
bytes transferred on a particular stream.
Field Event Description
sc-bytes stream,session bytes transferred from server to client
sc-stream-bytes stream stream bytes transferred from server to client
-Adam
-----Original Message-----
From: lti-1a8g@myamail.com [mailto:lti-1a8g@myamail.com]
Sent: Thursday, February 23, 2006 12:11 PM
To: "??? - (Min Lee)"; FlashComm Mailing List
Subject: Re: [FlashComm] FMS 2.0 - Log file question sc-bytes
vssc-stream-bytes
At the FCS time, I think (I would have to find my sources), the
difference is that sc-bytes comprises the "tunnelled connection" extra
headers, whereas sc-stream-bytes are the "real" "streamed" bytes
transferred (ie: audio/video/data bytes).
That is, if a client connect to FMS with rtmp, sc-stream-bytes = sc-bytes.
It a client connects to FMS with rtmpt or rtmps, sc-stream-bytes =
sc-bytes - http(s) headers
Sort of.
Sorry for the long time to answer 
(I hope you found by yourself if it was very important).
이민환 - (Min Lee) wrote:
>Hi
>
>Does anybody knows the difference between sc-bytes filed and sc-stream-bytes filed in Log file?
>
>Our FMS 2.0 lastest version seems generating differently of total bytes transfered to client as below
>
>anyone in list can give suggestion on this curiousity will really appreciate it from far east Asia !!
>
>Our standard Log analyzer program has differ when calculated the total bandwidth usage from server to client traffic.
>
>Thank you
>
>
>
>--------------------------------------------------------------------------------
>
>#Fields: x-event x-category date time x-duration x-status c-ip sc-bytes x-suri x-file-size x-file-length sc-stream-bytes x-comment
>connect-pending session 2005-12-21 00:00:50 0 100 218.150.145.82 6146 - - - - -
>connect session 2005-12-21 00:00:50 0 200 218.150.145.82 6205 - - - - -
>play stream 2005-12-21 00:00:50 0 200 218.150.145.82 6424 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/gstar_600_1000k.flv 15433892 106.240005 0 -
>unpause stream 2005-12-21 00:00:50 61 - 222.103.59.163 28379182 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/lunia_movie1_600_1000k.flv 6729798 45.035002 19933470 -
>stop stream 2005-12-21 00:00:51 1 200 218.150.145.82 121222 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/gstar_600_1000k.flv - - 113579 -
>play stream 2005-12-21 00:00:51 0 200 218.150.145.82 121222 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/gstar_600_1000k.flv 15433892 106.240005 0 -
>stop stream 2005-12-21 00:00:51 0 200 218.150.145.82 122212 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/gstar_600_1000k.flv 15433892 106.240005 828 -
>play stream 2005-12-21 00:00:51 0 200 218.150.145.82 122434 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/gstar_600_1000k.flv 15433892 106.240005 0 -
>pause stream 2005-12-21 00:00:51 62 - 222.103.59.163 28660392 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/lunia_movie1_600_1000k.flv - - 20216155 -
>unpause stream 2005-12-21 00:00:51 62 - 222.103.59.163 28663023 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/lunia_movie1_600_1000k.flv 6729798 45.035002 20216155 -
>disconnect session 2005-12-21 00:00:51 48 200 61.83.73.137 2443442 - - - - -
>stop stream 2005-12-21 00:00:52 1 408 218.150.145.82 236297 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/gstar_600_1000k.flv 15433892 106.240005 112674 -
>disconnect session 2005-12-21 00:00:52 2 200 218.150.145.82 236297 - - - - -
>connect-pending session 2005-12-21 00:00:52 0 100 211.219.112.246 6146 - - - - -
>connect session 2005-12-21 00:00:52 0 200 211.219.112.246 6350 - - - - -
>pause stream 2005-12-21 00:00:52 63 - 222.103.59.163 29002395 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/lunia_movie1_600_1000k.flv - - 20556094 -
>unpause stream 2005-12-21 00:00:52 63 - 222.103.59.163 29004774 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/lunia_movie1_600_1000k.flv 6729798 45.035002 20556094 -
>stop stream 2005-12-21 00:00:53 103 200 222.109.19.55 15506051 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/gstar_600_1000k.flv 15433892 106.240005 15324861 -
>pause stream 2005-12-21 00:00:53 64 - 222.103.59.163 29726316 rtmp://allm.nfs.nefficient.co.kr:1935/allm/lunia_ob/lunia_movie1_600_1000k.flv - - 21275418 -
>#End-Date: 2005-12-21 00:00:54
>
>--------------------------------------------------------------------------------
>
>
>
>Min-Hwan Lee / Senior Manager
>CDNetworks, Co, Ltd
>http://www.cdnetworks.co.kr
>office: +82-2-3441-0471
>mobile: +82-11-711-8302
>mail: minlee@cdnetworks.co.kr
>msn: minlee@cdnetworks.co.kr
>
>
>
>
>
>------------------------------------------------------------------------
>
>
>=-----------------------------------------------------------
>Supported by Fig Leaf Software - http://www.figleaf.com
>=-----------------------------------------------------------
>
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
________________________________________
_______
FlashComm@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
|