Skip to content

Commit

Permalink
add with 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
illuspas committed Jan 12, 2024
1 parent 80e558b commit bfca48a
Show file tree
Hide file tree
Showing 18 changed files with 1,068 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/issues.yml
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 }}
42 changes: 42 additions & 0 deletions ChangeLog.md
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
* 支持双声道降噪
1 change: 1 addition & 0 deletions NodeMediaClient/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
47 changes: 47 additions & 0 deletions NodeMediaClient/build.gradle
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'
}
}
}
}
23 changes: 23 additions & 0 deletions NodeMediaClient/proguard-rules.pro
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.** {*;}
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());
}
}
2 changes: 2 additions & 0 deletions NodeMediaClient/src/main/AndroidManifest.xml
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"/>
Loading

0 comments on commit bfca48a

Please sign in to comment.