Screen sharing and audio

neogeo

Member
It seems that I cannot broadcast audio along with screen sharing. If this is the case then what is the suggested strategy to handle this?
 

Max

Administrator
Staff member
You should create two streams
one stream for screen sharing and one stream for audio
Example:
Code:
session.createStream({name:'stream1-screen'..}).publish();
session.createStream({name:'stream2-audio'..}).publish();
So you will have to play two streams: stream1-screen and stream2-audio
See two-players sample for more information.
 
Top