rtmp

How to send my stream to RTMP Endpoint(Vimeo, Twitch) in Ant Media Server?

情到浓时终转凉″ 提交于 2020-08-10 19:21:52
问题 I need to publish my RTMP stream to Vimeo and Twitch via RTMP. I don't see these options on AMS Dashboard settings tab / Social Streaming section. So, how can I push my stream to RTMP Endpoints with Ant Media Server? 回答1: You can add RTMP Endpoint with Edit RTMP Endpoint in Actions tab as a picture. After the click Edit RTMP Endpoint, you can add Vimeo and Twitch RTMP Endpoint easily. Note: You can add any RTMP Endpoints here. 来源: https://stackoverflow.com/questions/63001228/how-to-send-my

How to send RTMP video stream in UWP?

梦想的初衷 提交于 2020-06-28 07:21:48
问题 I'm working on living Stream to server in UWP using MediaCapture, but I can't find any useful solution about it. Microsoft's library, but it only supports Azure. https://github.com/MicrosoftDX/AzureRTMPIngestLib I can play RTMP live video streaming from server but can't send video streaming to server, I want to know if there has any solution or library can send RTMP live streaming in UWP? 回答1: Following example below uses STSP . I've tested this example on a local network with using ipv4

How to use GStreamer to stream from IP RTMP Camera to v4l2loopback Camera?

别说谁变了你拦得住时间么 提交于 2020-06-17 13:04:58
问题 I am trying to use GStreamer to connect RTMP/RTSP stream to a v4l2loopback Virtual Device. Works 1 - RTMP to AutoVideoSink sudo gst-launch-1.0 rtspsrc location=rtsp://192.168.xxx.xxx/live/av0 ! decodebin ! autovideosink sudo gst-launch-1.0 rtmpsrc location=rtmp://192.168.xxx.xxx/live/av0 ! decodebin ! autovideosink Works 2 - TestSrc to Dummy Video5 sudo gst-launch-1.0 videotestsrc ! v4l2sink device=/dev/video5 Does not work - RTMP to Dummy Video5 – No error but does not show the video sudo

Pure js stream from webcamera to server

半世苍凉 提交于 2020-06-11 05:26:49
问题 Is it possible to capture stream from webcamera(in front end) and stream it to server via hls or rtmp with pure js(no flash). And if there are another protocol which let send stream as stream(unlike hls), will be prefered. 回答1: I found solution. There is no (yet) any way to "convert" stream received from navigator.getUserMedia() to rtmp in front-end. But we can use MediaRecorder Api. In client Side const stream = await navigator.getUserMedia(options) const recorder = new MediaRecorder(stream)

Recording of RTMP stream

一世执手 提交于 2020-04-18 06:55:59
问题 I have a class, which watching rtmp stream with help of ExoPLayer: player = ExoPlayerFactory.newSimpleInstance(context) val rtmpDataSourceFactory = RtmpDataSourceFactory() val videoSource = ProgressiveMediaSource.Factory(rtmpDataSourceFactory) .createMediaSource(Uri.parse(streamURL)) player.prepare(videoSource) player.setVideoTextureView(playerView) player.playWhenReady = true playerView is TextureView, picked instead of SurfaceView, because i also need to take screenshots from stream. As far

Recording of RTMP stream

白昼怎懂夜的黑 提交于 2020-04-18 06:55:21
问题 I have a class, which watching rtmp stream with help of ExoPLayer: player = ExoPlayerFactory.newSimpleInstance(context) val rtmpDataSourceFactory = RtmpDataSourceFactory() val videoSource = ProgressiveMediaSource.Factory(rtmpDataSourceFactory) .createMediaSource(Uri.parse(streamURL)) player.prepare(videoSource) player.setVideoTextureView(playerView) player.playWhenReady = true playerView is TextureView, picked instead of SurfaceView, because i also need to take screenshots from stream. As far

Stream esp-32 camera to RTMP server like YouTube

只谈情不闲聊 提交于 2020-04-18 05:44:55
问题 I am doing research for a project in which I need to play with camera streams. After multiple hit and trails and googling I am not getting even close to the solution for streaming ESP-32 Camera stream to my own RMTP server directly. Already tried solutions: 1) I have tried re-streaming of ESP-32-cam with Raspberry pi, that works well but not something I am looking for {discarded because do not want to use Raspberrypi for restreaming purposes} 2) ESP-32-cam: Record and FTP transfer with time

[直播一揽子]初期调研

别等时光非礼了梦想. 提交于 2020-04-11 10:26:14
这几天在调研直播的技术。虽然现在有很多“开源”的SDK,或者各个厂家的SDK。但是还是想自己去调研一下整个的直播流程/技术,并且通过代码去实现一套这样的功能。 整体规划: 看网上的文章介绍,基本上的流程是这样的:采集,编码,发送,转发,解码。我这次主要研究一下采集,编码,发送这三个客户端采集的步骤。 采集设备:Android手机摄像头采集视频,麦克风采集音频。 编码格式:音频:aac,视频:h264。 发送协议:rtmp协议。 采集方法: 摄像头采集视频的方法有两种:Camera的onPreviewFrame的回调方法,和MediaRecorder的outPut方法。经过对比,发现各有各的优缺点: Camera的onPreviewFrame方法: 优点: 可以获取到视频的原始YUV数据。 使用简单:直接设置一个回调方法就能够获取到预览时的视频数据。 缺点: 需要自己将YUV数据编码为h264格式,对编码需要一定的了解。 MediaRecorder的outPut方法: 优点: 可以直接获取到编码后的h264格式的视频帧数据。 缺点: 获取部分的代码比较麻烦:需要在程序内部架设socket服务来获取h264视频数据。 在各有优缺点的情况下,通过对比其他现有的直播SDK的功能,最终采用了Camera的onPreviewFrame的方法。众所周知,美颜功能已经是目前直播的主要功能点之一

Mac搭建nginx+rtmp服务器

落爺英雄遲暮 提交于 2020-04-06 19:51:12
Mac搭建nginx+rtmp服务器 概述 Mac安装RTMP服务器过程记录下来! 一、安装Homebrew 执行命令: 1 2 3 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 如果已经安装过,而想要卸载: 1 2 3 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)" 如果已经安装过,则不用安装! 二、安装nginx 先glone nginx项目到本地: 1 2 3 brew tap homebrew/nginx 执行安装: 1 2 3 brew install nginx-full --with-rtmp-module 通过操作以上步骤,nginx和rtmp模块就安装好了 三、运行nginx 执行命令: 1 2 3 nginx 出现如下页面信息,表示nginx服务器搭建成功了,而且已经安装了RTMP模块了: 四、配置nginx和rtmp 下面开始来配置nginx的rtmp模块。首先,我们要看看nginx安装到哪里了: 1 2 3 brew info nginx-full 出现如下类似信息: 1 2 3 4 5 6