-
Notifications
You must be signed in to change notification settings - Fork 915
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
Showing
46 changed files
with
1,840 additions
and
214 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
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
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
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
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
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
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
13 changes: 0 additions & 13 deletions
13
demo/app/src/main/java/com/starrtc/demo/demo/beauty/DemoBeautyCallback.java
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
demo/app/src/main/java/com/starrtc/demo/demo/beauty/DemoVideoSourceCallback.java
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,21 @@ | ||
package com.starrtc.demo.demo.beauty; | ||
|
||
import com.starrtc.demo.demo.MLOC; | ||
import com.starrtc.starrtcsdk.core.videosrc.StarAudioData; | ||
import com.starrtc.starrtcsdk.core.videosrc.XHVideoSourceCallback; | ||
import com.starrtc.starrtcsdk.core.videosrc.StarVideoData; | ||
|
||
public class DemoVideoSourceCallback extends XHVideoSourceCallback { | ||
@Override | ||
public StarVideoData onVideoFrame(StarVideoData videoData){ | ||
MLOC.d("DemoVideoSourceCallback","视频源数据已经接到了,不做处理,直接再丢回去"+videoData.getDataLength()); | ||
//可直接对videoData里的数据进行处理,处理后将videoData对象返回即可。 | ||
return videoData; | ||
} | ||
@Override | ||
public StarAudioData onAudioFrame(StarAudioData audioData){ | ||
MLOC.d("DemoVideoSourceCallback","音频源数据已经接到了,不做处理,直接再丢回去"+audioData.getDataLength()); | ||
//可直接对audioData里的数据进行处理,处理后将audioData对象返回即可。 | ||
return audioData; | ||
} | ||
} |
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
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
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
Oops, something went wrong.