qh1a6jo1t

Audiostream?

  • hello,
    i am porting the sipx-api (http://www.sipfoundry.org/sipxphone/) to xbox, because i want to add a sip-feature to xbmc.
    (how) can i access the soundbuffer or through xbmc? (so i dont have to handle the whole directsound-crap ;) )

    are there any "how to add features to xbmc"-tutorials or documentations?

    thx ia

    edit: i have made my own window class. it can activate it by xbmc.activatewindow in keymap.xml.
    but how can i access it from home-screen?
    (the label is shown already, but i cant select)


  • you shouldn need to touch that function... thats the defaults for the old "homebuttons" section of xboxmediacenter.xml. *(for if the section is missing.)

    if you're using a skin that's still using the button scroller on the home screen, just add this to xboxmediacenter.xml:


    *<homebuttons>
    * * * * ...
    * * * * <button>
    * * * * * *<description>sip</description>
    * * * * * *<label>sip phone</label>
    * * * * * *<execute>xbmc.activatewindow(2800)</execute>
    * * * * * *<icon>###</icon>
    * * * *</button>
    *</homebuttons>


    for the icon, add an image control to home.xml and give it a unique id. *then use that id above.

    if you're using the default pm3 skin, then u need to create a custom button.


  • you might also want to checkout the speex voice-chat function/feature in the kai (xlink) online-gaming part of xbmc's source code ;)
    ...so xbmc already got a 'kind-of' voice-over-ip (voip) phone function via the ported version of libspeex we got from team-avalaunch (http://cvs.sourceforge.net/viewcvs.py/xbmc/xbmc/docs/libspeex.rar?rev=1.1&sortby=date&view=log) :saint:


  • i cant answer ur sound buffer questions, but you should check out how the karaoke system works. you may be able to piggyback onto it.

    and you do get the home screen to do it the same way. you add a button which uses xbmc.activatewindow(). (hyperlink is the old way of doing it.)


  • i have already added:
    cbuttonscrollersettings::cbutton *button8 = new cbuttonscrollersettings::cbutton(9, "xbmc.activatewindow(2800)", icon_type_sip);

    and

    g_settings.m_buttonsettings.m_vecbuttons.push_back (button8);


    in csettings::loadhomebuttons

    home.xml i have adapted too.

    but i cant select the button :-/


  • yes, but i want to phone with xbox standalone.. and phone to normal pcs/hw-sipphones.

    nearly everything should be working. the last thing to do by now is replace the hmixers, hwaveins and hwaveouts by xbox/xbmc routines
    :sniffle:







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Audiostream? , Please add it free.
    xn--qh1a6jo1t.com @ January 7, 2009 edit