live-streaming

Display getUserMediaStream live video with media stream extensions (MSE)

孤街醉人 提交于 2019-12-04 05:28:29
I am trying to display a MediaStream taken from a webcam using getUserMedia, and to relay it to a remote peer using whatever mechanism possible for it to be played (as an experiment). I am not using webRTC directly as I want control over the raw data. The issue I encounter is that my video element displays nothing, and I don't get any errors back. I am using Chrome Version 51.0.2704.103 (64-bit) on Elementary OS (Ubuntu 14.04 based linux OS). As a sidenote, if I record all the blobs into an array and then create a new blob and set the video's src element to URL.createObjectUrl(blob), it

Playing RTSP stream in VLC player

不羁岁月 提交于 2019-12-04 04:27:34
问题 I am trying to make a simple rtsp streaming server in java. The server is able to stream the video properly to the custom written player. The problem I that I am not able to play the same stream in vlc media player. When I start the vlc media player and enter the streaming details, my server is displaying the following request made by vlc: OPTIONS rtsp://192.168.2.8:8210/movie.3gp RTSP/1.0 CSeq: 1 User-Agent: VLC media player (LIVE555 Streaming Media v2010.01.07) In response, I am sending the

Live video streaming, how to play it on iPhone?

不想你离开。 提交于 2019-12-03 21:45:23
I am wondering what is available to play live video feed on my iPhone, in a developer way. Few apps exists and play live stream like : http://qik.com/ http://www.ustream.tv http://orb.com/en/orblive Do you have an idea how they achieve this ? Thanks a lot. Thierry iPhone 3.0 software includes new APIs for video streaming. Unfortunately, it's under NDA at the moment, so no one can really talk about it on these forums. I did worked on the live video streaming. Unfortunately, i didn't got any solution regarding this. Till the day apple don't have included the RTSP streaming support in its SDKs.

How to live stream video using C program. What should be the HTTP reply ? How can I use chunked encoding if possible?

∥☆過路亽.° 提交于 2019-12-03 15:19:15
问题 (the actual question has been edited because I was successful doing live streaming, BUT NOW I DO NOT UNDERSTAND THE COMMUNICATION between client and my C code.) Okay I finally did live streaming using my C code. BUT I COULD NOT UNDERSTAND HOW "HTTP" IS WORKING HERE. I studied the communication b/w my browser and the server at the link http://www.flumotion.com/demosite/webm/ using wireshark. I found that the client first sends this GET request GET /ahiasfhsasfsafsgfg.webm HTTP/1.1 Host:

Opencv Live Stream from camera in Django Webpage

强颜欢笑 提交于 2019-12-03 14:37:25
问题 I am making a project in Django. And I want to show live feed from camera on a webpage. But I am not sure on how to return live feed I get from a cam on a web page. Here's my code that I have tried so far but haven't seen any progress. from django.shortcuts import render from .forms import FaceAdditionForm import cv2 import numpy as np from django.http import StreamingHttpResponse def capture_video_from_cam(): cap = cv2.VideoCapture(0) currentFrame = 0 while True: ret, frame = cap.read() #

How play the video using “HTTP Live Streaming” in iphone?

半腔热情 提交于 2019-12-03 13:43:30
I am new to iphone development,I am parsing a XML URL and display its content in the table, when i click a row , its corresponding parsed tube URL is played using the movie player.I am using media player framework.Here is my code NSURL *movieURL = [NSURL URLWithString:requiredTubeUrl]; if (movieURL) { if ([movieURL scheme]) { MoviePlayerController *myMovie = [[MoviePlayerController alloc]init]; [myMovie initAndPlayMovie:movieURL]; } } This is working fine, but i want to play the video using "HTTP Live Streaming".How can i do that? Any tutorials and sample code would me more helpful.Thanks.

Live-Streaming webcam webm stream (using getUserMedia) by recording chunks with MediaRecorder over WEB API with WebSockets and MediaSource

我们两清 提交于 2019-12-03 13:05:36
I'm trying to broadcast a webcam's video to other clients in real-time, but I encounter some problems when viewer's start watching in the middle. For this purpose, I get the webcam's stream using getUserMedia (and all its siblings). Then, on a button click, I start recording the stream and send each segment/chunk/whatever you call it to the broadcaster's websocket's backend: var mediaRecorder = new MediaRecorder(stream); mediaRecorder.start(1000); mediaRecorder.ondataavailable = function (event) { uploadVideoSegment(event); //wrap with a blob and call socket.send(...) } On the server side (Web

How to Live stream with HTML5, without Flash?

可紊 提交于 2019-12-03 11:04:49
The Problem : I need my clients to be able to stream their webcam to my streaming server(for instance Wowza server). I am building my site in PHP. I have gone through various streaming sites like twitch.tv, livestream.com and found that they all use third party broadcasting software like Wirecast, XSplit broadcaster, OBS etc to stream the Webcam feeds to the server. Then I came across sites like vLine , Opentokrtc that uses WebRTC for Video chat. My Question : So, my question is that, is it possible for me to send the stream to the broadcasting servers like Wowza(So that they can then

Record video from VideoView

核能气质少年 提交于 2019-12-03 08:56:36
问题 Currently doing project on live Streaming, and I succeed to play live video. Now my next task is to record the video which is playing in VideoView. I had searched, able to found capturing video but with surface(camera) but here in VideoView I am not having any surface. any help appreciated 回答1: You can see this link. In short your server has to support downloading. If it does, you can try the following code: private final int TIMEOUT_CONNECTION = 5000; //5sec private final int TIMEOUT_SOCKET

Android Media Player RTSP

不羁岁月 提交于 2019-12-03 08:38:24
I'm trying to watch RTSP streaming on Android device. But if the server set password for the streaming my Android cannot play it. If without password it's ok. Here is my codes. public class VideoFragment extends Fragment implements View.OnClickListener, SurfaceHolder.Callback, MediaPlayer.OnPreparedListener { VideoView m_videoView; SurfaceView m_surfaceView; SurfaceHolder m_surfaceHolder; MediaPlayer m_mediaPlayer; SharedPreferences m_sharedPref; Boolean m_videoStarted; public VideoFragment() { // Required empty public constructor } @Override public View onCreateView(LayoutInflater inflater,