-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43aede5
commit c173a14
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
headers/rtc_4.3.1.136/custom_headers/CustomIAgoraMediaPlayerSource.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#pragma once | ||
|
||
#include "AgoraBase.h" | ||
#include "AgoraMediaBase.h" | ||
#include "IAgoraMediaPlayer.h" | ||
|
||
namespace agora{ | ||
namespace rtc{ | ||
namespace ext{ | ||
|
||
class IMediaPlayerSource | ||
{ | ||
// ----------------------------- 👇🏻overload API👇🏻 ----------------------------- | ||
|
||
/** | ||
* @iris_api_id: MediaPlayerSource_setPlayerOption_e43f201 | ||
* @source: virtual int setPlayerOption(const char* key, int64_t value) = 0; | ||
*/ | ||
virtual int setPlayerOptionInInt(const char *key, int64_t value) = 0; | ||
|
||
/** | ||
* @iris_api_id: MediaPlayerSource_setPlayerOption_ccad422 | ||
* @source: virtual int setPlayerOption(const char* key, const char* value) = 0; | ||
*/ | ||
virtual int setPlayerOptionInString(const char *key, const char *value) = 0; | ||
|
||
/** | ||
* @iris_api_id: MediaPlayerSource_getPlayerOption_ae3d0cf | ||
* @source: virtual int getPlayerOption(const char* key, int& value) = 0; | ||
*/ | ||
virtual int getPlayerOptionInInt(const char *key, int &value) = 0; | ||
|
||
/** | ||
* @iris_api_id: MediaPlayerSource_getPlayerOption_f15226a | ||
* @source: virtual int getPlayerOption(const char* key, agora::util::AString& value) = 0; | ||
*/ | ||
virtual int getPlayerOptionInString(const char *key, agora::util::AString &value) = 0; | ||
|
||
// ----------------------------- 👆🏻overload API👆🏻 ----------------------------- | ||
}; | ||
|
||
} // namespace ext | ||
} // namespace rtc | ||
} // namespace agora |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters