-
Notifications
You must be signed in to change notification settings - Fork 6
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
18 changed files
with
1,068 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Close inactive issues | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v3 | ||
with: | ||
days-before-issue-stale: 30 | ||
days-before-issue-close: 14 | ||
stale-issue-label: "stale" | ||
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity." | ||
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." | ||
days-before-pr-stale: -1 | ||
days-before-pr-close: -1 | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
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,42 @@ | ||
## 3.2.2 - 2023-12-15 | ||
更新SSL库,修复rtmps无法推流的问题 | ||
|
||
## 3.2.1 - 2023-12-12 | ||
推流API可以通过设置音量来控制静音或者增益 | ||
|
||
## 3.2.0 - 2023-12-06 | ||
全面兼容Enhanced-Rtmp标准推流和播放h265编码 | ||
|
||
## 3.1.16 - 2023-07-10 | ||
优化播放重连策略 | ||
修复播放录制部分情况未写入结束包 | ||
|
||
## 3.1.15 - 2023-07-05 | ||
优化实现播放时录像 | ||
|
||
## 3.1.14 - 2023-06-28 | ||
优化实现播放时录像 | ||
|
||
## 3.1.13 - 2023-06-26 | ||
实现播放时录像 | ||
|
||
## 3.1.12 - 2023-06-7 | ||
完善点播api | ||
|
||
## 3.1.11 - 2023-05-16 | ||
* 增加推流多输出,可用于多平台推流和直播录像 | ||
|
||
## 3.1.10 - 2023-05-12 | ||
* 修复一处音频问题 | ||
|
||
## 3.1.9 - 2023-05-12 | ||
* 修复异常 | ||
* 修复stop未清屏 | ||
|
||
## 3.1.8 - 2023-04-28 | ||
* 增加RTSP传输协议设置 | ||
* 增加HTTP referer/UA 设置 | ||
* 增加RTMP swfUrl/pageUrl 设置 | ||
|
||
## 3.1.7 - 2023-04-27 | ||
* 支持双声道降噪 |
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 @@ | ||
/build |
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,47 @@ | ||
plugins { | ||
id 'com.android.library' | ||
id 'maven-publish' | ||
} | ||
|
||
android { | ||
compileSdkVersion 33 | ||
defaultConfig { | ||
minSdkVersion 21 | ||
targetSdkVersion 33 | ||
versionCode 30202 | ||
versionName "3.2.2" | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
|
||
} | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
def camerax_version = "1.3.0" | ||
implementation "androidx.camera:camera-core:${camerax_version}" | ||
implementation "androidx.camera:camera-camera2:${camerax_version}" | ||
implementation "androidx.camera:camera-lifecycle:${camerax_version}" | ||
implementation "androidx.camera:camera-view:${camerax_version}" | ||
implementation "androidx.camera:camera-extensions:${camerax_version}" | ||
implementation "androidx.appcompat:appcompat:1.6.1" | ||
} | ||
|
||
afterEvaluate { | ||
publishing { | ||
publications { | ||
// Creates a Maven publication called "release". | ||
release(MavenPublication) { | ||
from components.release | ||
groupId = 'com.github.NodeMedia' | ||
artifactId = 'NodeMediaClient-Android' | ||
version = '3.2.2' | ||
} | ||
} | ||
} | ||
} |
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,23 @@ | ||
# Add project specific ProGuard rules here. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile | ||
|
||
-keep class cn.nodemedia.** {*;} |
26 changes: 26 additions & 0 deletions
26
NodeMediaClient/src/androidTest/java/cn/nodemedia/ExampleInstrumentedTest.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,26 @@ | ||
package cn.nodemedia; | ||
|
||
import android.content.Context; | ||
import android.support.test.InstrumentationRegistry; | ||
import android.support.test.runner.AndroidJUnit4; | ||
|
||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
|
||
import static org.junit.Assert.*; | ||
|
||
/** | ||
* Instrumented test, which will execute on an Android device. | ||
* | ||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a> | ||
*/ | ||
@RunWith(AndroidJUnit4.class) | ||
public class ExampleInstrumentedTest { | ||
@Test | ||
public void useAppContext() throws Exception { | ||
// Context of the app under test. | ||
Context appContext = InstrumentationRegistry.getTargetContext(); | ||
|
||
assertEquals("cn.nodemedia.test", appContext.getPackageName()); | ||
} | ||
} |
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,2 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="cn.nodemedia"/> |
Oops, something went wrong.