WebRTC as RTMP re-publishing Not Working in Google Chrome

Hi @Max

We are your customer since last two years.
We have integrated your demo "WebRTC as RTMP re-publishing" into our site (https://www.livepigeonapp.com/login) we have noticed its not working in chrome but working in firefox. We have updated it also but still not working in chrome here is the error which we have noticed in chrome console.
https://www.screencast.com/t/VZLpHNAsI

Can you please check it i have also emailed SSH access to logs@flashphoner.com

How to reproduce issue in our site
  1. go to https://www.livepigeonapp.com/login in google chrome
  2. user name and password also emailed to logs@flashphoner.com
  3. sign in to Facebook using your account
  4. after connected with Facebook click go live now webcam on dashboard or directly go to https://www.livepigeonapp.com/goLiveNow/newPigeon/0
  5. after that give title and description and hit next
  6. then select your profile
  7. after that you will be redirected to webcam page
  8. click on go live now button at bottom

Thanks,
Faraz
 

Max

Administrator
Staff member
Hello.
Please update to latest build from this page (update procedure is described here), then try to republish stream to Facebook as described here. Don't forget to add the following setting to flashphoner.properties file
Code:
rtmp_transponder_stream_name_prefix=
 
Hello @Max

Thanks for your reply we had setup WCS via AWS and our current version on AWS is 5.0 doe we need to follow same procedure for upgrade to 5.2 on AWS or there is another way as we had also received email notification from AWS i am pasting their email below.

Code:
Subject: Important Notification Regarding Your AWS Marketplace Subscription

Greetings from AWS Marketplace,

Thank you for subscribing to Web Call Server 5.

We are writing to inform you that Flashphoner has released a new version of Web Call Server 5 version 5.1.3777, available at https://aws.amazon.com/marketplace/pp/B01D1L5EAK.

As an existing customer, your subscription to the product, any running instances and access to the previous versions are unaffected. However, Flashphoner strongly recommends you update to the new version by visiting https://aws.amazon.com/marketplace/pp/B01D1L5EAK. For additional questions or upgrade information, please contact Flashphoner  directly at support@flashphoner.com.
Regards,
Faraz
 

Max

Administrator
Staff member
Hello.
With this letter AWS team notifies you that WCS build in AWS marketplace is updated to 5.1.3777. You can update to this build too, it is legacy and stable.
In your server settings we see that you comment out the following setting:
Code:
#rtmp_transponder_stream_name_prefix=rtmp_
but this is default setting, so commenting does not help. You should set this option to
Code:
rtmp_transponder_stream_name_prefix=
to make sure there's no prefix added to RTMP stream name
Also, you should update WebSDK to latets build from this page to properly work with latest browser versions.
 

Max

Administrator
Staff member
Yes, you can update to 5.2. We recommend you to install 5.2 alongside previous version as described here.
 
Hello.
Please update to latest build from this page (update procedure is described here), then try to republish stream to Facebook as described here. Don't forget to add the following setting to flashphoner.properties file
Code:
rtmp_transponder_stream_name_prefix=
Hello @Max

Here its mentioned that we need to send the /push/startup query to the WCS server do we need to first enable or install rest-api on WCS server as i am trying it in rest client but its giving me error.
see below image
https://www.screencast.com/t/guWEW9adQUK

Regards,
Faraz
 

Max

Administrator
Staff member
Good day.
You are trying to send HTTPS request to HTTP port. Please try to change request URL to HTTP
Code:
http://server:9091/rest-api/push/startup
or change port to HTTPS
Code:
https://server:8888/rest-api/push/startup
 
Hi @Max

We have installed new latest webcall server 5.2 but its not working. can you please check below
https://wmedia.livepigeonapp.com:8888/

in console its showing error "net::ERR_EMPTY_RESPONSE"
Also its not allowing us to enter or replace license key.
I have also noticed its not working in chrome

Regards,
Faraz
 
Last edited:

Max

Administrator
Staff member
Good day.
We have just checked your server, and we see license is activated and streaming is working.
Browser can return Empty Response Error when you try to access HTTP port via HTTPS or vice versa. But now your site looks accessible via HTTPS with valid certificates.
License key cannot be deactivated when you've log in as user demo (by default), but this operation is available for user admin.
 
Hi @Max

Media Devices demo is not working on chrome can you please check it.
After some time it says "Failed to get media devices"
Also for me on google chrome streaming is not working it was working some days ago. Although its working on Firefox.
Please help us we are your customer since 2 years+
 

Max

Administrator
Staff member
Good day
Please update Chrome to latest release version. We can not reproduce this issue with Chrome 73.0.3683.103 on Windows 7. Please clarify your environment.
Also check if your camera and microphone are attached correctly to PC and are working in some other application.
 

Max

Administrator
Staff member
Please update Web SDK to latest build 0.5.28.2753.79.
Check if problem persists with Chrome on another PC.
Also check if you try to stream from two browsers on the same PC simultaneously, in that case Media Devices example will show "Failed to get media devices" in one of browsers because only one application can capture webcam on Windows at the moment.
 
@Max
is there any command to update web sdk on server or we need to manually download it and upload it on server?
Also when i try to download this latest sdk my PC warns me that its harmful not safe
 

Max

Administrator
Staff member
is there any command to update web sdk on server or we need to manually download it and upload it on server?
Yes, you should manually download Web SDK archive then unpack and upload it contents to server over previuos version that resides in WCS_HOME/client2 folder
when i try to download this latest sdk my PC warns me that its harmful not safe
The latest Chrome versions are more obsessed with safety, this is false positive on JavaScript inside the archive.
 

Max

Administrator
Staff member
Good day.
You can set streaming resolution in constraints. Please look at Media Devices example source code on GitHub and its description on this page.
Note that WebRTC streaming resolution can change on the fly depending on channel quality.
 
Hi @Max

We have also set streaming resolution in constraints but still its not working in below screen shoots google chrome is showing its sending correct resolution but on Facebook or YouTube its not receiving 720P resolution.
We have installed Webcall server 5.2.56 and web SDK 0.5.28.2753.79
 

Attachments

Top