Hello Everyone,I have customized the Bigbluebutton-client and its working fine for me. The problem that i am facing is related with Red5. I am using OpenVPN for accessing BBB from remote url and when i am trying to send my customize message to all clients using sendMessage() method event, the following error is generated in callback.Failed to send [bigbluebutton.sendMessage]: code : NetConnection.Call.Failed description : Service not found: bigbluebutton level : error application : org.red5.server.service.ServiceNotFoundException
now my question is, does openVPN stopping the red5 service or some other problem is there as openVPN also stops all network operations? Please suggest me a solution as its very urgent for me. Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.
To post to this group, send email to bigbluebutton-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.
public function createAndSendMessage(messageId:String,url:String):void{ Alert.show("createAndSendMessage 1"); var message:Object = new Object(); message["messageID"] = messageId; if(url!=""){ message["uri"] = url; } var _nc:ConnectionManager = BBB.initConnectionManager(); _nc.sendMessage("bigbluebutton.sendMessage", function(result:String):void { // On successful result trace(result); Alert.show("success"); }, function(status:String):void { // status - On error occurred //LogUtil.error(status); Alert.show("failure"); }, message ); }
public function sendMessage(service:String, onSuccess:Function, onFailure:Function, message:Object=null):void { var responder:Responder = new Responder( function(result:Object):void { // On successful result Alert.show("sendMessage success 4"); onSuccess("Successfully sent [" + service + "]."); }, function(status:Object):void { // status - On error occurred var errorReason:String = "Failed to send [" + service + "]:\n"; for (var x:Object in status) { errorReason += "\t" + x + " : " + status[x]; } Alert.show("sendMessage error 4= "+errorReason); } );
if (message == null) { _netConnection.call(service, responder); } else { _netConnection.call(service, responder, message); } }
<bean id="broadcast.service" class="org.bigbluebutton.red5.service.ChatService"> <property name="red5Publisher"> <ref bean="red5Publisher"/></property> </bean>
public function sendPublicMessage(message:ChatMessageVO):void | |
{ | |
LOGGER.debug("Sending [chat.sendPublicMessage] to server. [{0}]", [message.message]); |
var _nc:ConnectionManager = BBB.initConnectionManager(); |
_nc.sendMessage("chat.sendPublicMessage", |
function(result:String):void { // On successful result |
LOGGER.debug(result); |
}, | |
function(status:String):void { // status - On error occurred |
LOGGER.error(status); | |
}, | |
message.toObj() | |
); | |
} |
<bean id="chat.service" class="org.bigbluebutton.red5.service.ChatService"> |
<property name="red5Publisher"> <ref bean="red5Publisher"/></property> |
<property name="maxMessageLength" value="1024"/> | |
</bean> |
On Wednesday, May 24, 2017 at 6:54:09 PM UTC+5:30, Avnish Choudhary wrote:Hello Everyone,I have customized the Bigbluebutton-client and its working fine for me. The problem that i am facing is related with Red5. I am using OpenVPN for accessing BBB from remote url and when i am trying to send my customize message to all clients using sendMessage() method event, the following error is generated in callback.Failed to send [bigbluebutton.sendMessage]: code : NetConnection.Call.Failed description : Service not found: bigbluebutton level : error application : org.red5.server.service.ServiceNotFoundExceptionnow my question is, does openVPN stopping the red5 service or some other problem is there as openVPN also stops all network operations? Please suggest me a solution as its very urgent for me. Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.
To post to this group, send email to bigbluebutton-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.