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
Use Video and Mute Audio/Mic
-
- Posts: 29
- Joined: 03 Mar 2010, 17:42
-
- Posts: 29
- Joined: 03 Mar 2010, 17:42
One hack I see is to alter the mime types on the audio formats. That way sound couldn't be received.
Code: Select all
Server/RedBox/conf/web.xml
-
- Posts: 29
- Joined: 03 Mar 2010, 17:42
Thanks. Ideally it would solve a boolean configuration parameter "enableMicrophone" in the redbox config and use that in all the AVCastManager.publishLiveCast calls.
Code: Select all
Flash API/RedBoxClient_AS3/examples/SmartVideoConference/src/SmartVideoConference.as: var myStream:NetStream = avCastMan.publishLiveCast(true, true)
-
- Posts: 29
- Joined: 03 Mar 2010, 17:42
http://areebworld.com/sfs/SFS_PRO_1.6.6/Flash%20API/RedBoxClient_AS2/docs/html/com_smartfoxserver_redbox_AVCastManager.html#publishLiveCast
Do I need to recompile the flash after making changes to the source?
Or is the action script linked externally?
If necessary, are there any docs for compiling SmartFox?
Any hints on how to populate useVideo and useMicrophone Booleans from the config settings?
Do I need to recompile the flash after making changes to the source?
Or is the action script linked externally?
If necessary, are there any docs for compiling SmartFox?
Code: Select all
Examples\RedBox\SmartVideoConference\src\config.xml
Code: Select all
<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>
Code: Select all
Examples\RedBox\SmartVideoConference\src\SmartVideoConference.as
Code: Select all
...
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
}
}
Any hints on how to populate useVideo and useMicrophone Booleans from the config settings?
-
- Posts: 29
- Joined: 03 Mar 2010, 17:42
-
- Posts: 29
- Joined: 03 Mar 2010, 17:42
I think I still need to compile the action script into the swf .
For now I'll need to mute the mic like this.
Right click and select settings.
On the mic tab, turn the mic volume all the way down -
My mom is always hitting the mute button:
Right-click sound in the taskbar and select "recording devices":
Click the properties on your microphone:
Make sure you are not muted:
Code: Select all
Examples\RedBox\SmartVideoConference\bin\SmartVideoConference.swf
For now I'll need to mute the mic like this.
Right click and select settings.
On the mic tab, turn the mic volume all the way down -
My mom is always hitting the mute button:
Right-click sound in the taskbar and select "recording devices":
Click the properties on your microphone:
Make sure you are not muted:
Who is online
Users browsing this forum: No registered users and 11 guests