Hi Andrey,

I would agree but you should re-check that with a usual SOAP-Client.
I think you have an error or run into a pitfall of PHP and the print_r
methods or its a problem related to the SOAP-Client in PHP.
Cause the Web-Service and its return statement is created with Apache
Axis2. So "I" do not influence the way the return object is done and
the conclusion of your post would be that there is a major Issue with
Apache Axis2 and it XML-Marshalling.

Sebastian

2010/5/29 Andrey <waster2...@gmail.com>:
> Ok. Thank you. Will try to check.
>
> BTW, I tried to use your SOAP call getRoomWithClientObjectsById and have
> some note:
>
> Assume that there is only one broadcasting user. In this case 'roomUser'
> array attribute in response is a hash array:
>
> [roomUser] => Array (
>        [avsettings] => av
>        [broadcastId] => 7
>        [firstname] => test
>        [isBroadCasting] => true
>        [lastname] => test
>        [publicSID] => df3adeb78dbc799546c0fc785a191901
> )
>
> But in case of 2 broadcasters 'roomUser' is an actual array with [0] and [1]
> hash elements:
>
> [roomUser] => Array (
>        [0] => Array (
>                [avsettings] => av
>                [broadcastId] => 7
>                [firstname] => test
>                [isBroadCasting] => true
>                [lastname] => test
>                [publicSID] => df3adeb78dbc799546c0fc785a191901
>        )
>        [1] => Array (
>                [avsettings] => av
>                [broadcastId] => 8
>                [firstname] => testuser
>                [isBroadCasting] => true
>                [lastname] => testuser
>                [publicSID] => 984aa8a0e970a2b20cc95fb1c27c83ef
>        )
> )
>
> So foreach statement works bad in case of one broadcaster.
>
> I guees it is right to return something like that in case of one streaming
> client:
>
>
> [roomUser] => Array (
>        [0] => Array (
>                [avsettings] => av
>                [broadcastId] => 7
>                [firstname] => test
>                [isBroadCasting] => true
>                [lastname] => test
>                [publicSID] => df3adeb78dbc799546c0fc785a191901
>        )
> )
>
> Please correct me if I'm wrong.
>
> With regards, Andrey.
>
> Is it possible to
> 29.05.2010 13:43, Sebastian Wagner пишет:
>>
>> Hi Andrey,
>>
>> sorry I have no JW Player.
>>
>> The url looks like that:
>>
>> rtmp://xxx.xxx.xxx.xxx/openmeetings/<room_id>
>>
>> and the stream-name is then<broadcastId>
>>
>> but you do not attach those params to the URL (excapt JW Player does
>> something magic with it)
>> but for the URL itself it makes no sense to add any additional params.
>>
>> I don't know exactly what command JW Player supports to play a
>> live-stream, cause the way you request the file/stream is a little bit
>> different from playing a stream from VOD.
>>
>> Sebastian
>>
>> 2010/5/28 Andrey<waster2...@gmail.com>:
>>>
>>> Hello,
>>>
>>> Can you please then explain how should rtmp address looks like for the JW
>>> Player?
>>>
>>> I guess it should be
>>>
>>>
>>> so.addParam('flashvars','streamer=rtmp://xxx.xxx.xxx.xxx/openmeetings/<room_id>&provider=rtmp&file=<broadcastId>&...);
>>>
>>> But I can't view stream in JW player.
>>>
>>> I tested it in previous r3087 and it worked. Can you please test?
>>>
>>> Thanks.
>>>
>>> 28.05.2010 01:04, Sebastian Wagner пишет:
>>>>
>>>> Okay see r3247
>>>> http://code.google.com/p/openmeetings/source/detail?r=3247
>>>>
>>>> There is a new Function:
>>>> public RoomReturn getRoomWithClientObjectsById(String SID, long
>>>> rooms_id)
>>>>
>>>>
>>>> [http://code.google.com/p/openmeetings/source/browse/trunk/singlewebapp/src/roomservice/org/openmeetings/axis/services/RoomService.java#289]
>>>>
>>>> The return Object contains an array of active Users in the Room, look
>>>> like that:
>>>> <soapenv:Body>
>>>> -<ns:getRoomWithClientObjectsByIdResponse
>>>> xmlns:ns="http://services.axis.openmeetings.org";>
>>>> -<ns:return type="org.openmeetings.axis.services.RoomReturn">
>>>> -<ax216:created>2010-03-24T12:14:56.000Z</ax216:created>
>>>> -<ax216:creator xsi:nil="true"></ax216:creator>
>>>> -<ax216:name>public Conference Room</ax216:name>
>>>> -<ax216:roomUser type="org.openmeetings.axis.services.RoomUser">
>>>> -<ax216:avsettings>av</ax216:avsettings>
>>>> -<ax216:broadcastId>0</ax216:broadcastId>
>>>> -<ax216:firstname>firstname</ax216:firstname>
>>>> -<ax216:isBroadCasting>false</ax216:isBroadCasting>
>>>> -<ax216:lastname>lastname</ax216:lastname>
>>>> -<ax216:publicSID>03e841d1b1e7b3386c9c5b452e5c8b1b</ax216:publicSID>
>>>> </ax216:roomUser>
>>>> -<ax216:room_id>2</ax216:room_id>
>>>> </ns:return>
>>>> </ns:getRoomWithClientObjectsByIdResponse>
>>>> </soapenv:Body>
>>>>
>>>> Attribute: *room_id*
>>>> =>  the scope-name
>>>>
>>>> Attribute: *isBroadCasting*
>>>> =>  If that user has published Audio/Video
>>>>
>>>> Attribute: *avsettings*
>>>> av = Audio + Video
>>>> v = Video
>>>> a = Audio
>>>> n = Nothing
>>>>
>>>> Attribute: *broadcastId*
>>>> =>  Stream-Name
>>>>
>>>>
>>>>
>>>> Sebastian
>>>>
>>>>
>>>> 2010/5/27 Andrey<waster2...@gmail.com<mailto:waster2...@gmail.com>>
>>>>
>>>>    Hello,
>>>>
>>>>    It will be great because in days I need to put broadcasted
>>>>    openmeetings streams on web. Thank you very much!
>>>>
>>>>
>>>>    27.05.2010 20:54, Sebastian Wagner пишет:
>>>>
>>>>        Hi Andrey,
>>>>
>>>>        I can post a new method tomorrow and you can take one of the next
>>>>        Nightly Builds
>>>>
>>>>
>>>>        Sebastian
>>>>
>>>>        2010/5/27 Andrey<waster2...@gmail.com
>>>>        <mailto:waster2...@gmail.com>  <mailto:waster2...@gmail.com
>>>>        <mailto:waster2...@gmail.com>>>
>>>>
>>>>
>>>>            Thanks for the info. Can we wait this SVN commit soon? And
>>>>            corresponding changes in deb package?
>>>>
>>>>
>>>>            27.05.2010 19:11, Sebastian Wagner пишет:
>>>>
>>>>                No I first have to commit a new Method of the
>>>>        SOAP-Gateway to
>>>>                the SVN.
>>>>
>>>>                Sebastian
>>>>
>>>>                2010/5/27 Andrey<waster2...@gmail.com
>>>>        <mailto:waster2...@gmail.com>
>>>>        <mailto:waster2...@gmail.com<mailto:waster2...@gmail.com>>
>>>>        <mailto:waster2...@gmail.com<mailto:waster2...@gmail.com>
>>>>
>>>>        <mailto:waster2...@gmail.com<mailto:waster2...@gmail.com>>>>
>>>>
>>>>
>>>>                    Hello,
>>>>
>>>>                    So unfortunately it is not possilble to get current
>>>>        users of
>>>>                room
>>>>                    via SOAP methods to publish their streams in
>>>>        JWPlayer, for
>>>>                example?
>>>>
>>>>                    With regards, Andrey.
>>>>
>>>>                    27.05.2010 13:59, Sebastian Wagner пишет:
>>>>
>>>>                        Hi,
>>>>
>>>>                        I have partly reworked those functions.
>>>>                        The function getRoomWithCurrentUsersById does
>>>>        not work
>>>>                as intend
>>>>                        at the
>>>>                        moment.
>>>>                        The Service Method needs to be refactored to be
>>>>        able to
>>>>                include the
>>>>                        attributes of the Room-Client-Object in the
>>>>        SOAP-Return.
>>>>
>>>>                        Sebastian
>>>>
>>>>                        2010/5/27 Waster<waster2...@gmail.com
>>>>        <mailto:waster2...@gmail.com>
>>>>        <mailto:waster2...@gmail.com<mailto:waster2...@gmail.com>>
>>>>        <mailto:waster2...@gmail.com<mailto:waster2...@gmail.com>
>>>>        <mailto:waster2...@gmail.com<mailto:waster2...@gmail.com>>>
>>>>        <mailto:waster2...@gmail.com<mailto:waster2...@gmail.com>
>>>>        <mailto:waster2...@gmail.com<mailto:waster2...@gmail.com>>
>>>>
>>>>        <mailto:waster2...@gmail.com<mailto:waster2...@gmail.com>
>>>>        <mailto:waster2...@gmail.com<mailto:waster2...@gmail.com>>>>>
>>>>
>>>>
>>>>
>>>>                            I confirm that. I get empty list of current
>>>>        users while
>>>>                        trying to use
>>>>                            getRoomWithCurrentUsersById via nusoap.php
>>>> SOAP
>>>>                client from
>>>>                            openmeetings SVN even 2 users are currently
>>>>        in room.
>>>>
>>>>                            I need to get broadcastid's for current
>>>>        users to publish
>>>>                        their RTMP
>>>>                            streams on the web.
>>>>
>>>>                            Please advice.
>>>>
>>>>                            On Mar 4, 9:32 pm, Sebastian Wagner
>>>>        <seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>>>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>>>>>
>>>>
>>>>                        wrote:
>>>>         >  hi,
>>>>         >
>>>>         >  not for the moment, I will have to validate that with a SOAP
>>>>                        client
>>>>         >  first before I can give you an answer.
>>>>         >  There seems to be no problem with the Code itself.
>>>>         >
>>>>         >  Sebastian
>>>>         >
>>>>         >  On Mar 2, 5:36 am, ike<i...@ini.net<mailto:i...@ini.net>
>>>>        <mailto:i...@ini.net<mailto:i...@ini.net>>
>>>>        <mailto:i...@ini.net<mailto:i...@ini.net>  <mailto:i...@ini.net
>>>>        <mailto:i...@ini.net>>>
>>>>        <mailto:i...@ini.net<mailto:i...@ini.net>  <mailto:i...@ini.net
>>>>        <mailto:i...@ini.net>>  <mailto:i...@ini.net<mailto:i...@ini.net>
>>>>        <mailto:i...@ini.net<mailto:i...@ini.net>>>>>  wrote:
>>>>         >
>>>>         >  >  Similar to this discussion.
>>>>         >
>>>>         >
>>>>
>>>>>
>>>>> http://groups.google.com/group/openmeetings-user/browse_thread/thread...
>>>>
>>>>         >
>>>>         >  >  Regardless of whether users are in the room or not, a SOAP
>>>>                        call to
>>>>         >  >  getRoomWithCurrentUsersById() is always returning
>>>>        "currentusers" as
>>>>         >  >  nil instead of returning a List<RoomClient>.
>>>>         >
>>>>         >  >  SOAP RESPONSE:
>>>>         >  >  <ax211:currentusers
>>>>                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-
>>>>         >  >  instance" xsi:nil="true" />
>>>>         >
>>>>         >  >  The rest of the response seems to populate ok.
>>>>         >
>>>>         >  >  Any thoughts?
>>>>         >
>>>>         >  >  Ike
>>>>
>>>>
>>>>
>>>>
>>>>                        --
>>>>                        Sebastian Wagner
>>>>        http://www.webbase-design.de
>>>>        http://openmeetings.googlecode.com
>>>>        http://www.laszlo-forum.de
>>>>        seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>>>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>                --
>>>>                Sebastian Wagner
>>>>        http://www.webbase-design.de
>>>>        http://openmeetings.googlecode.com
>>>>        http://www.laszlo-forum.de
>>>>        seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>        --
>>>>        Sebastian Wagner
>>>>        http://www.webbase-design.de
>>>>        http://openmeetings.googlecode.com
>>>>        http://www.laszlo-forum.de
>>>>        seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>
>>>>        <mailto:seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Sebastian Wagner
>>>> http://www.webbase-design.de
>>>> http://openmeetings.googlecode.com
>>>> http://www.laszlo-forum.de
>>>> seba.wag...@gmail.com<mailto:seba.wag...@gmail.com>
>>>
>>>
>>
>>
>>
>
>



-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
seba.wag...@gmail.com

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

Reply via email to