Get notification when stream is over avoiding Nuve api call or join the room

Hi,

I wonder if there is a way to get notified when a stream is over without
being a user watching/streaming or having to polling Nuve to know room
status.

Thanks!

Hi Alvaro,

You don’t have to be publishing or receiving streams, you just need to be connected to the room.
As long as you do room.connect() you will receive all roomEvents, including stream-added and stream-removed. Does that work for you?

You could also do it in the server side with erizofc.js, the Erizo fake client. Using it in a node.js app it will let you connect to a room (with a valid token) and receive those events.

Best,–
Pedro Rodriguez

On 07 Apr 2016, at 17:13, Alvaro Gil zevarito@gmail.com wrote:

Pedro, that’s right but you need to be connected (consuming?) the stream.

I am looking for a way to get notified without having to consume/publish.

2016-04-07 11:44 GMT-03:00 Pedro Rodriguez <lodoyun@gmail.com mailto:lodoyun@gmail.com>:
See here:
Redirecting… http://lynckia.com/licode/client-api.html#events

The stream-removed event does just that.

Best,

El miércoles, 30 de marzo de 2016, 17:48:01 (UTC+2), Alvaro Gil escribió:
Hi,

I wonder if there is a way to get notified when a stream is over without being a user watching/streaming or having to polling Nuve to know room status.

Thanks!


You received this message because you are subscribed to the Google Groups “lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+unsubscribe@googlegroups.com mailto:lynckia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.


Alvaro


You received this message because you are subscribed to the Google Groups “lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+unsubscribe@googlegroups.com mailto:lynckia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

See here:
http://lynckia.com/licode/client-api.html#events

The stream-removed event does just that.

Best,El miércoles, 30 de marzo de 2016, 17:48:01 (UTC+2), Alvaro Gil escribió:

Hi,

I wonder if there is a way to get notified when a stream is over without
being a user watching/streaming or having to polling Nuve to know room
status.

Thanks!

Pedro, that’s right but you need to be connected (consuming?) the stream.

I am looking for a way to get notified without having to consume/publish.2016-04-07 11:44 GMT-03:00 Pedro Rodriguez lodoyun@gmail.com:

See here:
Redirecting…

The stream-removed event does just that.

Best,

El miércoles, 30 de marzo de 2016, 17:48:01 (UTC+2), Alvaro Gil escribió:

Hi,

I wonder if there is a way to get notified when a stream is over without
being a user watching/streaming or having to polling Nuve to know room
status.

Thanks!


You received this message because you are subscribed to the Google Groups
“lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lynckia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Alvaro

Hi Pedro, I will check erizofc.js, thanks for your help!2016-04-11 7:18 GMT-03:00 Pedro Rodriguez lodoyun@gmail.com:

Hi Alvaro,

You don’t have to be publishing or receiving streams, you just need to be
connected to the room.
As long as you do room.connect() you will receive all roomEvents,
including stream-added and stream-removed. Does that work for you?

You could also do it in the server side with erizofc.js, the Erizo fake
client. Using it in a node.js app it will let you connect to a room (with a
valid token) and receive those events.

Best,

Pedro Rodriguez

On 07 Apr 2016, at 17:13, Alvaro Gil zevarito@gmail.com wrote:

Pedro, that’s right but you need to be connected (consuming?) the stream.

I am looking for a way to get notified without having to consume/publish.

2016-04-07 11:44 GMT-03:00 Pedro Rodriguez lodoyun@gmail.com:

See here:
Redirecting…

The stream-removed event does just that.

Best,

El miércoles, 30 de marzo de 2016, 17:48:01 (UTC+2), Alvaro Gil escribió:

Hi,

I wonder if there is a way to get notified when a stream is over without
being a user watching/streaming or having to polling Nuve to know room
status.

Thanks!


You received this message because you are subscribed to the Google Groups
“lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lynckia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Alvaro


You received this message because you are subscribed to the Google Groups
“lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lynckia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
“lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lynckia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Alvaro