开发者

If we extend the httpclient somehow to capture some statistics, media player will use our extended Httpclient or not?

I'm trying to capture some statistics like number of 302's and 200 开发者_开发知识库Oks or the time it takes for the client to receive the content from the streamer (time it takes from the actual request (URL) to the HTTP client until HTTP client sends the content back to the media player).

The cleanest way to do this is to extend HttpClient code. The challenge for me is to know that if the media player (any kind) will use my extended version of HttpClient or not.


The challenge for me is to know that if the media player (any kind) will use my extended version of HttpClient or not.

It will not. For starters, I don't even know if it uses HttpClient. Even if it does, your own HttpClient subclasses will not be known to MediaPlayer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜