-
-
Notifications
You must be signed in to change notification settings - Fork 519
AWS Ec2 Deployement #598
Comments
you need to allow udp ports as well, as thats where the video stuff goes through, will close this as this is not an ion related issue, reopen it if you still have issues |
@jason-shen I really respect your product. but as I mentioned when I allowed all traffic means both UDP and TCP, I even tried digital ocean servers without any gateway. Currently, the demo is hosted at https://startupsocial.app. Your deployment documentation is there but it's very unclear and short of words, and not a single video shows the current version being deployed. |
what errors you getting from digital ocean deploy ? |
the aws won't work you need https to have video going |
just for your ref i have written something here too here |
also how did you deploy it? docker? or |
Digital Ocean Deployment: |
I'm using the following toml for sfu. please let me know if I have to change any parameters.Already the domain name SSL is handled by caddy (docker).
|
hash these 2 out and give it a try |
Still, no video output, is there any particular log that I should be looking for to see the sfu video track |
|
I do see error in console, I'm using caddy. |
@jason-shen I m finally able to run. The final change in sfu.toml was
and
Should I uncomment turn server config also? |
you could for a more successful connection, as this is really due on networks, some network you will need turn, but its a small percentage of it though, but yeah it wouldn't hurt to have that as well. and good to hear you have got it going, good stuff! |
just a question, about your internet connection, normally you don't event need a stun to connect to the sfu, looks like you might have some kind of firewall with your internet |
@jason-shen I did try connecting from my phone telecom provider and home wifi. both had issues in getting video stream. but text messages and everything was successful. It will be helpful if anyone here create a video deploying to major cloud provider. I will upload from my end, but a successful run using the default stun would be great. |
i do have one you can check out here, but its for ion-sfu, but more less is the same here |
here is the issue, this is more of a webrtc thing that you just have to keep in mind, its not really a direct issue with ion it self, in some mobile provider/internet provider, ie, if your users are on a hotel wifi, 9/10 times you will need stun/turn. which is just an on going thing that you have to aware off, no matter what sfu, or even peer to peer. hope this clears up for you |
@vmwsree just a question, was this a bare metal setup? didn't use kubernetes? |
这是 ws 不安全的问题,导致你的音视频连接被关闭了,问题再 signal.toml 配置,未启用安全的https导致的。 |
I deployed the ion server on ec2. The security group allowed all traffic. I tried running the echo and other program.. i was receiving text messages at the remote end. but video stream was not coming in the remote end. i tried running the server on local everything worked perfectly
The text was updated successfully, but these errors were encountered: