HTTP Request to get slide show

93 views
Skip to first unread message

Andy Buckingham

unread,
Aug 9, 2016, 4:32:27 AM8/9/16
to RadioVIS developers
(this discussion has been moved from RadioDNS Developers)

Hi Furhad,

Which server (host/port) are you trying to request slideshow from? This appears to missing from your example.

Have you performed a RadioDNS lookup first to find the correct server for your HTTP request? This involves following the steps defined in the RadioDNS specification:


As a worked example using your original request:

1. It appears you are trying to resolve slideshow for `fm:ce1.c479.09580` which resolves to `rdns.musicradio.com`
2. Performing a lookup for RadioVIS over HTTP (`_radiovis-http._tcp.rdns.musicradio.com`) resolves to `vis-http.musicradio.com:80`
3. Performing a request against this server with the request you supplied, gets the following response:

``

{"headers":{"RadioVIS-Message-ID":"ID:lqctwebnode2-37432-1464945283443-2:8993180:-1:1:154117856","RadioVIS-Destination":"/topic/fm/ce1/c479/09580/image","RadioVIS-Link":"http://www.capitalfm.com/london/on-air/last-10-songs/","RadioVIS-Trigger-Time":"NOW"},"body":"SHOW http://slideshow.musicradio.com/slides/GCap_Media/One_Network/Capital_Radio/NowPlaying_807928.jpg"}
``

This is the expected initial RadioVIS payload for this radio station.

Hope this helps.

Andy.


> Date: Mon, 8 Aug 2016 15:21:24 -0700 (PDT)
> From: Furhad Jidda
> To: RadioDNS developers
> Subject: [RadioDNS-Dev] HTTP Request to get slide show
> Hi ,
>     I am trying to follow the ETSI document # 103 270 V1.2.1 (2015-09) to 
> get the slide show images over IP using HTTP protocol but I keep receiving 
> below error. Has anyone ever seen this issue before ? Is there something I 
> am doing wrong ?
> http requests
> My http request looks like 
> */radiodns/vis/vis.json?topic=/topic/fm/ce1/c479/09580/image*
> Something went wrong - The remote end-point returned an error - HTTP Code - 
> 302
> HTTP/1.1 302 Found
> Cache-Control: private
> Content-Type: text/html; charset=utf-8
> Date: Mon, 08 Aug 2016 22:15:30 GMT
> Server: Microsoft-IIS/8.0
> X-Powered-By: ASP.NET
> Content-Length: 183
> Connection: keep-alive
> =============
> <html><head><title>Object 
> moved</title></head><body>
> <h2>Object moved to <a 
> </body></html>

Furhad Jidda

unread,
Aug 9, 2016, 10:12:21 AM8/9/16
to RadioVIS developers
Hi Andy,
    Thank you so much. That does help . But I do not see in the document(link that you gave) how to perform this look up , I see this however in the old version (RVIS01-v1.1.01) which I though should not be referred . Am I missing something here ?

Thanks,
Furhad J.

Andy Buckingham

unread,
Aug 9, 2016, 10:20:55 AM8/9/16
to RadioVIS Developers
Hi Furhad,

There are 2 specifications involved in this process:

* Section 5 of ETSI TS 103 270 V1.2.1 (RadioDNS) details the construction of the RadioDNS FQDN to perform the authoritative FQDN lookup (Step 1 in my worked example below).
* Section 7 of ETSI TS 101 499 V3.1.1 (Slideshow) details the application discovery element (Step 2 in my worked example below).

The RadioDNS element in 103 270 is common across slideshow, SPI, RadioTAG and more, hence it sits standalone. The slideshow specific bits sit within the Slideshow specification.

I hope that explains things a little further.

Andy.


--
You received this message because you are subscribed to the Google Groups "RadioVIS developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to radiovis-develo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Furhad Jidda

unread,
Aug 9, 2016, 11:38:01 AM8/9/16
to RadioVIS developers
Hi Andy,
   Thank you very much .That does make senses now .Sorry I missed that before.

Thank you so much for helping me out.

Thanks ,
Furhad J.
To unsubscribe from this group and stop receiving emails from it, send an email to radiovis-developers+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages