Two way streaming is not working

Ney

Member
Hi There,
we have setup flashphoner server for web and it was working properly but from 2-3 days, we are not able to publish any video even from the dashboad provided by flashphoner, we are getting below log on console when using two way streaming.

flashphoner.js:34384 17:42:31 : INFO webrtc - {audio: true, video: {…}}
flashphoner.js:34384 17:42:31 : INFO webrtc - FOUND WEBRTC CACHED INSTANCE, id 30cb1c90-790e-11e7-900e-dd8a21b25434-CACHED_WEBRTC_INSTANCE
two_way_streaming.js:144 : FAILED

Please check and update us as our work is on live.
 

Max

Administrator
Staff member
Hello
You can see in flashphoner.log that the trial license has expired.
So you have to activate a valid license to proceed.

Another issue, you have red5pro running with 2g heap size, simultaneously with WCS.
It is definitely bad idea for server with 2gb RAM.
I would recommend either
  • migrate red5pro or WCS to another server
  • stop red5pro
  • add RAM for this node
 

Ney

Member
Hi Max,

We have been having multiple issues and have not been able to get this working across all platforms seamlessly. Can you extend the trial until we can get the existing issues resolved? Once we get it working across the Web, iOS and Andriod, we will immediately purchase the license.

Thanks!
 

Ney

Member
Hi,

We got the licensing sorted out. Can you please look into this issue and resolve the greening thats occurring?


Thanks
 

Max

Administrator
Staff member
Hi,
you still have license, that expired, you can see exception in flashphoner.log
 

Ney

Member
Hi Max,

We are again getting status failed when trying to broadcast any video may you please check and give me the reason that why we are getting this again and again we replaced the licence as shared the process it works for the day but again i check this today and getting status failed.

Thanks,
 

Max

Administrator
Staff member
Hi,
can you write when it was last FAILED status? BTW in last versions of our streaming examples we added output of stream.info to user interface. If you update WCS to last version you can see more information when stream is failing.
 

Ney

Member
Hi,

Where we can able to find this "stream.info" file as checked on ser,client,and log folder but no files are there with this name, Also we are using WEBSDK, and our WCS version is 5.0.2401

Thanks
 

Max

Administrator
Staff member
Hi,
sorry, if it was not clear.
BTW in last versions of our streaming examples we added output of stream.info to user interface.
Here is example:
stream_info.png

As you can see, there is "Session does not exist"-info present, this is result of stream.getInfo()
 

Ney

Member
Hi,

Please check the below url that is our dashboard url
https://buckwormvideos.com:8888/dashboard.xhtml

here connection is " ESTABLISHED " but publishing fail using two way straming

and foe my application getting below log on consol may be this will help you to understand:

flashphoner.js:34384 15:40:40 INFO webrtc - Initialized
flashphoner.js:34384 15:40:41 INFO websocket - Initialized
flashphoner.js:34384 15:40:41 INFO core - Initialized
two_way_streaming.js:36 Create new session with url wss://buckwormvideos.com:8443
flashphoner.js:34384 15:40:45 INFO webrtc -
  1. {audio: true, video: {…}}
    1. audio:true
    2. video:
      1. height:240
      2. width:320
      3. __proto__:
        1. constructor:ƒ Object()
        2. hasOwnProperty:ƒ hasOwnProperty()
        3. isPrototypeOf:ƒ isPrototypeOf()
        4. propertyIsEnumerable:ƒ propertyIsEnumerable()
        5. toLocaleString:ƒ toLocaleString()
        6. toString:ƒ toString()
        7. valueOf:ƒ valueOf()
        8. __defineGetter__:ƒ __defineGetter__()
        9. __defineSetter__:ƒ __defineSetter__()
        10. __lookupGetter__:ƒ __lookupGetter__()
        11. __lookupSetter__:ƒ __lookupSetter__()
        12. get __proto__:ƒ __proto__()
        13. set __proto__:ƒ __proto__()
    3. __proto__:Object
flashphoner.js:34403 15:40:46 WARN core -
  1. {name: "NotReadableError", message: "", constraint: "", toString: ƒ}
    1. constraint:""
    2. message:""
    3. name:"NotReadableError"
    4. toString:ƒ ()
      1. arguments:(...)
      2. caller:(...)
      3. length:0
      4. name:"toString"
      5. prototype:
        1. constructor:ƒ ()
        2. __proto__:Object
      6. __proto__:ƒ ()
      7. [[FunctionLocation]]:flashphoner.js:24174
      8. [[Scopes]]:Scopes[4]
    5. __proto__:Object
 

Max

Administrator
Staff member
Here is our test from Windows 7 and Chrome 60.0.3112.101 with your server.
buckwormvideos_streaming_test.png
Please, describe your environment: OS, Browser, Camera.
Did you test your camera with Media Devices demo?
 

Ney

Member
hi Max,

During subscribe the video from web sdk some times we are getting below error please help us to resolve this issue.


Uncaught Error: Invalid session state at Object.createStream (flashphoner.js:28366)
 

Ney

Member
when clicking on the below url
https://www.buckworm.com/customers/...am=180817032541buckworm3293&subscriberId=3442

some times we are getting error
Uncaught Error: Invalid session state
at Object.createStream (flashphoner.js:28366)
at playStream (two_way_streaming.js:154)
at startLiveBoradcast (broadcast-subscriber.php?stream=180817032541buckworm3293&subscriberId=3442:153)
at HTMLButtonElement.onclick (broadcast-subscriber.php?stream=180817032541buckworm3293&subscriberId=3442:59)
 

Attachments

Top