Closed
Bug 952625
Opened 11 years ago
Closed 10 years ago
make tab streaming support scrolling and other goodies
Categories
(Core :: WebRTC, defect)
Core
WebRTC
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: dmosedale, Unassigned)
References
Details
Attachments
(1 file)
1.38 KB,
text/plain
|
Details |
It'd be very nice for add-ons to be able to experiment with a variety of tab-streaming UIs. After discussion with Brad, I'm attaching a proposed API change which would allow this.
Reporter | ||
Updated•11 years ago
|
Attachment #8350756 -
Attachment mime type: text/x-idl → text/plan
Reporter | ||
Updated•11 years ago
|
Attachment #8350756 -
Attachment mime type: text/plan → text/plain
Comment 1•11 years ago
|
||
Comment on attachment 8350756 [details]
nsITabSource.idl
Sorry, mean to comment on this a couple weeks ago. Turns out our params are a terrible thing in js and optional out params create even more head aches.
I can see two options. First, crate an interface that has the nsIDOMWindow, render flags and clip rect and return that. Second have an options TabStreamOptions interface that is an inout param.
Let me know what you think dmose.
Flags: needinfo?(dmose)
Reporter | ||
Comment 2•11 years ago
|
||
Would the easiest thing simply be to make the parameters mandatory rather than optional? Making IDL equivalents of the nsIPresShell.h stuff sounds worthwhile.
Flags: needinfo?(dmose)
Reporter | ||
Comment 3•10 years ago
|
||
(The short version is that I don't have super strong opinions here. Just getting something that works, whatever the interface, would be wonderful).
Comment 4•10 years ago
|
||
This is already supported by the built-in window sharing implementation:
mozGetUserMedia({
videoSource: "browser",
constraints: {
browserWindow: 42,
scrollWithPage: true
}
});
Note the `scrollWithPage` constraint.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Comment 5•10 years ago
|
||
That syntax looks odd, did you mean:
navigator.mediaDevices.getUserMedia({ video:
{
mediaSource: "browser",
browserWindow: 42,
scrollWithPage: true
}
});
Comment 6•10 years ago
|
||
(In reply to Jan-Ivar Bruaroey [:jib] from comment #5)
> That syntax looks odd, did you mean:
>
> navigator.mediaDevices.getUserMedia({ video:
> {
> mediaSource: "browser",
> browserWindow: 42,
> scrollWithPage: true
> }
> });
Ahum! Yes, thanks Jan-Ivar, the option passing from Loop -> OpenTok SDK -> gUM is confusing me, obviously.
You need to log in
before you can comment on or make changes to this bug.
Description
•