AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
FFmpegUrlInputController.cpp File Reference
#include <libavformat/avformat.h>
#include <libavutil/common.h>
#include <libavutil/error.h>
#include <AVSCommon/SDKInterfaces/HTTPContentFetcherInterface.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include "AndroidSLESMediaPlayer/FFmpegDeleter.h"
#include "AndroidSLESMediaPlayer/FFmpegUrlInputController.h"
Include dependency graph for FFmpegUrlInputController.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::mediaPlayer
 
 alexaClientSDK::mediaPlayer::android
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::string TAG ("FFmpegUrlInputController")
 String to identify log entries originating from this file. More...
 

Variables

static const auto alexaClientSDK::mediaPlayer::android::INVALID_DURATION = std::chrono::milliseconds(-1)
 Define invalid duration. More...
 
static const char * alexaClientSDK::mediaPlayer::android::USER_AGENT_OPTION {"user_agent"}
 This string represents the FFmpeg HTTP User-Agent option key. More...
 
static const char * alexaClientSDK::mediaPlayer::android::RECONNECT_OPTION {"reconnect"}
 This string represents the FFmpeg option to reconnect when the connection is dropped during streaming. More...
 
static const char * alexaClientSDK::mediaPlayer::android::TRUE_BOOLEAN_OPTION {"1"}
 This string represents setting a boolean option to TRUE. More...
 
static constexpr int alexaClientSDK::mediaPlayer::android::NO_FLAGS {0}
 Represent scenario where there is no flag enabled. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

Function Documentation

◆ TAG()

static const std::string TAG ( "FFmpegUrlInputController"  )
static

String to identify log entries originating from this file.

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0