-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Streaming functionality for iOS Browsers #442
Conversation
Added streaming on IOS browsers
package.json
Outdated
@@ -25,11 +25,9 @@ | |||
"bootstrap": "~3.4.0", | |||
"bootstrap5": "npm:bootstrap@^5.1.3", | |||
"font-awesome": "~4.7.0", | |||
"getusermedia-js": "~1.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, if we remove these here, won't it break v1? Shall we leave them in even though v2 won't be using them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or alternatively, should we implement the same changes in index2.html into index.html and fix both v1 and v2 in this respect?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OH sorry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not break v1 for now. We can break it after v2 is complete , when @stephaniequintana and I synchronize our codebase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jywarren , package.json has been fixed. Please may I merge?
Can you check if any of the changes to the src files adversely affected v1
functionality? Thank you!
…On Fri, Aug 5, 2022 at 7:21 PM FORCHA ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In package.json
<#442 (comment)>:
> @@ -25,11 +25,9 @@
"bootstrap": "~3.4.0",
"bootstrap5": "npm:bootstrap@^5.1.3",
"font-awesome": "~4.7.0",
- "getusermedia-js": "~1.0.0",
@jywarren <https://github.com/jywarren> , package.json has been fixed.
Please may I merge?
—
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF6JYOY2CBLIH6REQPM5LVXWOWVANCNFSM55XEYOFA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
FANTASTIC work, @Forchapeatl! Kudos!!! 🚀 🎆 |
sorry about that @jywarren it affects the functionality of |
It's ok! @stephaniequintana would you like to explain how we could use the options flag to switch behaviors between the two versions? |
Hello @jywarren the 9b0cfba2-1835-4ddf-a9a5-a7fa222e5624.online-video-cutter.com.mp4 |
Congrats on merging your first pull request! 🙌🎉⚡️ |
// detection), we handle getting video/images for our canvas | ||
// from our HTML5 <video> element. | ||
if (webRtcOptions.context === "webrtc") { | ||
if(options.version == 1){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks great! Please do try to standardize spacing -- there are some auto-formatters you can use too to achieve this! So, if (options.version == 1) {
<= note the spaces. But not a big deal -- it just is nice over the long term (over years) to have the code be very regularly formatted.
Thanks @Forchapeatl!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh, please do you mean indenting ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah no, actually just notice there's a space between if
and (
in line 109, but on 133 that's missing. it's a very small thing and not super important but is kind of nice to preserve completely consistent formatting as much as possible. Thank you!
var canvas, ctx; // Initialize getUserMedia with options | ||
var canvas, ctx; | ||
options.webcamVideoSelector = options.webcamVideoSelector || 'webcamVideoEl'; | ||
options.webcamVideoEl = document.getElementById(options.webcamVideoSelector); // Initialize getUserMedia with options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice
So, one more thing @Forchapeatl -- here, are you generating the And thank you for merging this and moving it along -- i think sorry it might have needed just one more review before doing so but it's not a big deal since you did confirm that the previous version was working fine! However if you open a new PR where we just use Thanks!!! |
Also just cc'ing @stephaniequintana can you and @Forchapeatl just put a 👍 on the above so I know we're all coordinated? Thank you! Exciting!!!! |
And thanks for your patience this week as I'm teaching long hours so less able to reply quickly! Definitely continue relying on reviews from each other and other mentors as well! |
-Added
getUserMedia
Api-Added function to initialize video streaming
src/io/camera.js
onfunction unInitialize()
Fixes GSoC Infragram.org full-screen UI and video upload Discussion and Planning #418
Hosted on https://forchapeatl.github.io/infragram/indexs.html