When i read flash media stats log file then i found x-duration value 0 only in case for x-event unplublish this filed have a value.
My question is x-duration filed value is the number of seconds the client has been connected. then why i am getting 0 in case of publish and publish-continue only get the value in case of unpublish.
Any one explain ? how can i get the connection time in case of publish and un publish
For a stream the x-duration is the number of seconds the stream has played. Hence at publish and record events this value is 0 and is non-zero for unpublish event.
In case of session, this field contains the number of seconds the client has been connected. This will be 0 for connect event and non-zero for disconnect event.
The time an event occurred is reflected under the time filed in access log.