could not able to test webrtc #1104
Replies: 12 comments
-
Have you opened the appropriate ports in your firewall? |
Beta Was this translation helpful? Give feedback.
-
Yes, I have opened all the ports for public(0.0.0.0/0). I am sorry my
questions are very silly.
Honestly I am trying to setup this env since 2weeks, but could not get it
done. Is required to install the TURN servers separately? And should I give
the TCP relay server's ip same as vm's external IP or TURN server IP?
Appreciate your help to make it.
Thank you.
…On Sun, Dec 18, 2022, 10:07 PM naanlizard ***@***.***> wrote:
Have you opened the appropriate ports in your firewall?
—
Reply to this email directly, view it on GitHub
<#980 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL4SHJTKBUM6GB4LV4GKFZDWN44U5ANCNFSM6AAAAAATCTI3X4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
For testing it is easiest to leave the default google TURN server What is your OBS stream and streamkey set to? |
Beta Was this translation helpful? Give feedback.
-
Stream I set in OBS rtmp://xxxx:1935/app
And the key: stream
…On Sun, Dec 18, 2022, 11:31 PM naanlizard ***@***.***> wrote:
For testing it is easiest to leave the default google TURN server
What is your OBS stream and streamkey set to?
—
Reply to this email directly, view it on GitHub
<#980 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL4SHJVVKDGVC5CDSPBQ5HTWN5GQJANCNFSM6AAAAAATCTI3X4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ah, I see at least one problem (apologies, your ticket is messy) You are trying to load an insecure websocket on a secure page. Either use the http (not HTTPS) demo player or connect to the secure webrtc port instead |
Beta Was this translation helpful? Give feedback.
-
I am using http only, ws://xxxx:3333/app/stream. I haven't configured TLS,
that is why I am trying with ws.
…On Sun, Dec 18, 2022, 11:38 PM naanlizard ***@***.***> wrote:
Ah, I see at least one problem (apologies, your ticket is messy)
You are trying to load an insecure websocket on a secure page. Either use
the http (not HTTPS) demo player or connect to the secure webrtc port
instead
—
Reply to this email directly, view it on GitHub
<#980 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL4SHJX36SG72M3LQ6PIKMTWN5HJNANCNFSM6AAAAAATCTI3X4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I put the rtmp input into your server and tried to play it and it seems to work. rtmp://34.76.248.187:1935/app/stream |
Beta Was this translation helpful? Give feedback.
-
Thanks,
For me it is not working, I am getting the error, attached the screenshot.
…On Mon, Dec 19, 2022 at 7:06 AM Jeheon Han ***@***.***> wrote:
[image: image]
<https://user-images.githubusercontent.com/17779085/208331466-c4601c0e-1f2f-445d-8bc1-90c518184f1d.png>
I put the rtmp input into your server and tried to play it and it seems to
work.
—
Reply to this email directly, view it on GitHub
<#980 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL4SHJVUTYAPLR56YDF5ZUTWN633TANCNFSM6AAAAAATCTI3X4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Your screenshot is not attached. Please upload again. |
Beta Was this translation helpful? Give feedback.
-
Yes, I tried with http://demo.ovenplayer.com only. |
Beta Was this translation helpful? Give feedback.
-
Please upload the console output from your chrome's developer tools and the ovenmediaengine.log file. ovenmediaengine.log should be uploaded in its entirety without truncation. |
Beta Was this translation helpful? Give feedback.
-
@imranshaaz did you add transport TCP to the string while publishing i was also facing same problem but when i add transport TCP for ws connection it works |
Beta Was this translation helpful? Give feedback.
-
Before asking for help, please read the troubleshooting section in the manual carefully.
https://airensoft.gitbook.io/ovenmediaengine/troubleshooting
Please fill out the form below to create an issue. Failure to follow the form may result in late responses or close issues.
PROBLEM
I did able to setup ovenmedia engine on ubuntu20 on a GCP vm, I connect and able to start the streaming using OBS, but could not able to test it over ovenmedia test player using ws://xxxx:3333/app/stream.
When I hit the url in test play it shows "connection with low-latency server failed.
And I am not able to connect over webrtc url with the details server.xml file provided(I just updated the server's external IP for Origin server block)
EXPECTATION
I would to do the webrtc connection/streaming successful for testing. Once it is successful I will do the production setup.
ENVIRONMENTAL INFORMATION
Please check whether it is reproduced in the master branch first. The Docker image for the master branch is airensoft/ovenmediaengine:dev .
If you are using the Master branch, please write Master.
If you are using Release, please write the version (eg 0.12.4).
If you are using Docker by building it yourself, please tell us what version of the image you built.
If you are using a public Docker image, please provide the image path with tags. (e.g. airensoft/ovenmediaengine:0.12.8)
OBS 28.1.2 And how is the codec set on that encoder?
If you are using OvenLiveKit as an encoder, please let me know if it reproduces here
Using OvenLiveKit I am able to do the strming, via rtmp connected.
https://demo.ovenplayer.com/demo_input.html. And please tell me what error is output in the browser's developer console.
Error: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
If you are using RTSP Pull, please let me know which RTSP server you are using.
Please let me know if it reproduces on http://demo.ovenplayer.com or https://demo.ovenplayer.com. And please tell me what error is output in the browser's developer console.
Err: Connection with low-latency server failed.
Please tell me which address you used to send and play. You can hide IP or Domain.
rtmp://xxxx:1935/app
ws://xxxx:3333/app/stream
OS and version (e.g. Ubuntu 20.04)
SETUP INFORMATION AND LOGS
Please upload Server.xml.
Please upload the entire file /var/log/ovenmediaengine/ovenmediaengine.log. (You may delete your personal information.)
It's hard to find the problem if you post only part of the log. Be sure to upload the entire file.
OTHER HELPFUL INFORMATION
Please write any information that anyone viewing this issue can reference.
testlogs.txt
Beta Was this translation helpful? Give feedback.
All reactions