measure the time somebody watched my stream

View: New views
7 Messages — Rating Filter:   Alert me  

measure the time somebody watched my stream

by Valentin Plamadeala :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello red5 ppl
can somebody tell me how to measure how much time did somebody watched my stream (video)
does it require server side code ?
or i could do it just with action script /

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: measure the time somebody watched my stream

by Yann JAMAR-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi ,
yes you can with serverside code , there is an example here :
 
You need to implement IScheduledJob
 
Another example is here :
in Periodic events part.
 
Regards
Yann.
 
----- Original Message -----
Sent: Thursday, November 05, 2009 12:13 PM
Subject: [Red5] measure the time somebody watched my stream

Hello red5 ppl
can somebody tell me how to measure how much time did somebody watched my stream (video)
does it require server side code ?
or i could do it just with action script /


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: measure the time somebody watched my stream

by Valentin Plamadeala :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you,
in that example the data is stored into the database through the media server, but I already have a database and I am accessing it from my ASP.NET web application, i was thinking that maybe it is possible to do this without involving media server code, and to store the info into some shared object or something and after to send it to asp.net

the problem that I see is that i don't know if i can listen to the event when the user will just close the browser or type another url, it would be easy if all the users would press a button "i stop watching" :D


On Thu, Nov 5, 2009 at 1:34 PM, Yann JAMAR <yann.jamar@...> wrote:
Hi ,
yes you can with serverside code , there is an example here :
 
You need to implement IScheduledJob
 
Another example is here :
in Periodic events part.
 
Regards
Yann.
 
----- Original Message -----
From: vnexster@...
Sent: Thursday, November 05, 2009 12:13 PM
Subject: [Red5] measure the time somebody watched my stream

Hello red5 ppl
can somebody tell me how to measure how much time did somebody watched my stream (video)
does it require server side code ?
or i could do it just with action script /


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: measure the time somebody watched my stream

by Maciej Sawicki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Nov 5, 2009 at 20:08, Valentin Plamadeala <vnexster@...> wrote:
> the problem that I see is that i don't know if i can listen to the event
> when the user will just close the browser or type another url, it would be
> easy if all the users would press a button "i stop watching" :D
>

I think this approach could work only with very, very trusted users...

regards,
Maciek Sawicki

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: measure the time somebody watched my stream

by Hugo Flambó :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Nov 5, 2009 at 7:17 PM, Maciej Sawicki <viroos.pl@...> wrote:
> On Thu, Nov 5, 2009 at 20:08, Valentin Plamadeala <vnexster@...> wrote:
>> the problem that I see is that i don't know if i can listen to the event
>> when the user will just close the browser or type another url, it would be
>> easy if all the users would press a button "i stop watching" :D
>>
>

> I think this approach could work only with very, very trusted users...
:D

>
> regards,
> Maciek Sawicki
>
> _______________________________________________
> Red5 mailing list
> Red5@...
> http://osflash.org/mailman/listinfo/red5_osflash.org
>

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: measure the time somebody watched my stream

by Yann JAMAR-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry but only server get the truth ;)
----- Original Message -----
From: "Hugo Flambó" <hflambo@...>
To: <red5@...>
Sent: Thursday, November 05, 2009 8:21 PM
Subject: Re: [Red5] measure the time somebody watched my stream


> On Thu, Nov 5, 2009 at 7:17 PM, Maciej Sawicki <viroos.pl@...>
> wrote:
>> On Thu, Nov 5, 2009 at 20:08, Valentin Plamadeala <vnexster@...>
>> wrote:
>>> the problem that I see is that i don't know if i can listen to the event
>>> when the user will just close the browser or type another url, it would
>>> be
>>> easy if all the users would press a button "i stop watching" :D
>>>
>>
>
>> I think this approach could work only with very, very trusted users...
> :D
>
>>
>> regards,
>> Maciek Sawicki
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5@...
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>
> _______________________________________________
> Red5 mailing list
> Red5@...
> http://osflash.org/mailman/listinfo/red5_osflash.org 




_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: measure the time somebody watched my stream

by Valentin Plamadeala :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I see there are appJoin and appLeave methods on the server side, why not use them for this

On Thu, Nov 5, 2009 at 11:29 PM, Yann JAMAR <yann.jamar@...> wrote:
Sorry but only server get the truth ;)
----- Original Message ----- From: "Hugo Flambó" <hflambo@...>
To: <red5@...>
Sent: Thursday, November 05, 2009 8:21 PM
Subject: Re: [Red5] measure the time somebody watched my stream



On Thu, Nov 5, 2009 at 7:17 PM, Maciej Sawicki <viroos.pl@gmail.com> wrote:
On Thu, Nov 5, 2009 at 20:08, Valentin Plamadeala <vnexster@...> wrote:
the problem that I see is that i don't know if i can listen to the event
when the user will just close the browser or type another url, it would be
easy if all the users would press a button "i stop watching" :D



I think this approach could work only with very, very trusted users...
:D


regards,
Maciek Sawicki

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org




_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org