DOCS.txt 3.79 KB
Newer Older
Kulya's avatar
Kulya committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135

Ajax functions: 
--------------------------------------------------------------
checkEnterLogin ---------------------------------------------------------
	Input: 
		{login} - string
	Output: 
		Success: UserID
		Failed: false
			
checkPassAndEnter ---------------------------------------------------------
	Input: 
		{UserId} - string, 
		{Password} - string
	Output: 
		Success: UserID
		Failed: false
	 
getActiveRoomData -------------------------------------------------------
	Input (POST): 
		{room} - string (number or room, required)
	Output (JSON):
		array of object parameters and array of memebers objects
		
getAllRooms  ---------------------------------------------------------
	[No input parameters] 
	Output: {rooms} - array of arrays 
	
getAllUsers ---------------------------------------------------------
	[No input parameters] 
	Output: {users} - array of arrays
	
	

saveUserData ---------------------------------------------------------
	Input (POST): 
		{num} - string, 
		{password} - string
		{name} - string
		{room} - string (number or room, optional, default 7777)
	Output: 
		Success: Msg
		Failed: Error


isFreeNumber ---------------------------------------------------------------
	Input (POST): 
		{num} - string, 
	Output: 
		Success: 	Ok
		Failed:		Error

saveProfile ---------------------------------------------------------------
	Input (POST):
		{name} 						required, default: (2top+15)
		{video-layout-name}			default: (2top+15)
		{video-canvas-size} 		default: (1920x1080)
		{video-canvas-bgcolor} 		default: (#333333)
		{video-layout-bgcolor} 		default: (#000000)
		{video-codec-bandwidth} 	default: (2mb)
		{video-fps} 				default: (30)
	Output: 
		Success: 	Ok
		Failed:		Error

saveRoom ---------------------------------------------------------------------

	Input (POST):
		{name} 						required (a-zA-Z)
		{number}					default: (0-9)
	Output: 
		Success: 	Ok
		Failed:		Error
		
remove_room_file ----------------------------------------------------------------
	
	Input (POST):
		{number}					required: (0-9)
	Output: 
		Success: 	Ok
		Failed:		Error

get_all_profiles -----------------------------------------------------------------
	[No input parameters] 
	Output: {profiles} - array of arrays

get_all_layouts -------------------------------------------------------------------
	[No input parameters] 
	Output: {layouts} - array of arrays

	
	
-----------------------------------------------------------------------------------
JS FUNCS
-----------------------------------------------------------------------------------
user_moveto(room,uid,lid)
user_volume_out(room,uid)
user_volume_in(room,uid)
user_unvmute(room,uid)
user_vmute(room,uid)
user_volumeon(room,uid)
user_volumeoff(room,uid)
user_unmute(room,uid)
user_mute(room,uid)
user_kick(room,uid)
change_layout_to(room,layout)
-----------------------------------------------------------------------------------

mute   - отключения микрофона
unmute - вкл микр

vmute    - отключения исх видео
unvmute  - вкл исх видео
vmute-snap	

deaf - заглушить мембера
undeaf - мембер снова слышит 


volume_in	Adjust the gain on the audio coming from a member	conference <confname> volume_in <member_id>|all|last|non_moderator [<newval>]	 	 
volume_out	Adjust the volume of audio going to a member	conference <confname> volume_out <member_id>|all|last|non_moderator [<newval>]


hold - убрать с лайоута
unhold - вернуть в лайоут


vblind - мембер не видит других мемберов
unvblind - норм


conference 7777 vid-floor 142 force - если меняем флур нужно перевести флур на другого мембера
conference 7777 vid-layer 142 1

conference 7777 vid-layout 1x1 - поменять лайоут (сетку)