objective-c - iOS有关于流量统计的问题,求大神~
怪我咯
怪我咯 2017-04-18 09:44:53
0
2
467

项目是一个类似交友社区的应用,然后老大想知道用户在观看视频花了多少流量,我在网上找了很久,都没有这种类似某个时间段的流量统计,苹果官方文档我也不知道该从哪入手,望有知道的大神们指点一下!

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all (2)
小葫芦

A more precise method: Expand the player yourself (such as ijkplayer) to get the received and sent traffic data.
To be crude, it is to monitor network card traffic, which cannot distinguish applications.

    Ty80

    Look at the NSURLProtocol class which should help.

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!