this will NOT work :(
`sid` parameter in 3.3.0 MUST have name `securityCode`
`uid` parameter has no effect

securityCode MUST be be the sid of "Online room user", NOT API sid.

only real person can stream to the room right now
This is currently by design.

This MIGHT be reworked, but most probably not right now
I would like to release 4.0.0. And going to finalize it's features

On Mon, Sep 11, 2017 at 2:17 PM, Alekhya M <m.alek...@globaledgesoft.com> wrote:
> Thank you for the response.
>
> I have an other query that video streaming using command line(i.e., Using
> ffmpeg command) but facing issue in it. Below is the procedure what have
> followed:
>     1. Logged in via SOAP Request and fetched the "sid".
>     2. Using 'Get Room Hash' SOAP Request fetched the "URL".
> In the below command, uid param is must and how to find the "uid" via
> SOAP/REST requests.
> <Command> : ffmpeg -re -i Avengers2.mp4 -vcodec flv -f flv -rtmp_conn "O:1
> NS:sid:<sid> NS:uid:<uid>  O:0"
> rtmp://localhost:1935/openmeetings/<RoomId>/<StreamId>
> Note: OM's Server Version is 3.3.0.
>
> ‌‌Thanks,
> Alekhya
>
> ‍‍----- Original Message -----
> From: "solomax666" <solomax...@gmail.com>
> To: "Alekhya M" <m.alek...@globaledgesoft.com>
> Cc: "user" <user@openmeetings.apache.org>
> Sent: Friday, September 8, 2017 8:16:30 PM
> Subject: Re: Issue in fetching the 'Get External' under Room Service
>
> ‌Hello,
>
>
> to be fair I never tried SoapUI, I'm using REST in my PHP/Java/C# projects
> Will try to create sample later this week
>
> On Fri, Sep 8, 2017 at 1:49 PM, Alekhya M <m.alek...@globaledgesoft.com>
> wrote:
>> Hi,
>>
>> When I add the Room Service WSDL link to 'SOAP UI' and try to execute the
>> 'get External' SOAP Request, fails with ""
>> 1. SOAP Request Login -> sid (Fetched from Response).
>> 2. In the Get External Request, Which all parameters should give as
>> Request
>> Body (Below is the Actual Request), If any other parameters should pass as
>> Request, How to fetch those details:
>> URL : http://172.16.7.146:5080/openmeetings/services/RoomService
>> Actual Request Body :
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
>> xmlns:web="http://webservice.openmeetings.apache.org/";>
>> <soapenv:Header/>
>> <soapenv:Body>
>> <web:getExternal>
>> <!--Optional:-->
>> <sid>?</sid>
>> <!--Optional:-->
>> <type>?</type>
>> <!--Optional:-->
>> <externaltype>?</externaltype>
>> <!--Optional:-->
>> <externalid>?</externalid>
>> <!--Optional:-->
>> <room>
>> <!--Optional:-->
>> <id>?</id>
>> <!--Optional:-->
>> <name>?</name>
>> <!--Optional:-->
>> <comment>?</comment>
>> <!--Optional:-->
>> <type>?</type>
>> <!--Optional:-->
>> <numberOfPartizipants>?</numberOfPartizipants>
>> <appointment>?</appointment>
>> <!--Optional:-->
>> <confno>?</confno>
>> <isPublic>?</isPublic>
>> <demo>?</demo>
>> <closed>?</closed>
>> <!--Optional:-->
>> <demoTime>?</demoTime>
>> <!--Optional:-->
>> <externalId>?</externalId>
>> <!--Optional:-->
>> <externalType>?</externalType>
>> <!--Optional:-->
>> <redirectUrl>?</redirectUrl>
>> <moderated>?</moderated>
>> <allowUserQuestions>?</allowUserQuestions>
>> <allowRecording>?</allowRecording>
>> <waitForRecording>?</waitForRecording>
>> <audioOnly>?</audioOnly>
>> <!--Zero or more repetitions:-->
>> <hiddenElements>?</hiddenElements>
>> </room>
>> </web:getExternal>
>> </soapenv:Body>
>> </soapenv:Envelope>
>>
>> Executed Request Body :
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
>> xmlns:web="http://webservice.openmeetings.apache.org/";>
>> <soapenv:Header/>
>> <soapenv:Body>
>> <web:getExternal>
>> <!--Optional:-->
>> <sid>5b837eaf-4934-4d39-9502-77ddf003f32b</sid>
>> <!--Optional:-->
>> <type>conference</type>
>> <!--Optional:-->
>> <externaltype>moodle</externaltype>
>> <!--Optional:-->
>> <externalid>21</externalid>
>> <!--Optional:-->
>> <room>
>>
>> <numberOfPartizipants>100</numberOfPartizipants>
>> <appointment>true</appointment>
>>
>> <isPublic>true</isPublic>
>> <demo>false</demo>
>> <closed></closed>
>> <!--Optional:-->
>>
>> <!--Optional:-->
>> <externalId>?</externalId>
>> <!--Optional:-->
>> <externalType>?</externalType>
>> <!--Optional:-->
>> <redirectUrl>?</redirectUrl>
>> <moderated>?</moderated>
>> <allowUserQuestions>?</allowUserQuestions>
>> <allowRecording>?</allowRecording>
>> <waitForRecording>?</waitForRecording>
>> <audioOnly>?</audioOnly>
>> <!--Zero or more repetitions:-->
>> <hiddenElements>?</hiddenElements>
>> </room>
>> </web:getExternal>
>> </soapenv:Body>
>> </soapenv:Envelope>
>>
>> Response :
>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>> <soap:Body>
>> <soap:Fault>
>> <faultcode>soap:Server</faultcode>
>> <faultstring>An error occurred while parsing the query filter "select r
>> from
>> Room as r where r.externalId = :externalId AND c.externalType =
>> :externalType AND r.type = :type AND c.deleted = false". Error message:
>> Attempt to query field "c.externalType" from non-entity variable "c".
>> Perhaps you forgot to prefix the path in question with an identification
>> variable from your FROM clause?</faultstring>
>> <detail>
>> <ns1:ServiceException
>> xmlns:ns1="http://webservice.openmeetings.apache.org/"/>
>> </detail>
>> </soap:Fault>
>> </soap:Body>
>> </soap:Envelope>
>>
>>
>> Please let me know, what all the parameters required and how to fetch
>> those
>> parameter values?
>>
>>
>> Thanks in Advance,
>> Alekhya
>>
>> Disclaimer:This message is intended only for the designated recipient(s).
>> It
>> may contain confidential or proprietary information and may be subject to
>> other confidentiality protections. If you are not a designated recipient,
>> you may not review, copy or distribute this message. Please notify the
>> sender by e-mail and delete this message. GlobalEdge does not accept any
>> liability for virus infected mails.
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
> Disclaimer:This message is intended only for the designated recipient(s). It
> may contain confidential or proprietary information and may be subject to
> other confidentiality protections. If you are not a designated recipient,
> you may not review, copy or distribute this message. Please notify the
> sender by e-mail and delete this message. GlobalEdge does not accept any
> liability for virus infected mails.
>



-- 
WBR
Maxim aka solomax

Reply via email to