You need to have the plugin loaded also on the server. I think recently the
xml configs got nuked and its propably not in the default server plugin xml
anymore (plugin.xml is loaded if you dont pass --config option). Add the
VlcPlugin to the server config also and you should be fine. You can see and
copy the exact line from viewer-browser.xml.

Best regards,
Jonne Nauha
Adminotech developer


On Fri, Oct 14, 2011 at 8:22 PM, Evan <[email protected]> wrote:

> Hi Toni,
>
> I put in the components via the client and saved the scene.
>
> I then ran the new scene and got the errors:
>   Error: Cannot create component for type "EC_MediaPlayer" - no
> factory exists!
>   Error: Failed to create a component of type "EC_MediaPlayer" and
> name "" to Entity "MediaPlayer" (ID: 7)
>
> Below is the snippet from the .txml with http:// locations omitted:
>
> <entity id="7" sync="1">
>  <component type="EC_Name" sync="1">
>   <attribute value="MediaPlayer" name="name"/>
>   <attribute value="" name="description"/>
>  </component>
>  <component type="EC_Placeable" sync="1">
>   <attribute value="0,0,0,0,0,0,1,1,1" name="Transform"/>
>   <attribute value="false" name="Show bounding box"/>
>   <attribute value="true" name="Visible"/>
>   <attribute value="1" name="Selection layer"/>
>   <attribute value="" name="Parent entity ref"/>
>   <attribute value="" name="Parent bone name"/>
>  </component>
>  <component type="EC_Mesh" sync="1">
>   <attribute value="0,0,0,0,0,0,1,1,1" name="Transform"/>
>   <attribute value="http://"; name="Mesh ref"/>
>   <attribute value="" name="Skeleton ref"/>
>   <attribute value="" name="Mesh materials"/>
>   <attribute value="0" name="Draw distance"/>
>   <attribute value="false" name="Cast shadows"/>
>  </component>
>  <component type="EC_MediaPlayer" sync="1">
>   <attribute value="http://"; name="Media Source"/>
>   <attribute value="0" name="Render Submesh"/>
>   <attribute value="true" name="Enabled"/>
>   <attribute value="true" name="Illuminating"/>
>   <attribute value="true" name="Interactive"/>
>   <attribute value="true" name="Streaming Allowed"/>
>  </component>
>  </entity>
>
> The "Media Source" is a streaming mjpg if that makes a difference.
>
> Thank you very much,
>
> Evan
>
> On Oct 14, 11:57 am, Toni Alatalo <[email protected]> wrote:
> > On Oct 14, 2011, at 7:17 PM, Evan wrote:
> >
> > > possibly help me with the syntax for the Entity, Component and
> > > Attributes for implementing the EC_MediaPlayer into the .txml file?
> >
> > You don't usually edit the XML by hand - instead, use the scene & entity
> editing GUI, for example:
> >
> > - open scenestruct (shift-s or menu -> view -> scene)
> > - right-click on the entity where you want to show a video stream
> > - choose 'add component'
> > - select MediaPlayer in the dropdown dialog
> > - after adding the component, doubleclick on the entity to get it open in
> EC-editor and set the params
> >  * they are update live, not only to you but to only clients
> > - save the scene from scene-window - rightclick - 'save scene as' when
> done.
> >
> > > Evan
> >
> > ~Toni
> >
> >
> >
> >
> >
> >
> >
> > > On Oct 14, 10:40 am, Jonne Nauha <[email protected]> wrote:
> > >> That webcam module I made wont help you get image from web or share
> you
> > >> webcam to others. It was only meant for local viewing of webcam, which
> is
> > >> not very useful tbh.
> >
> > >> We do however have EC_MediaPlayer that can play video streams. So just
> get
> > >> the webcams stream url and put it to the ECs media ref and hit play,
> see
> > >> what happens. Remember to keep the streaming allowed boolean true (the
> > >> default). Make some mesh, then apply EC_MediaPlayer to the same
> entity.
> > >> Check interactive true, youll get a menu when you click the screen to
> > >> play/pause/show 2D player widget.
> >
> > >> Best regards,
> > >> Jonne Nauha
> > >> Adminotech developer
> >
> > >> On Fri, Oct 14, 2011 at 3:21 PM, Evan <[email protected]> wrote:
> > >>> Heyall,
> >
> > >>> I see mention of a web cam at
> > >>>http://wiki.realxtend.org/index.php/Getting_Started_with_Tundra
> > >>> under 1.0.6 features and am wondering if there's a way to implement
> it
> > >>> in Tundra 2.1.1.
> >
> > >>> I'd like to be able to view a webcam I have setup remotely.
> >
> > >>> Thank you ever again,
> >
> > >>> Evan
> >
> > >>> --
> > >>>http://groups.google.com/group/realxtend
> > >>>http://www.realxtend.org
> >
> > > --
> > >http://groups.google.com/group/realxtend
> > >http://www.realxtend.org
>
> --
> http://groups.google.com/group/realxtend
> http://www.realxtend.org
>

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Reply via email to