com.google.android.exoplayer2.util.Log.i()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(3.8k)|赞(0)|评价(0)|浏览(116)

本文整理了Java中com.google.android.exoplayer2.util.Log.i()方法的一些代码示例,展示了Log.i()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Log.i()方法的具体详情如下:
包路径:com.google.android.exoplayer2.util.Log
类名称:Log
方法名:i

Log.i介绍

暂无

代码示例

代码示例来源:origin: google/ExoPlayer

/** @see android.util.Log#i(String, String, Throwable) */
public static void i(String tag, String message, @Nullable Throwable throwable) {
 if (!logStackTraces) {
  i(tag, appendThrowableMessage(message, throwable));
 }
 if (logLevel <= LOG_LEVEL_INFO) {
  android.util.Log.i(tag, message, throwable);
 }
}

代码示例来源:origin: google/ExoPlayer

@Override
public void release() {
 Log.i(TAG, "Release " + Integer.toHexString(System.identityHashCode(this)) + " ["
   + ExoPlayerLibraryInfo.VERSION_SLASHY + "] [" + Util.DEVICE_DEBUG_INFO + "] ["
   + ExoPlayerLibraryInfo.registeredModules() + "]");
 mediaSource = null;
 internalPlayer.release();
 eventHandler.removeCallbacksAndMessages(null);
}

代码示例来源:origin: google/ExoPlayer

/**
 * Executes the action and schedules the next.
 *
 * @param player The player to which the action should be applied.
 * @param trackSelector The track selector to which the action should be applied.
 * @param surface The surface to use when applying actions.
 * @param handler The handler to use to pass to the next action.
 * @param nextAction The next action to schedule immediately after this action finished.
 */
public final void doActionAndScheduleNext(
  SimpleExoPlayer player,
  DefaultTrackSelector trackSelector,
  Surface surface,
  HandlerWrapper handler,
  ActionNode nextAction) {
 if (description != null) {
  Log.i(tag, description);
 }
 doActionAndScheduleNextImpl(player, trackSelector, surface, handler, nextAction);
}

代码示例来源:origin: google/ExoPlayer

MAX_DROPPED_VIDEO_FRAME_COUNT_TO_NOTIFY);
 out.add(extensionRendererIndex++, renderer);
 Log.i(TAG, "Loaded LibvpxVideoRenderer.");
} catch (ClassNotFoundException e) {

代码示例来源:origin: google/ExoPlayer

(Renderer) constructor.newInstance(eventHandler, eventListener, audioProcessors);
 out.add(extensionRendererIndex++, renderer);
 Log.i(TAG, "Loaded LibopusAudioRenderer.");
} catch (ClassNotFoundException e) {
   (Renderer) constructor.newInstance(eventHandler, eventListener, audioProcessors);
 out.add(extensionRendererIndex++, renderer);
 Log.i(TAG, "Loaded LibflacAudioRenderer.");
} catch (ClassNotFoundException e) {
   (Renderer) constructor.newInstance(eventHandler, eventListener, audioProcessors);
 out.add(extensionRendererIndex++, renderer);
 Log.i(TAG, "Loaded FfmpegAudioRenderer.");
} catch (ClassNotFoundException e) {

代码示例来源:origin: google/ExoPlayer

/**
 * Executes the action and schedules the next.
 *
 * @param player The player to which the action should be applied.
 * @param trackSelector The track selector to which the action should be applied.
 * @param surface The surface to use when applying actions.
 * @param handler The handler to use to pass to the next action.
 * @param nextAction The next action to schedule immediately after this action finished.
 */
public final void doActionAndScheduleNext(
  SimpleExoPlayer player,
  DefaultTrackSelector trackSelector,
  Surface surface,
  HandlerWrapper handler,
  ActionNode nextAction) {
 if (description != null) {
  Log.i(tag, description);
 }
 doActionAndScheduleNextImpl(player, trackSelector, surface, handler, nextAction);
}

代码示例来源:origin: google/ExoPlayer

Clock clock,
 Looper looper) {
Log.i(TAG, "Init " + Integer.toHexString(System.identityHashCode(this)) + " ["
  + ExoPlayerLibraryInfo.VERSION_SLASHY + "] [" + Util.DEVICE_DEBUG_INFO + "]");
Assertions.checkState(renderers.length > 0);

代码示例来源:origin: google/ExoPlayer

Log.i(TAG, "Ignoring unsupported tag: " + xmlParser.getName());
 unsupportedNodeDepth++;
} else if (TtmlNode.TAG_HEAD.equals(name)) {

代码示例来源:origin: google/ExoPlayer

Map<String, String> adData = adEvent.getAdData();
String message = "AdEvent: " + adData;
Log.i(TAG, message);
if ("adLoadError".equals(adData.get("type"))) {
 handleAdGroupLoadError(new IOException(message));

相关文章

微信公众号

最新文章

更多