-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
How does Muaz's server handle PHP? #727
Comments
Hi Here is the full code working fine for me to record video and upload it to your folder index.php <script src="https://www.webrtc-experiment.com/RecordRTC.js"></script> <style> video { max-width: 100%; border: 5px solid yellow; border-radius: 9px; } body { background: black; } h1 { color: yellow; } </style>
save.php **header("Access-Control-Allow-Origin: *"); set_error_handler("someFunction"); function someFunction($errno, $errstr) { Upload failed.'; echo ' '.$errstr.' ';} function selfInvoker()
} |
Thanks Zahid. The problem is I am using RTCMulticonnections with Scalable Broadcasting. So RTCMulticonnections does the getUserMedia. I can create the blob (webm) using RecordRTC. I have a start recording button and stop recording. I just need to save the blob to server and then convert it to mp4 (which I will use ffmpeg.). I am not sure your code will work? |
I am getting a little further in my issue. When I enter your uploadtoPHP, I am getting this in the console: 12:31:51.435 response - PHP upload Progress 66% bcast.streamingworld.us:329:13 Any ideas why? |
Here is the full code you can check and work it fine.
…On Tue, Feb 23, 2021 at 11:26 PM rayj00 ***@***.***> wrote:
I am getting a little further in my issue. When I enter your uploadtoPHP,
I am getting this in the console:
12:31:51.435 response - PHP upload Progress 66% bcast.streamingworld.us:329
:13
12:31:51.486 response - PHP upload Progress 68% bcast.streamingworld.us:329
:13
12:31:51.537 response - PHP upload Progress 66% bcast.streamingworld.us:329
:13
12:31:51.589 response - PHP upload Progress 70% bcast.streamingworld.us:329
:13
12:31:51.641 response - PHP upload Progress 66% bcast.streamingworld.us:329
:13
12:31:51.752 response - PHP upload Progress 74% bcast.streamingworld.us:329
:13
12:31:51.803 response - PHP upload Progress 68% bcast.streamingworld.us:329
:13
12:31:51.854 response - PHP upload Progress 66% bcast.streamingworld.us:329
:13
12:31:51.978 response - PHP upload Progress 74% bcast.streamingworld.us:329
:13
12:31:52.111 response - PHP upload Progress 66% bcast.streamingworld.us:329
:13
12:31:52.162 response - PHP upload Progress 70% bcast.streamingworld.us:329
:13
12:31:52.192 response - PHP upload failed.
Any ideas why?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#727 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQEYI2TS7BGK6D3NFKAY6LTAPT43ANCNFSM4XRCQHOA>
.
|
Where is fileDownloadURL initialized? |
Here is only the code we have applied |
You may download full code here: |
I already can save it locally. That is not what I need, I need to send it from client to server! |
that the save code also work on server side i have already applied it on
server side
what is the actual issue you are facing?
…On Fri, Feb 26, 2021 at 2:14 AM rayj00 ***@***.***> wrote:
I already can save it locally. That is not what I need, I need to send it
from client to server!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#727 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQEYI5PYKQHWFLFSLBDKWLTA2ZBPANCNFSM4XRCQHOA>
.
|
See my comment above from Feb 23. |
It's Apache2 that handles the PHP and not the node server! |
I had to reload PHP. Everything working now!! Yahoo!!! |
Glad to hear it!
…On Sat, Mar 6, 2021 at 6:58 PM rayj00 ***@***.***> wrote:
I had to reload PHP. Everything working now!! Yahoo!!!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#727 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQEYI5RMVG6ZCFSJKNR4STTCIUYHANCNFSM4XRCQHOA>
.
|
Please, If you want to choose a particular camera, How I can do it?, |
I am having the same issue....changing camera (front/back) for mobile broadcast. I really need this! |
I am trying to upload a blob(webm) file to the server but no matter what I use from Muaz's code examples, it won't work.
I am confused on how the server is supposed to accept PHP?
If you are using PHP with Muaz's server code please let me know how you do it.
Thanks,
Ray
The text was updated successfully, but these errors were encountered: