Play .pls on windows phone 7.1 - wpf

I have a problem playing .pls live streaming channel on windows phone 7 media element. i asked this question before as well and someone said that you need to parse the address inside .pls becuase .pls is a playlist format and you have link to play audio inside it but when i parse: http:// 69.175.103.226:8540/listen.pls i get http:// 69.175.103.226:8540
you can check this by typing this on browser http:// 69.175.103.226:8540/listen.pls and download .pls and open with notepad and it is not being played by windows phone
any idea how to do this? kindly help me i am stuck
Thanks

From what I can tell it is a 48kbps MP3 stream. I don't see why it wouldn't work unless you do something wrong with the way you are setting the media source.
Should be:
mediaElement.Source = new Uri("URL_TO_STREAM",UriKind.Absolute);
mediaElement.Play();

Related

Twilio WebRTC Video freezing on Mobile Web

I've implemented the Twilio Video quickstart code in my project using ReactJS and after a few tweaks, it all seems to work fine on chrome and firefox from my computer, but when I try to use either the preview or make a call with another client from my mobile web browser, the video does not move. It is stuck, but the video streams will work fine if I am moving the screen with my finger or if my finger is just on the screen, but will freeze on it's current frame the moment I stop moving the screen. I am not sure if this is an issue with the way Twilio attaches the video or if there is just something about mobile browsers that I don't understand when attaching video streams.
Thanks for the help
So there are a few things that could be going on here. Currently and also for the foreseeable future, Twilio Video will require the A6 system on chip, so older devices like an iPod Touch (5th gen) for example, would not supported.
https://www.twilio.com/docs/api/video/system-requirements
You might try to modify the bitrate indirectly through modifying the resolution. There is some sample code (in Swift) demonstrating this API:
https://github.com/twilio/video-sample-ios-capture-render/blob/master/VideoSampleCaptureRender/ViewController.swift#L205
Lastly, reporting of connection information through the conversation delegate does receive statistics:
https://media.twiliocdn.com/sdk/ios/conversations/releases/0.22.0/docs/Protocols/TWCConversationDelegate.html#//api/name/conversation:didReceiveTrackStatistics:
however there is not an automatic way to adjust the resolution based on these statistics.
Hope this helps to point you in the right direction. Please let me know in the comments what you find out.

audio routing on windows phone?

I'm making an app that should let me call someone and have him listening to sounds I recorded. When I play the sounds on my own, it goes out of the built-in speaker, and when I use it while on the phone, the sounds are not played at all!
Or I'd like to be able to make my sounds follow the same path as my voice does while talking to someone. What could I do? Thank in advance.
You can't do that with the current version of the Windows Phone SDK. Unless you plan on creating your own VoIP app for Windows Phone 8 (sample available here).

Why iOS6 can't play some mp4 video files?

I have a mp4 video that plays properly on iOS5 but not on iOS6. Here is a direct link to video for testing:
http://www.wordcafe.de/videos/test.mp4
All other videos in the website work on iOS6 and only this particular one can't be played on iOS6. I thought the problem is with my HTML5 video player, but then I saw that even a direct link to video as pasted above doesn't work. On my iPodTouch iOS6 I see the play icon crossed out by a diagonal line. Does anybody know why and how this problem can be fixed?
Thanks
Try setting the field order to progressive. Found on Apple Support communities

Bluetooth Magstripe card reader and printer

I've found this awesome tool http://www.chargeanywheredirect.com/bluetooth-credit-card-reader-printer.html, but im not sure if i can use it to make my own mobile app cuz they dont have public api.
If anyone know this device better or know anyone what does the same funcions (Read card and print). Please help me thanks!.
Star Micronics has a printing SDK for Android and iOS.. Card reading is one of the functions. You can download it here: http://www.starmicronics.com/support/SDKDocumentation.aspx.

How to get music from System.Windows.Media.MediaPlayer resources? In a wpf application, online music player?

I was doing a wpf music player, use the system.windows.media namespace mediaPlayer control. In my opinion, it can play music files on the machine can also play online with other online music. When it is playing online music, download it first and then buffer some, play some. Finally, I think this music sounds good, want to download. My question is, since it has been played, then this file is not already been downloaded to the local out? If so, how can I get to it?
I dont think this is supported because of digital right management concerns. Its possible that who ever is owning the content the user is playing only wants it to be streamed. Internally though, MediaPlayer most likely keeps a buffer for seeking through content, but its probbly not saved to disk.
That said, if you have an uri, you could use that to download the content localy and then play it, but im unsure how that would work with streaming (starting to download content, and meanwhile asking mediaplayer to play the uri to that local file)

Resources