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
1
vote
1 answer

getUserMedia with MediaStreamAudioSourceNode on Android Chrome

I am trying to use media streams with getUserMedia on Chrome on Android. To test, I worked up the script below which simply connects the input stream to the output. This code works as-expected on Chrome under Windows, but on Android I do not hear…
Brad
  • 159,648
  • 54
  • 349
  • 530
1
vote
1 answer

MediaElement is buffering when MediaStreamSource has enough samples (Windows 8.1 store app)

I have a Windows 8.1 app (NOT Silverlight or WPF) which plays custom audio/video stream (aac/h264 file in ASF format). I parse the stream and supply samples to MediaStreamSource for MediaElement (in MSS SampleRequested event). The stream plays fine…
1
vote
0 answers

stopping media stream source gracefully

i have implemented media stream source class. I want to stop the camera feed when i click some. what is the right way to close media element and media stream source. so that my app will not crash. here is my simple code in of my Mainpage.xaml.cs and…
Madu
  • 4,849
  • 9
  • 44
  • 78
1
vote
0 answers

Problems with playing AAC Raw data on Silverlight (Windows Phone)

I need to play AAC LC audio that comes from live stream. To achive that i've implemented MediaStreamSource. When i receive first packets of stream, i set MediaElement's source to my MediaStreamSource. It seems that everything works fine:…
Master
  • 11
  • 2
1
vote
0 answers

mediastreamsegmenter on a public dropbox link not working

I have a streamable url from my dropbox public link: https://dl.dropboxusercontent.com/1/view/taf4hn5q1lbppmx/Public/01Track1.mp3 I would like to stream this to my ios device so I read upon HTTP Live Streaming doc from Apple. So, i am…
1
vote
1 answer

Syncronization audio and video

I need to display stream video using MediaElement in Windwso Phone application. I'm getting from web-service a stream that contains frames in H264 format AND raw-AAC bytes (strange, but ffmpeg can parse with -f ac3 parameter only). So, if try to…
1
vote
1 answer

Find SPS and PPS from private-data

I have web-service which provides me custom format of container which contains H.264 NAL units. I want to play them via MediaElement in silverlight using custom MediaStreamSource. According this article I need to set private codec data. Web…
1
vote
2 answers

HTML 5 : about stream and Chrome

I'm sorry I have a very bad English so be nice with my spelling :) I'm looking for a video recorder in HTML5 and I found my happiness with getUserMedia of HTML5. The problem is that getUserMedia require that user activate MediaStream (for webRTC) on…
0
votes
1 answer

Internet Explorer 9 Silverlight 4 memory leak

We are streaming video from a ashx implementing IHttpAsyncHandler to our Silverlight client. On the clientside the async handler is getting use in a implementation of MediaStreamSource. It all runs fine in latest Firefox, chrome and also in…
0
votes
1 answer

MediaStream on Windows Phone 7

I'm working on a Windows Phone application that displays an audioStream (as radio) but all I found is how to read a video or audio file using mediaElement. How can i implement mediaStream?
MarTech
  • 115
  • 3
  • 12
0
votes
0 answers

Unexpected latency using MediaStreamSource

I'm using the Windows MediaPlayer API to render a H264 encoded live stream using MediaStreamSource. I'm writing my stream with an initial IDR followed by consecutive p-frames - I believe that the ordering and timestamps are all correct and in live…
Rich Logan
  • 39
  • 6
0
votes
1 answer

How to get audio data in a specific format in real time from a Twilio MediaStreamTrack?

I am using Twilio Programmable video, and trying to pipe remote participant's audio in real time to Google Cloud Media Translation client. There is a sample code on how to use Google Cloud Media Translation client via microphone on here. What I am…
0
votes
1 answer

When is MediaStreamSource.SampleRequested callback Method called in UWP?

I'd like to know when the SampleRequested event is fired in UWP. According to the official doc page it Occurs when the MediaStreamSource request a MediaStreamSample for a specified stream. but I'd like to know more in more detail when this…
0
votes
1 answer

MediaStreamSource video streaming in UWP

I just started to experiment with MediaStreamSource in UWP. I took the MediaStreamSource streaming example from MS and tried to rewrite it to support mp4 instead of mp3. I changed nothing but the InitializeMediaStreamSource part, it now looks like…
0
votes
1 answer

MediaSource: Uncaught InvalidStateError: Failed to execute 'appendBuffer' on 'SourceBuffer': This SourceBuffer has been removed

I am trying to work out with first demo MediaSource try out but I am unable to play video. Source I am using is a webm video "big-buck-bunny_trailer.webm". I keep getting "Uncaught InvalidStateError: Failed to execute 'endOfStream' on 'MediaSource':…
rohitpal
  • 455
  • 1
  • 6
  • 21