Revision f8ea413d

View differences:

Public/assets/mysource.js
55 55
	janus_plugin.createOffer(
56 56
		{
57 57
			// Add data:true here if you want to publish datachannels as well
58
			media: { video: 'screen', audioRecv: false, videoRecv: false, audioSend: useAudio, videoSend: true },	// Publishers are sendonly
58
			media: { video: 'window', audioRecv: false, videoRecv: false, audioSend: useAudio, videoSend: true },	// Publishers are sendonly
59 59
			// If you want to test simulcasting (Chrome and Firefox only), then
60 60
			// pass a ?simulcast=true when opening this demo page: it will turn
61 61
			// the following 'simulcast' property to pass to janus.js to true

Also available in: Unified diff