I'm using the SmartVideoConference example.
Is there a server variable to mute the audio playing and recording?
I'd like to enable video with RedBox, but skip sending/receiving the audio portion.
I want to mute all users.
Thanks,
~Tim
Server/RedBox/conf/web.xmlFlash API/RedBoxClient_AS3/examples/SmartVideoConference/src/SmartVideoConference.as: var myStream:NetStream = avCastMan.publishLiveCast(true, true)Examples\RedBox\SmartVideoConference\src\config.xml<SmartFoxClient>
<ip>192.168.1.4</ip>
<port>9339</port>
<zone>SmartVideoConference</zone>
<debug>true</debug>
<smartConnect>false</smartConnect>
<useVideo>true</useVideo>
<useMicrophone>false</useMicrophone>
</SmartFoxClient>Examples\RedBox\SmartVideoConference\src\SmartVideoConference.as...
private var smartFox:SmartFoxClient;
private var red5IpAddress:String;
private var avCastMan:AVCastManager;
private var inited:Boolean;
private var createRoomWin:TitleWindow
private var componentsReady:Boolean
private var useVideo:Boolean
private var useMicrophone:Boolean
...
/**
* Join video conference
*/
public function joinConference():void
{
// Set from configs
useVideo = true
useMicrophone = false
// Retrieve live casts already available
for each (var liveCast:LiveCast in avCastMan.getAvailableCasts())
{
// Subscribe live cast and add to video container
addLiveCast(liveCast)
}
// Publish my live cast
var myStream:NetStream = avCastMan.publishLiveCast(useVideo, useMicrophone)
if (myStream != null)
{
// Attach camera output
myVCItem.attachCamera(Camera.getCamera())
bt_joinConf.enabled = false
bt_leaveConf.enabled = true
}
}Examples\RedBox\SmartVideoConference\bin\SmartVideoConference.swf

Users browsing this forum: No registered users and 1 guest