[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
Using DLNA for getting live DVB channels: issue with TCP port
05-04-2011, 10:19 PM (This post was last modified: 05-04-2011 11:06 PM by jp1.)
Post: #1
Question Using DLNA for getting live DVB channels: issue with TCP port
Hi,

I'm a developer and want to get C200 working with our device,
which acts as UPnP/DLNA server. But it servers no static files
(like do usuall NAS boxes) but live DVB channels. Box has
2 DVB-S2 tuners build-in.

DLNA works well with all those "smart" TVs from Samsung,LG,
Sony and so (including networked Blueray players from same
companies).

The issue I have with C200 is that for unknown reason (at least
for me) the box is using "Range" option inside connection
and all is reading only 500k bytes. then it closes connection
and open new one with same GET command, but with range
from 500k to 1M, and so on ...

I would like to ask if there is any way how to signal to C200
that connection should stay active all time. I understand
that C200 is doing data caching, but closing and opening
TCP connection again and again is not good behaviour
if live stream is transmitted.

Plrase let me know if there is a way how to say C200
to not open/close connection on every data chunk.

Regards

Honza

Here you can see some log of data communication on TCP port 8200:

--CONNECTION 1 OPEN--
HEAD /MediaItems/28.mpg HTTP/1.1
Host: 192.168.100.75:8200
User-Agent: Syabas/00-00-000000-00-000-400-000/00-000 Firefox/0.8.0+ (gaya3 TV Res1280x720; Browser Res1100x656-32bits; Res1280x720; mac_addr=00.00.00.00.00.00)

HTTP/1.1 200 OK
Content-Type: video/mpeg
transferMode.dlna.org: Streaming
Connection: close
Date: Wed, 04 May 2011 20:51:58 GMT
EXT:
realTimeInfo.dlna.org: DLNA.ORG_TLAG=*
contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_OP=00;DLNA.ORG_CI=0
Server: SmartImp DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0
--CONNECTION 1 CLOSE--

--CONNECTION 2 OPEN--
GET /MediaItems/28.mpg HTTP/1.1
Host: 192.168.100.75:8200
User-Agent: Syabas/00-00-000000-00-000-400-000/00-000 Firefox/0.8.0+ (gaya3 TV Res1280x720; Browser Res1100x656-32bits; Res1280x720; mac_addr=00.00.00.00.00.00)
Range: bytes=0-524287



--CONNECTION 2 CLOSE--

--CONNECTION 3 OPEN--
GET /MediaItems/28.mpg HTTP/1.1
Host: 192.168.100.75:8200
User-Agent: Syabas/00-00-000000-00-000-400-000/00-000 Firefox/0.8.0+ (gaya3 TV Res1280x720; Browser Res1100x656-32bits; Res1280x720; mac_addr=00.00.00.00.00.00)
Range: bytes=524288-1048575


--CONNECTION 3 CLOSE--

OK, just learnt about response code 406 (Not Acceptable) which, according DLNA
Interoperability guidelines v1.0, should be used if Range: option is unsupported:

Quote:7.8.22.7 If any requested range for the specified URI can
never be processed/satisfied by the HTTP server, for
example, in the case of real-time transcoding or live
contents, the HTTP server must respond with 406 (Not
Acceptable).

But if I'm using that then C200 browser returns to channel listing.
No more attempt (no any futher GET command follow)

I think the C200 acts incorrectly here.

Honza

Here is log of communication:

Code:
GET /MediaItems/28.mpg HTTP/1.1
Host: 192.168.100.75:8200
User-Agent: Syabas/00-00-000000-00-000-400-000/00-000 Firefox/0.8.0+ (gaya3 TV Res1280x720;  Browser Res1100x656-32bits;  Res1280x720;  mac_addr=00.00.00.00.00.00)
Range: bytes=2097152-2621439
HEAD /MediaItems/35.mpg HTTP/1.1
Host: 192.168.100.75:8200
User-Agent: Syabas/00-00-000000-00-000-400-000/00-000 Firefox/0.8.0+ (gaya3 TV Res1280x720;  Browser Res1100x656-32bits;  Res1280x720;  mac_addr=00.00.00.00.00.00)

HTTP/1.1 406 Not Acceptable
Content-Type: text/html
Connection: close
Content-Length: 136
Server: SmartImp DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

<HTML><HEAD><TITLE>406 Not Acceptable</TITLE></HEAD><BODY><H1>Not Acceptable</H1>An unsupported operation was requested.</BODY></HTML>
Find all posts by this user
Add Thank You Quote this message in a reply
05-10-2011, 12:30 AM
Post: #2
RE: Using DLNA for getting live DVB channels: issue with TCP port
Nobody with comment?

Strange, I would imagine that possibility to connect PCB to live satellite (or terestrial) signal should be good extension.

The only problem is that PCB "thinks" the remote data are static and so it does stepped requests (open connection,
ask for 500k data and close connection, then open new connection, ask for next 500k data and again close
connection). I think it comes from idea, that server is able to push requested chunk of data in max network
speed. But such assumption is not correct for live streaming when server is able to send data only
on transmitted speed.

That is why I'm asking if there is a way how to tell PCB that data are LIVE and so that it must
not do stepped read.

Honza

---
C-200, playing how to connect to remote IPTV source
Find all posts by this user
Add Thank You Quote this message in a reply
06-09-2011, 09:36 AM
Post: #3
RE: Using DLNA for getting live DVB channels: issue with TCP port
OK, closing this as nobody cares Sad

[buzzwords]
If somebody, accidentally, be interesting what the device I mean,
check on its homepage on http://www.nessiedvb.com
[/buzzwords]

/Honza

---
C-200, playing how to connect to remote IPTV source
Find all posts by this user
Add Thank You Quote this message in a reply
06-22-2011, 10:33 AM
Post: #4
RE: Using DLNA for getting live DVB channels: issue with TCP port
This would be very interesting for sure!
Please guys, have a look at this issue!



Rgs H2Deetoo,
Find all posts by this user
Add Thank You Quote this message in a reply
06-22-2011, 12:52 PM
Post: #5
RE: Using DLNA for getting live DVB channels: issue with TCP port
There is a live mode in the sdk player available to flash apps.. I think it was originally added for live youtube streams but may do what you need. Of course that means making a flash app though.
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  NFS mount issue sskankin 0 338 04-29-2013 09:12 PM
Last Post: sskankin
  [A-110] Port forwarding - Internet settings beckyboo 1 374 04-06-2013 08:37 AM
Last Post: beckyboo
  c200 gigabit swtich issue Mbranam 2 379 04-04-2013 08:37 PM
Last Post: Mbranam
  Login Issue markmacdonnell 0 303 03-31-2013 04:55 PM
Last Post: markmacdonnell
  [A300] NAT port forwarding transmission password protection? unbrained 3 544 03-27-2013 10:12 AM
Last Post: unbrained
  A-400 connecting to Drobo Issue, advanced Network help required DaneJuras81 0 395 03-09-2013 05:40 PM
Last Post: DaneJuras81
  C200 TCP Receive Window size - YouTube playback stuttering rilles 2 763 01-14-2013 09:55 PM
Last Post: rilles
  Port Forwarding th14 0 295 12-31-2012 11:47 AM
Last Post: th14
Exclamation A-210 folder issue turning pages in WHS2011 Winkiller 2 479 10-18-2012 10:18 AM
Last Post: Winkiller
  A300 samba share connection issue (bug?) narubonk 4 1,255 08-30-2012 11:41 PM
Last Post: narubonk

Forum Jump: