All Projects → TakuSemba → Rtmppublisher

TakuSemba / Rtmppublisher

Licence: apache-2.0
Rtmp client on Android. Live Video Streaming.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Rtmppublisher

Aquila
IPCamera, aim to support V4L2/UVC/RaspberryPi/Hisi/XXX SDK production
Stars: ✭ 173 (-66.41%)
Mutual labels:  camera, audio, rtmp
Androidffmpeg
android 读取摄像头和麦克风,使用rtmp推流
Stars: ✭ 298 (-42.14%)
Mutual labels:  camera, audio, rtmp
Yasea
RTMP live streaming client for Android
Stars: ✭ 4,557 (+784.85%)
Mutual labels:  camera, rtmp, android-development
App Media
Elements for accessing data from media input devices and visualizing that data for users
Stars: ✭ 60 (-88.35%)
Mutual labels:  camera, audio
Screenity
The most powerful screen recorder & annotation tool for Chrome 🎥
Stars: ✭ 6,229 (+1109.51%)
Mutual labels:  camera, audio
Trinity
android video record editor muxer sdk
Stars: ✭ 609 (+18.25%)
Mutual labels:  camera, audio
Instacam
Instant canvas video
Stars: ✭ 106 (-79.42%)
Mutual labels:  camera, audio
Cameraxdemo
A sample camera app with CameraX API from Android Jetpack
Stars: ✭ 112 (-78.25%)
Mutual labels:  camera, android-development
Wslivedemo
音视频,直播SDK,rtmp推流,录制视频,滤镜。百万用户,线上迭代半年,已经稳定。
Stars: ✭ 1,782 (+246.02%)
Mutual labels:  camera, rtmp
HaishinKit.kt
Camera and Microphone streaming library via RTMP for Android.
Stars: ✭ 70 (-86.41%)
Mutual labels:  camera, rtmp
Android Goldeneye
A wrapper for Camera1 and Camera2 API which exposes simple to use interface.
Stars: ✭ 356 (-30.87%)
Mutual labels:  camera, android-development
Fanplayer
A portable video player based on ffmpeg for windows and android platform.
Stars: ✭ 229 (-55.53%)
Mutual labels:  audio, rtmp
Android Rtmp Muxer
Implementation of the RTMP protocol to broadcast video and audio on Android in pure Java
Stars: ✭ 78 (-84.85%)
Mutual labels:  audio, rtmp
Homebridge Camera Ffmpeg
Homebridge Plugin Providing FFmpeg-based Camera Support
Stars: ✭ 726 (+40.97%)
Mutual labels:  camera, audio
Rtsp Simple Server
ready-to-use RTSP / RTMP server and proxy that allows to read, publish and proxy video and audio streams
Stars: ✭ 882 (+71.26%)
Mutual labels:  audio, rtmp
Ffmpeg
Mirror of https://git.ffmpeg.org/ffmpeg.git
Stars: ✭ 27,382 (+5216.89%)
Mutual labels:  audio, rtmp
Haishinkit.swift
Camera and Microphone streaming library via RTMP, HLS for iOS, macOS, tvOS.
Stars: ✭ 2,237 (+334.37%)
Mutual labels:  camera, rtmp
Canaree Music Player
Complete music player published in the Play Store. Heavily relies on Dagger, kotlin coroutines and Clean architecture.
Stars: ✭ 371 (-27.96%)
Mutual labels:  audio, android-development
Evilslive
This project is a SDK about video stream live
Stars: ✭ 420 (-18.45%)
Mutual labels:  camera, rtmp
Lal
🔥 Golang live stream lib/client/server. support RTMP/RTSP/HLS/HTTP[S]-FLV/HTTP-TS, H264/H265/AAC, relay, cluster, record, HTTP API/Notify, GOP cache. 官方文档见 https://pengrl.com/lal
Stars: ✭ 480 (-6.8%)
Mutual labels:  rtmp

RtmpPublisher

alt text

Platform Download License API

Gradle

dependencies {
    compile 'com.github.takusemba:rtmppublisher:x.x.x'
}

Usage

usage is simple. RtmpPublisher does everything.

create a Publisher

val publisher: Publisher = Publisher.Builder(this)
  .setGlView(glView)
  .setUrl(rtmpUrl)
  .setSize(Publisher.Builder.DEFAULT_WIDTH, Publisher.Builder.DEFAULT_HEIGHT)
  .setAudioBitrate(Publisher.Builder.DEFAULT_AUDIO_BITRATE)
  .setVideoBitrate(Publisher.Builder.DEFAULT_VIDEO_BITRATE)
  .setCameraMode(Publisher.Builder.DEFAULT_MODE)
  .setListener(this)
  .build()

start RTMP Streaming


// start publishing!
publisher.startPublishing()

// switch camera between front and back
publisher.switchCamera()

// stop publishing!
publisher.stopPublishing()


publisher.setOnPublisherListener(object: PublisherListener {
  override fun onStarted() {
    // do something
  }
    override fun onStopped() {
    // do something
  }
    override fun onFailedToConnect() {
    // do something
  }
    override fun onDisconnected() {
    // do something
  }
})

Quick Start

alt text

Try this sample here, but this is just a RTMP android client. You also need RTMP server and player to do publish and play them.

You can either make the server and player yourself or use the ones below that i prepared.

Server

https://github.com/TakuSemba/docker-nginx-rtmp

RTMP Player

https://github.com/TakuSemba/RtmpPlayer

HLS Player

https://github.com/TakuSemba/HlsPlayer

Change Log

Version: 1.0.3

  • camera switcher added

Version: 1.0.0

  • first release

Author

Licence

Copyright 2017 Taku Semba.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].