MCPcopy Create free account
hub / github.com/FongMi/TV / player

Method player

catvod/src/main/java/com/github/catvod/net/OkHttp.java:83–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 }
82
83 public static synchronized OkHttpClient player() {
84 if (get().player != null) return get().player;
85 return get().player = getBuilder().build();
86 }
87
88 public static OkHttpClient client(long timeout) {
89 return client().newBuilder().connectTimeout(timeout, TimeUnit.MILLISECONDS).readTimeout(timeout, TimeUnit.MILLISECONDS).writeTimeout(timeout, TimeUnit.MILLISECONDS).build();

Callers 3

configurePlayerViewMethod · 0.95

Calls 3

getMethod · 0.95
getBuilderMethod · 0.95
buildMethod · 0.45

Tested by

no test coverage detected