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
2
votes
0 answers

WP7 AAC MediaStreamSource

Does anybody have any implementations of MediaStreamSource for playing music in AAC coding? Very very need. Thanks.
2
votes
3 answers

Why is the MediaElement not playing a MediaStreamSource (in SilverLight)?

When I try to stream sound from my microphone, I need to get it through a MediaStreamSource. Therefore I first need to implement a MediaStreamSource for the pcm waveformat I get from my Microphone. There are at least two methods I think I need to…
2
votes
0 answers

url-createobjecturl-no-longer-accepts-mediastream - after Chrome update on 14.12.2018

Explanation of the problem and scenario. I have a web app, that use a AngularJS component to take picture. However, after the last update on Google Chrome in 14.12.2018, this component stopped to work. I did search about the issue and i found out…
2
votes
1 answer

How do I simultaneously read and write to a stream for playing media file in Silverlight 4 MediaStreamSource?

BACKGROUND I have a media file that I am progressively downloading to my Silverlight 4 application, using WebClient.OpenReadAsync/OpenReadCompleted, and Stream.BeginRead/AsyncCallback. The goal is to play the file in a MediaElement by calling the…
user647332
  • 21
  • 2
2
votes
1 answer

AudioElementMediaStream to MediaStreamSource

The WebAudioApi AudioContext can create a source from a MediaStreamSource: const {audioCtx} = this; const source = audioCtx.createMediaStreamSource(mediaStream); source.connect(audioCtx.destination); source.start(audioCtx.currentTime); The…
marcel
  • 3,231
  • 8
  • 43
  • 76
2
votes
1 answer

MediaStreamSource for AAC in Windows Phone 7

I'm trying to create a custom MediaStreamSource class for my Windows Phone 7 project that reads AAC streams from http. I've looked at the ManagedMediaHelpers provided by Microsoft, and the code seems to work, the only problem is that I can't get any…
mariusgreve
  • 2,621
  • 6
  • 23
  • 31
2
votes
1 answer

Custom MediaStreamSource and MediaElement.Naturalduration property

i have written a custom mediastreamsource, that can play media from growing source files (mpeg transport streams). Once it reaches the end of its mediastream, it reads the new duration from the mediafile and continues to deliver samples. The…
2
votes
0 answers

WP7 Background Audio - Memory Leak or Not?

I'm creating an app that plays background audio. Here's the RAM usage of my background audio playing process: Is this a memory leak or no? I'm concerned because if / when it exceeds 15MB, the OS will silently kill my player, which is…
Soonts
  • 20,079
  • 9
  • 57
  • 130
1
vote
0 answers

MediaElement - Video Gets out of Sync with Audio - WP7

I am using MediaElement in my wp7 project which plays the video from online stream (mp4 format) Things seems working but sometimes I noticed that Video gets a bit quick like playing in fast mode for a while and that makes video a bit ahead of Audio.…
Mubashar
  • 12,300
  • 11
  • 66
  • 95
1
vote
0 answers

Microphone input iOS mediastreamtrack (Web App)

I am working on a project that requires a mic input from a mobile phone. I am using the p5.js sound library and everything is working fine on Android (Chrome). Unfortunately I get the message "mediastreamtrack not supported" when I open the website…
emha
  • 71
  • 1
  • 8
1
vote
0 answers

Silverlight MediaElement requires many H.264 frames to render one image

I am working on a Silverlight application that implements a custom MediaStreamSource that is feeding a MediaElement with elementary H.264 NAL units. My stream starts off with a key frame, but I noticed that on average it takes about 20 frames to…
steji113
  • 335
  • 4
  • 13
1
vote
0 answers

WindowsPhone MediaTranscoder with MediaStreamSource

I'm trying to create a Video with an Image using MediaTranscoder class in WindowsPhone 8.1 SDK. If I succeed I would then use it to create a video with more images. in the code below I find an image inside the pictures library and create a…
uncommon_name
  • 470
  • 2
  • 5
  • 19
1
vote
0 answers

RecordRTC: How do you capture the audio mediastream in Chrome?

So I've been trying to use RecordRTC to record the audio coming from a tab. RecordRTC needs to be passed Mediastream as an argument which requires the stream from the page to be captured. Linked some code down here which tries to capture that stream…
1
vote
0 answers

MediaStreamSource Raw AAC Frame Size from Mp4 container

I need to send raw AAC audio frames one at a time to my decoder. I was able to parse the raw AAC bitstream from an MP4 file container, but I'm unable to find any solutions or a way to determine audio frame size. I have used C# to parse the AAC…
1
vote
1 answer

Silverlight HttpWebRequest BinaryReader second Read operation always takes a long time (12 seconds)

I am creating a Silverlight application that utilizes an H.264 MediaStreamSource implementation in order to stream live video from a server. I have a Multipart streamer that I wrote that reads the samples frame by frame. When I connect to a server…