I am trying to run the iOS version of the AntMediaReferenceApplication just to test out what WebRTC is like. I have my serveer up and running on Google Cloud using this link. I enabled SSL connection using this link. When I access antmedia login page using domain:5080, I go to WebRTCApp, new live stream > Name: devin, streamId: firststream. I then go to my domain and add an A record with my server's IP address. Next, I start up the iOS application and use the following URL "ws://domain:5080/webrtcapp/websocket". I add the stream-id (firststream) to the room textfield in the application and click connect with the Publish option selected.
Nothing happens. Upon debugging, I can see that in the VideoController's delegate, the onDisconnect function is called with message "Invalid HTTP upgrade". What does this error mean? Can anyone help me debug this issue, that would be very useful.
Question
Devin Smaldore
Hi all,
Link to comment
Share on other sites
Top Posters For This Question
3
1
Popular Days
Dec 9
3
Dec 14
1
Top Posters For This Question
Devin Smaldore 3 posts
Burak 1 post
Popular Days
Dec 9 2021
3 posts
Dec 14 2021
1 post
3 answers to this question
Recommended Posts