[*] 调整解构
This commit is contained in:
@@ -34,6 +34,12 @@ add_library(
|
|||||||
media/RoomClient.cpp
|
media/RoomClient.cpp
|
||||||
media/LocalClient.cpp
|
media/LocalClient.cpp
|
||||||
media/RemoteClient.cpp
|
media/RemoteClient.cpp
|
||||||
|
media/Player.cpp
|
||||||
|
media/AudioPlayer.cpp
|
||||||
|
media/VideoPlayer.cpp
|
||||||
|
media/Capturer.cpp
|
||||||
|
media/AudioCapturer.cpp
|
||||||
|
media/VideoCapturer.cpp
|
||||||
media/MediaManager.cpp
|
media/MediaManager.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
|
|
||||||
#ifndef TAOYAO_AUDIOCAPTURER_H
|
|
||||||
#define TAOYAO_AUDIOCAPTURER_H
|
|
||||||
|
|
||||||
#endif //TAOYAO_AUDIOCAPTURER_H
|
|
||||||
@@ -19,6 +19,10 @@ public:
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class AudioCapturer {};
|
||||||
|
|
||||||
|
class VideoCapturer {};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // taoyao_Capturer_HPP
|
#endif // taoyao_Capturer_HPP
|
||||||
|
|||||||
@@ -14,6 +14,12 @@ public:
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class RoomClient {};
|
||||||
|
|
||||||
|
class LocalClient {};
|
||||||
|
|
||||||
|
class RemoteClient {};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // taoyao_Client_HPP
|
#endif // taoyao_Client_HPP
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
/**
|
|
||||||
* 房间本地终端
|
|
||||||
*
|
|
||||||
* @author acgist
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef taoyao_LocalClient_HPP
|
|
||||||
#define taoyao_LocalClient_HPP
|
|
||||||
|
|
||||||
#endif // taoyao_LocalClient_HPP
|
|
||||||
@@ -3,6 +3,8 @@
|
|||||||
* 提供通道等等创建
|
* 提供通道等等创建
|
||||||
*
|
*
|
||||||
* @author acgist
|
* @author acgist
|
||||||
|
*
|
||||||
|
* https://docs.openharmony.cn/pages/v4.0/zh-cn/application-dev/media/obtain-supported-codecs.md
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef taoyao_MediaManager_HPP
|
#ifndef taoyao_MediaManager_HPP
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
/**
|
||||||
|
* 播放器
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef TAOYAO_PALYER_H
|
||||||
|
#define TAOYAO_PALYER_H
|
||||||
|
|
||||||
|
namespace acgist {
|
||||||
|
|
||||||
|
class Player {};
|
||||||
|
|
||||||
|
class AudioPlayer {};
|
||||||
|
|
||||||
|
class VideoPlayer {};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif //TAOYAO_PALYER_H
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
/**
|
|
||||||
* 房间远程终端
|
|
||||||
*
|
|
||||||
* @author acgist
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef taoyao_RemoteClient_HPP
|
|
||||||
#define taoyao_RemoteClient_HPP
|
|
||||||
|
|
||||||
#endif // taoyao_RemoteClient_HPP
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
/**
|
|
||||||
* 房间终端
|
|
||||||
*
|
|
||||||
* @author acgist
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef taoyao_RoomClient_HPP
|
|
||||||
#define taoyao_RoomClient_HPP
|
|
||||||
|
|
||||||
#endif // taoyao_RoomClient_HPP
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
|
|
||||||
#ifndef TAOYAO_VIDEOCAPTURER_H
|
|
||||||
#define TAOYAO_VIDEOCAPTURER_H
|
|
||||||
|
|
||||||
#endif //TAOYAO_VIDEOCAPTURER_H
|
|
||||||
@@ -1,8 +1,3 @@
|
|||||||
export const sessionCall : () => void;
|
|
||||||
export const sessionPause : () => void;
|
|
||||||
export const sessionResume : () => void;
|
|
||||||
export const sessionExchange: () => void;
|
|
||||||
export const sessionClose : () => void;
|
|
||||||
export const mediaConsume : () => void;
|
export const mediaConsume : () => void;
|
||||||
export const mediaConsumerClose : () => void;
|
export const mediaConsumerClose : () => void;
|
||||||
export const mediaConsumerPause : () => void;
|
export const mediaConsumerPause : () => void;
|
||||||
|
|||||||
Reference in New Issue
Block a user