How to combine permission prompts of Licode and SipML5

We use Licode and SipML5. Licode asks for permission for audio+video, and
SipML5 asks for another permission for audio. Is there a way to combine
these two permission prompts to one?

Thanks!
Rohit

We were able to make it work in Chrome but not in firefox. We used .clone()
to copy video and audio streams of Licode and then.removeTrack() video
stream for SipML5. However the challenge is that these functions work only
in Chrome.

Do you know any way to somehow replicate .clone() and .removeTrack() in
Firefox?

Thank you
RohitOn Tuesday, November 11, 2014 3:03:36 AM UTC-7, Rohit Aggarwal wrote:

We use Licode and SipML5. Licode asks for permission for audio+video, and
SipML5 asks for another permission for audio. Is there a way to combine
these two permission prompts to one?

Thanks!
Rohit

If you’re using https, it should remember the first prompt and not ask you
a second time?On Tuesday, November 11, 2014 3:03:36 AM UTC-7, Rohit Aggarwal wrote:

We use Licode and SipML5. Licode asks for permission for audio+video, and
SipML5 asks for another permission for audio. Is there a way to combine
these two permission prompts to one?

Following is a snippet of pt.n00b’s response:
"The MediaStream object has the same behavior on Chrome and
Firefox: https://developer.mozilla.org/en-US/docs/Web/API/MediaStream
https://developer.mozilla.org/en-US/docs/Web/API/MediaStream

If you take a look at the Browser Compatibility table
( https://developer.mozilla.org/en-US/docs/Web/API/MediaStream#Browser_compatibility
https://developer.mozilla.org/en-US/docs/Web/API/MediaStream#Browser_compatibility )
you will see that it is supported since v23 of FF."

Thank you pt.n00b for your reply.

We could not find a method that let us “reuse” media. We will greatly
appreciate if you can suggest a method in Firefox that let us "reuse"
existing media. In Chrome also, we could only “clone” an existing stream,
but could not find a method to “reuse” an existing stream.

We will greatly appreciate any pointers.

Thanks!On Friday, December 5, 2014 2:19:50 PM UTC-7, Rohit Aggarwal wrote:

We were able to make it work in Chrome but not in firefox. We used
.clone() to copy video and audio streams of Licode and then.removeTrack()
video stream for SipML5. However the challenge is that these functions work
only in Chrome.

Do you know any way to somehow replicate .clone() and .removeTrack() in
Firefox?

Thank you
Rohit

On Tuesday, November 11, 2014 3:03:36 AM UTC-7, Rohit Aggarwal wrote:

We use Licode and SipML5. Licode asks for permission for audio+video, and
SipML5 asks for another permission for audio. Is there a way to combine
these two permission prompts to one?

Thanks!
Rohit

Well, technically, yes :slight_smile:

What comes out of the getUserMedia request is a mediaStream. That stream
can be (re)used on any stream-consumer. Now, the question is, can SipML5
receive a mediaStream that contains tracks for audio and video and just
ignore the video, or will he fail because it has video tracks?2014-11-11 11:03 GMT+01:00 Rohit Aggarwal rohit103@gmail.com:

We use Licode and SipML5. Licode asks for permission for audio+video, and
SipML5 asks for another permission for audio. Is there a way to combine
these two permission prompts to one?

Thanks!
Rohit


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.