player.setURLtoFlash(url) is not a function

Discussion in 'Web Call Server 5' started by devfortia, Jan 23, 2020.

  1. devfortia

    devfortia New Member

    Hi!
    I just installed de trial version.
    The two way streaming works fine but when I try to stream to youtube gets a javascript error:

    player.setURLtoFlash(url) is not a function in sendDataToPlayer() function

    What could be doing wrong??

    Thanks in adavance!
  2. Max

    Max Administrator Staff Member

    Hello,

    When WebRTC as RTMP re-publishing example is used, the error occurs when flash player have not loaded (Flash has to be allowed in the browser).
    Here is described how to republish to YouTube a stream published in Two-way Streaming.
  3. devfortia

    devfortia New Member

    Hi! It worked perfect thank you!!!
    Just one more question. Is there a way to stream my screen and also the webcam?
  4. Max

    Max Administrator Staff Member

    Good day.
    Yes, you can stream screen and webcam simultaneously, but they must be two different streams from different page elements. So, subscriber should also receive two streams, you can arrange them to display in different page elements (see 2 Players example).
    There is also stream mixer functions to mix two strems into one, but this requires much CPU resources.

Share This Page