player.setURLtoFlash(url) is not a function

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!
 

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.
 

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?
 

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.
 
Top