Questions tagged [mediastreamsource]

MediaStreamSource delivers media samples directly to the media pipeline and is most often used to enable the MediaElement to use a container format not natively supported by Silverlight.

A MediaStreamSource delivers media samples directly to the media pipeline and is most often used to enable the MediaElement to use a container format not natively supported by Silverlight.

54 questions
16
votes
1 answer

How to create MediaStream from videofile?

Most of the Mediastream examples are explanation by webCam-stream.but I need to create MediaStream from local videofile(.webm or mp4).Please tell me.
endotakashi
  • 163
  • 1
  • 2
  • 6
7
votes
7 answers

Play MediaRecorder chunks in MediaSource HTML5 -- video frozen

I have this simple code to get chunks of video stream and play them in MediaSource. I see video, but sometimes it stops. It may work for few seconds or for few minutes. But finally it stops at some moment. chrome://media-internals/ shows no…
Stepan Yakovenko
  • 8,670
  • 28
  • 113
  • 206
7
votes
1 answer

WebRTC - how to differentiate between two MediaStreamTracks sent over the same connection?

I want to send two video streams from Peer1 to Peer2 using WebRTC: let's use front and rear camera as an example. Conceptually, how does Peer2 know which stream comes from which camera? MediaStream documentation mentions that all MediaStream and…
Adam Zielinski
  • 2,774
  • 1
  • 25
  • 36
7
votes
2 answers

create and transmit custom mediastream in webrtc

I want to use canvas element as mediastreamsource of video part of the webrtc communication, any directions would be helpful, scoured the net, not finding much resources discussing this topic * Long Background Story * The problem, I cannot send…
mido
  • 24,198
  • 15
  • 92
  • 117
6
votes
2 answers

WP7 Shoutcast with MediaStreamSource

I am trying to implement the Shoutcast streaming to my MediaElement via MediaStreamSource. Here is a code with some basics. With the ReadData method I can download raw audio data (MP3 samples), my question is how can I set the stream to the…
KrazZ88
  • 61
  • 1
  • 3
6
votes
1 answer

BackgroundAudioPlayer doesn't start playing

Windows Phone 8 app. We're using AudioStreamingAgent/Mp3MediaStreamSource to play MP3 files which could be cached locally or loaded from web. When file is downloaded we are still using AudioStreamingAgent /Mp3MediaStreamSource to ensure we will be…
5
votes
2 answers

How to get the sample rate from a mediaDevices.getUserMedia stream

Firefox is limited in its audio resampling ability for audio mediastreams. If the input media stream's sample rate is not the same as the AudioCotext's, then it complains : DOMException: AudioContext.createMediaStreamSource: Connecting AudioNodes…
Matt
  • 509
  • 2
  • 14
5
votes
1 answer

Decode Audio using MediaStreamSource

I have a UWP project and I want to use the Windows.Media.Audio API to play a file. Instead of using the FileInputNode, I want to stream my file so I can precisely determine various timing properties. I found the MediaStreamSource API and made the…
WJM
  • 1,137
  • 1
  • 15
  • 30
4
votes
1 answer

H.264 video play (using MediaStreamSource) meet with 3100 MediaError on WP7 emulator

We're trying to play a H.264 stream with MediaStreamSource on WP7 emulator. But met with 3100 error with video: In override method OpenMediaAsync of Mp4MediaStreamSource, videoStreamAttribute VideoFourCC is set as…
liu monica
  • 41
  • 3
4
votes
2 answers

WP7 Mp3MediaStreamSource demo not working

I dowloaded Mp3MediaStreamSource demo on http://archive.msdn.microsoft.com/ManagedMediaHelpers but can get it worked with my stream, can you help me? my stream: private static string mediaFileLocation =…
Janci
  • 863
  • 1
  • 9
  • 24
4
votes
2 answers

Appending getusermedia data to mediasource

I have limited experience with the mediastream and mediasource apis, what do you think is the best way to go about getting data from getusermedia and then appending that data to a mediasource. Right now i am using the MediaRecorder to record the…
3
votes
2 answers

Audio Level Meter for Web RTC Stream

I would like to create a decibel meter for the audio that is playing in a video element. The video element is playing a WebRTC stream. At the moment WebRTC streams cannot be passed into a Web Audio Analyzer. (Although this might change soon … ) (see…
sqwk
  • 2,649
  • 1
  • 28
  • 42
3
votes
1 answer

How Mobicent Media server plays audio using URL

I want to know details how Mobicent Media server plays audio using URL? In which method it's streaming using URL. For local storage I'm understanding but for remote storage(URL) I'm not getting how it's working. I didn't find anything in the user…
N.I
  • 31
  • 6
3
votes
1 answer

How can I receive a notification/event when mediaStreamTrack.enabled is modified?

I am using getUserMedia to get access to web cam. I have a function which toggle on and off the video doing the following: var videoTracks = this.stream.getVideoTracks(); if (videoTracks.length === 0) { trace('No local video available.'); …
Giuseppe Pes
  • 7,772
  • 3
  • 52
  • 90
2
votes
1 answer

How to play raw adts AAC stream using MediaStreamSource?

Does anyone have this working? I believe I have the CodecPrivateData messed up, but I can't find any WAVEFORMTEX FormatTags that seem to work. I tried 0xFF00, 0x1016, and 0x0116. I used the MSDN documentation to complete the rest of the string. I…
shibbybird
  • 1,245
  • 13
  • 28
1
2 3 4