Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8757975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:25:53+00:00 2026-06-13T14:25:53+00:00

Here is the thing, I am working with ASP.NET and I am using this

  • 0

Here is the thing, I am working with ASP.NET and I am using this particular SignalR library to broadcast a video to my clients, but as far as I know I can not stream video because signalR is a messaging system and it is not intended to stream video, files or things like that.

Now what I am trying to do is to split the video into buffers that is Base64-encoded into a string, then on the client I am trying to load it into the source of a Video tag.

Here I show you what I am doing on the client:

HTML Code:

<video id="myVideo">
   <source id="video_source">
</video>

Javascript Code:

 //here somehow I am getting the string with the base64-encoded video
 function playVideo(message) {
          var myVideo = document.getElementById("myVideo");
          var mySource = document.getElementById("video_source");
          mySource.setAttribute("src", getEncodedVideoString("mp4", message));
          myVideo.load();
          myVideo.play();         
      };

  // here I am formatting and concatenating the string for my source attribute 
  function getEncodedVideoString(type, message) {
        return 'data:video/' + type + ';base64,' + message;
    }

Well as you can see, at the moment I’m facing a scenario a little weird, but I already have the video encoded on the client, now I just need to find out the way to reproduce that video.

And here is when my question comes up, does any one has done something like this before, or you have any idea or suggestion to do that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:25:55+00:00Added an answer on June 13, 2026 at 2:25 pm

    Thanks for an interesting question; it had never crossed my mind before, but it does seem to be possible. Ian Devlin has an explanation on how to use Data URIs with HTML5 media, including video – a working example is also included.

    The only difference that I see is that a type attribute is added to the <source> tag; if adding this doesn’t work, are you sure that you’ve got your encoding correct? What happens when you try, do you get any errors?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is my dilemma, I am working on some SaaS using ASP.net MVC3 and
I am sending email using asp.net and it is working fine. But when an
For this question, I'm using ASP.NET Web Forms in C#, a web service and
I am currently working on asp.net using C# and I need to show a
I'm working with ASP.NET MVC 2 and building a simple business app. Here are
I'm working on a Web app using ASP.NET. I have a class called Sistema
I'm working on an ASP.NET MVC site, using EF4 and Automapper. I'm making good
I'm working on some image transformations using ASP.NET/C#/GDI+. I have a method that looks
Here is my code after modifications, things seems working fine but I am receiving
I've been using Android ProgressBar quite a lot. The only thing here is for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.