mpolinowski / RTSPtoWebRTC

IP Camera RTSP Stream to WebRTC for your Webpage
MIT License
54 stars 18 forks source link

please help me! #1

Open SXH0212 opened 3 years ago

SXH0212 commented 3 years ago

1617978893974 Excuse me, why can't H264_PCMALAW connect 1617979235676 I tried to join my IP cam (IP_cam), but I can’t connect

thank you!

mpolinowski commented 3 years ago

Hi @SXH0212 ,

I just tested it and the camera is online:

WebRTC

But the Stream needs a lot of bandwidth - it might just be that the connection is too slow and the image remains black. You can test accessing the stream with the VLC Player to confirm that it is not your Go code that is causing an issue:

VLC

SXH0212 commented 3 years ago

@mpolinowski Thank you for your quick answer ! I'am test accessing the stream with the VLC Player 1618011315487 but it's not connect, and show "WritePacket WebRTC Client Offline" 1618012705556 1618011598558

Superdex517 commented 3 years ago

Did you fixed it? I have same problem on ec2 server, but there is no problem on my local PC.

mpolinowski commented 3 years ago

Hello @Superdex517 ,

that is interesting. I do not have experience with the Amazon cloud offerings - but could it be that there is a missing port? I just googled the issue and found that, for example, port 25 is blocked by default and needs to be opened manually, if you want to set up an SMTP server on an EC2 instance.