Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
schtanislau
Visitor

IP address of .ts endpoint

Hello,

I'm gathering video data for analytics and I need to obtain an endpoint IP address where segments are being downloaded from.
In documentation we have only SegUrl field. I'm creating a roUrlTransfer object to last SegUrl value or m3u8 URL and wait for the response to obtain the target IP address, but I can't trust this data because response could be obtained for completely different CDN node (load balancers).

Is there a way to obtain an actual source IP address where current segment was downloaded from?

Thank you.
0 Kudos
1 REPLY 1
schtanislau
Visitor

Re: IP address of .ts endpoint

Actually there is a IPAddress field in segment info object on roVideoPlayerEvent, but this field is always empty.


> ? msg.GetInfo()
<Component: roAssociativeArray> =
{
   Bitrate:  3770528
   BufferLevel:  0
   BufferSize:  0
   DownloadDuration:  3512
   IPAddress:
   SegBitrate:  3770
   SegSize:  2897088
   SegType:  0
   SegUrl: http://<URL>
   Sequence:  0
   Status:  0
}


Are there any plans to fill this field?
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.