SCTR
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2013
02:45 PM
Does Roku open multiple streams, if so how can I prevent it
I'm trying to put a log in our database every time someone plays a video.
However I notice this is blasting in (oddly enough) 11 entries each time :x :
customer_log_id customer_id created_on type source body
--------------- ----------- ------------------- ------ ------ -----------------------------------------------------
10663952 994112 2013-11-08 17:19:02 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663951 994112 2013-11-08 17:19:02 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663950 994112 2013-11-08 17:19:02 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663949 994112 2013-11-08 17:19:01 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663948 994112 2013-11-08 17:19:01 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663947 994112 2013-11-08 17:19:01 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663946 994112 2013-11-08 17:19:01 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663945 994112 2013-11-08 17:19:00 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663944 994112 2013-11-08 17:19:00 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663943 994112 2013-11-08 17:19:00 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663942 994112 2013-11-08 17:19:00 Login player [13C1CV194XXX] Logged In from 192.168.1.195
The Eclipse console output doesn't show this happening though at least from the debug messages I've put in there...
If I hit the URL directly I only see a single log entry (as expected).
customer_log_id customer_id created_on type source body
--------------- ----------- ------------------- ------ ------ -----------------------------------------------------
10663953 994112 2013-11-08 17:24:11 Login player [13C1CV194XXX] Logged In from 192.168.1.195
However I notice this is blasting in (oddly enough) 11 entries each time :x :
customer_log_id customer_id created_on type source body
--------------- ----------- ------------------- ------ ------ -----------------------------------------------------
10663952 994112 2013-11-08 17:19:02 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663951 994112 2013-11-08 17:19:02 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663950 994112 2013-11-08 17:19:02 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663949 994112 2013-11-08 17:19:01 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663948 994112 2013-11-08 17:19:01 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663947 994112 2013-11-08 17:19:01 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663946 994112 2013-11-08 17:19:01 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663945 994112 2013-11-08 17:19:00 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663944 994112 2013-11-08 17:19:00 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663943 994112 2013-11-08 17:19:00 Login player [13C1CV194XXX] Logged In from 192.168.1.195
10663942 994112 2013-11-08 17:19:00 Login player [13C1CV194XXX] Logged In from 192.168.1.195
The Eclipse console output doesn't show this happening though at least from the debug messages I've put in there...
getfailurereason: OK
getresponsecode: 200
parse_show_feed()
myURL = http://myserver.com/us/watch/87905/13?psn=13C1CV194XXX
myURL = http://myserver.com/us/watch/87906/13?psn=13C1CV194XXX
myURL = http://myserver.com/us/watch/87907/13?psn=13C1CV194XXX
myURL = http://myserver.com/us/watch/87908/13?psn=13C1CV194XXX
myURL = http://myserver.com/us/watch/87909/13?psn=13C1CV194XXX
myURL = http://myserver.com/us/watch/87910/13?psn=13C1CV194XXX
displayDVDShowsScreen | msg = | index = 0
displayDVDShowsScreen::msg.isListItemSelected()
displayDVDShowsScreen::list item selected | current show = 0
preShowDetailScreen()
showDetailScreen( 0)
refreshShowDetail()
RegRead:: key:87905 section: Default
RegRead:: key:87905 section: Default
ButtonPressed
showVideoScreen()
episode =
showVideoScreen | msg = Stream started. | index = 1
Unexpected event type: 20
showVideoScreen | msg = | index = 0
If I hit the URL directly I only see a single log entry (as expected).
customer_log_id customer_id created_on type source body
--------------- ----------- ------------------- ------ ------ -----------------------------------------------------
10663953 994112 2013-11-08 17:24:11 Login player [13C1CV194XXX] Logged In from 192.168.1.195
1 REPLY 1


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2013
02:58 PM
Re: Does Roku open multiple streams, if so how can I prevent
The box can make multiple range requests for a piece of content. There's no way to prevent that.
Most channels implement tracking more explicitly using either the isStreamStarted or isPlaybackPosition event to trigger a request to the respective analytic system.
Most channels implement tracking more explicitly using either the isStreamStarted or isPlaybackPosition event to trigger a request to the respective analytic system.