Initiate audio+video, get permission, but do not send media to Licode till user gets speaking rights

We want to initiate video+audio, get permission from a user, but do not
want to send the media to Licode server just then. We want to start sending
audio+video to Licode only when this user gets speaking rights. This way we
will not have to get user’s permission when this user gets the rights,
rather we can get the permission right at the start and send user’s
audio+video to Licode when needed. How can we do this?

We will greatly appreciate your help.

Thank you!

Hi Rohit:

You ask for permission (getUserMedia) when you initialise the local stream with stream.init()
Data is not sent to the Licode server until you publish that stream in a room (with room.publish(stream))

In BasicExample we do the publish in the callback for the ‘access-accepted’, but that is not mandatory.

This is properly documented in the docs page:
http://lynckia.com/licode/client-api.html

Regards,–
Pedro Rodriguez

On 11 Nov 2014, at 11:05, Rohit Aggarwal rohit103@gmail.com wrote:

We want to initiate video+audio, get permission from a user, but do not want to send the media to Licode server just then. We want to start sending audio+video to Licode only when this user gets speaking rights. This way we will not have to get user’s permission when this user gets the rights, rather we can get the permission right at the start and send user’s audio+video to Licode when needed. How can we do this?

We will greatly appreciate your help.

Thank you!


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.