Hi All

I am trying to redirect my stream from red5 server to fms. i am able to see
the  connected message from my machine but when i try to play that stream
with different server name
then i am getting blank screen. i am using following code

In streamPublishStart method...

StreamingProxy sp = new StreamingProxy();
            sp.setHost("xxx.xxx.xx.xx");
            sp.setPort(1935);
            sp.setApp("live");
            sp.init();

            //sp.start(stream.getPublishedName(),"", null);


            IScope scope = stream.getScope();
            IBroadcastScope bsScope = null;

            IBasicScope basicScope =
scope.getBasicScope(IBroadcastScope.TYPE, stream.getPublishedName());
            if (!(basicScope instanceof IBroadcastScope))
                bsScope=null;
            else
                bsScope = (IBroadcastScope) basicScope;

            if (bsScope != null)
            {
                bsScope.subscribe(sp, null);
                sp.start(stream.getPublishedName(), StreamingProxy.LIVE, new
Object[] {});
                //sp.start(publishName, publishMode, params)
            }

            super.streamBroadcastStart(stream);

Please help.


Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to