Hello Max:
We now can run the streaming on web(google chrome), but use MS xamarin that include webview and build android app then always show circle. Please see attached file.
Do you know how to solve it?
Hello.
Did you try to build our test WebView application from GitHub, or to install and run this application bundled with Android SDK? If it works, but Xamarin does not, it is possible that Xamarin WebView does not support WebRTC.
Try to use MSE or HLS for playback in WebView.
Hello Frank.
What version of WCS and WebSDK do you use?
Try to play your stream with our demo player https://demo.flashphoner.com:8888/client2/examples/demo/streaming/player/player.html. If it works, try to update WCS and WebSDK to the latest version. If the problem still persist, please provide us your sample application code based on our demo that reproduces the problem.
Then autoplay is set to true, Chrome cannot create audiocontext. In the latest WebSDK version we switched off audiocontext creation by default. Please download it 0.5.28.2753.55, then unpack flashphoner-api-0.5.28 folder content to WCS_HOME/client2.
Hello
Sorry, we have not received your SSH credentials. Please send it again to support@flashphoner.com
You can also try a quick fix described in this thread.
We found that AudioContext is still created. We raised internal ticket (WCS-1698) and let you know when fix it.
As workaround, do the following:
1. Edit flashphoner.js
2. Go to row 7465
3. Replace
Code:
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
to
Code:
var audioContext = null;//new (window.AudioContext || window.webkitAudioContext)();
4. Then, reload the player page by pressing Ctrl+F5 in Chrome
Note that when we tested this quick and dirty fix, your RTMP stream was not avalable to play, please check it.
Hello Sir:
I have modify it as below:
row 7465:
var audioContext = new (window.AudioContext || window.webkitAudioContext)(); to =>
var audioContext = null;//new (window.AudioContext || window.webkitAudioContext)();
and
row 11372:
microphoneGain = createGainNode(stream); to=> //microphoneGain = createGainNode(stream);
but still have problem.
My RTMP stream device unplug power before, Now it is OK.
Hello Frank.
We fixed AudioContext problem in latest WebSDK build 0.5.28.2753.57. Please update SDK to this version, or update WCS to build 5.1.3720 that incliudes new WebSDK build.
Note that automatic playback can start with no sound, it described in details here.
right after <body> tag and put the file from archive attached (silence.mp3 with 0.25 s of silence) to web page folder.
This is a hack, and it can stop working in future Chrome versions.