none
[W8.1] Is there a way to modify the buffering time of MediaElement? RRS feed

Answers

  • I can't find it in the documentation, and if it's not in the documentation, there's likely not going to be a way to do this without writing your own implementation. :-(

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, June 15, 2015 4:28 PM
    Moderator
  • Hi Hong,

    You can't directly modify the buffering time, but you can use the MediaElement.RealTimePlayback property to use smaller buffers for reduced latency. I suspect this is what you're looking for.

    Monday, June 15, 2015 5:37 PM

All replies

  • I can't find it in the documentation, and if it's not in the documentation, there's likely not going to be a way to do this without writing your own implementation. :-(

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, June 15, 2015 4:28 PM
    Moderator
  • Thanks for the clarification, Matt.

    Hong

    Monday, June 15, 2015 4:32 PM
  • Hi Hong,

    You can't directly modify the buffering time, but you can use the MediaElement.RealTimePlayback property to use smaller buffers for reduced latency. I suspect this is what you're looking for.

    Monday, June 15, 2015 5:37 PM
  • Thanks, Rob.  That helps.

    Hong

    Monday, June 15, 2015 6:36 PM