Search results

  1. Max

    issue with switch camera flashphoner in react

    This is the camera test supposed in this message. You do not publish stream, but capture camera in browser. In Media Devices example, press Test button, then press Release. This is the camera test without publishing the stream.
  2. Max

    issue with switch camera flashphoner in react

    If you want to test camera and microphone capturing, please look at this code sample (from Media Devices example).
  3. Max

    android SDK not build

    You should use either wss://awscpu.easestream.com:8443/ or ws://awscpu.easestream.com:8080/. The protocol prefix should correspond to port used: ws for unsecure websocet port 8080 and wss for secure one 8443.
  4. Max

    issue with switch camera flashphoner in react

    We modified Two Way Streaming React example to collect WebRTC publishing statistics and write the statistics object to browser console. This works for us in Chrome 120. Please see the attached archive.
  5. Max

    issue with switch camera flashphoner in react

    Does Two Way Streaming React example works? If yes, add the statistics collection code to it and check if this works.
  6. Max

    issue with switch camera flashphoner in react

    Please check the samples mentioned in this post.
  7. Max

    issue with switch camera flashphoner in react

    Please look at React integration examples description and actual source code: ReactJS, Typescript
  8. Max

    rest-api issue

    Please check REST API docs https://docs.flashphoner.com/display/WCS52EN/API+overview Expected: Method: POST Actual: Method: GET
  9. Max

    issue with switch camera flashphoner in react

    What is displayed in DevTools console in this case: if (publishStream) { console.log(publishStream); publishStream.getStats(function(stat) { console.log(stat); ... }) ... } If none, seems like publishStream is null. Please check if the property is set correctly...
  10. Max

    issue with switch camera flashphoner in react

    About the quality. Please test the channel between publisher and server using iperf or similar tool: Testing channel bandwidth using iperf. The publishing bitrate mast be at least twice lower than channel bandwidth. You can also switch to TCP transport: Publishing and playing stream via WebRTC...
  11. Max

    issue with switch camera flashphoner in react

    Does it work in Media Devices example? If yes, please modify the source code minimally to reproduce the problem and send using this form. Please also note that this code will not work in React Native environment, it may be used in browser only.
  12. Max

    issue with switch camera flashphoner in react

    The showStat is just a helper function to display a statistics data. Please use Stream.getStats() method to get a statistics object (see sample on GitHub) publishStream.getStats(function (stats) { if (stats && stats.outboundStream) { if...
  13. Max

    rest-api issue

    Please use REST API to get stream metrics: Receiving common stream information Use XMLHttpRequest to call REST API from JS code: search with Google
  14. Max

    android SDK not build

    If you open aar file using zip extensions, you will be able to see dependencies including gson-2.7.jar Try to remove this file from aar archive or configure your build excluding this jar file.
  15. Max

    android SDK not build

    Hello export.sh is a Linux shell script it does not work properly on Windows To build a sample on Windows 1. Open a sample folder as a project in the Android Studio 2. Add aar file as a dependency. wcs-android-sdk-1.1.0.61.aar 3. Build the project with the dependency.
  16. Max

    android SDK not build

    Download: TAR.GZ https://docs.flashphoner.com/static/ANDROIDSDK11/Android_SDK_1.1_release_notes/#android_sdk_11_release_notes AAR example (latest 61 version for now) https://flashphoner.com/downloads/builds/flashphoner_client/wcs-android-sdk/1.1/wcs-android-sdk-1.1.0.61.aar
  17. Max

    android SDK not build

    Hello Did you do the Step 2? https://docs.flashphoner.com/display/ANDROIDSDK11EN/Overview#Overview-Preparingexamplesforbuilding wget http://flashphoner.com/downloads/builds/flashphoner_client/wcs-android-sdk/1.1/wcs-android-sdk-1.1.0.x.aar cp wcs-android-sdk-1.1.0.x.aar export
  18. Max

    rest-api issue

    Hello This means you don't have streams on the server. Try to publish a stream first. Make sure your stream is being published. Then try again /find_all. Example of a published stream https://demo.flashphoner.com/client2/examples/demo/streaming/two_way_streaming/two_way_streaming.html
  19. Max

    Encrypted SSL

    Hello https://docs.flashphoner.com/display/WCS5EN/Websocket+SSL Default: password
  20. Max

    AT&T 4G/5G fails

    Hello Try to add this setting: ice_tcp_transport=true in flashphoner.properties This will switch default transport from UDP to TCP.
Top