xboxscene.org forums

Author Topic: Xbmc Networking Code Too Slow?  (Read 169 times)

preiter

  • Archived User
  • Newbie
  • *
  • Posts: 10
Xbmc Networking Code Too Slow?
« on: December 22, 2003, 08:00:00 PM »

I can't seem to stream files off of my PC with XBMC. Video doesn't work at all and audio skips a lot.

I am using an 802.11b wireless network that usually gets about 5 Mbs. I know that's kinda slow, but it works just fine with XBMP.

Is XBMC's networking code just less efficient? Is anyone else seeing this?
Logged

Frodo

  • Archived User
  • Newbie
  • *
  • Posts: 23
Xbmc Networking Code Too Slow?
« Reply #1 on: December 22, 2003, 09:23:00 PM »

what protocol are you using ?
XNS (relax)
xbmsp (ccxstream)
or samba?

Frodo
Logged

preiter

  • Archived User
  • Newbie
  • *
  • Posts: 10
Xbmc Networking Code Too Slow?
« Reply #2 on: December 23, 2003, 09:39:00 AM »

Relax / XNS
Logged

QUIKSILVERMALE

  • Archived User
  • Jr. Member
  • *
  • Posts: 67
Xbmc Networking Code Too Slow?
« Reply #3 on: December 23, 2003, 07:53:00 PM »

ive heard that u need at least 802.11g for streaming video
Logged

Frodo

  • Archived User
  • Newbie
  • *
  • Posts: 23
Xbmc Networking Code Too Slow?
« Reply #4 on: December 23, 2003, 09:32:00 PM »

i found out that xbmc reads data over the network in blocks of 2048 bytes
this is probably causing 2 many roundtrips and causing your problems.
I changed it from 2048->16384 bytes which should solve it

frodo
Logged

preiter

  • Archived User
  • Newbie
  • *
  • Posts: 10
Xbmc Networking Code Too Slow?
« Reply #5 on: December 25, 2003, 06:55:00 PM »

802.11b works just fine in XBMP, it takes a while to buffer initially, but after that playback is smooth.

I didn't see a place in the config file to set packet size.
Logged

NYCT

  • Archived User
  • Newbie
  • *
  • Posts: 8
Xbmc Networking Code Too Slow?
« Reply #6 on: December 25, 2003, 07:41:00 PM »

I'm using smb.  If there's a lot of files, it slows it down considerable.  If the files are broken up into folders, it may help.
Logged