Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't play h264 video stream transmitted from socket #621

Open
4 tasks
RDPCoder opened this issue Apr 11, 2022 · 0 comments
Open
4 tasks

Can't play h264 video stream transmitted from socket #621

RDPCoder opened this issue Apr 11, 2022 · 0 comments

Comments

@RDPCoder
Copy link

Can't play h264 video stream transmitted from socket

I need to use mediaelement to play the h264 video stream transmitted from the socket. Although I customized IMediaInputStream, it still cannot be played. It seems that IMediaInputStream can only read from the file but not from the socket.
Because I found that if I don't set the StreamUri property, then Read and Seek will not be called, but the h264 video stream is transmitted from the socket, and he has no url

Issue Categories

  • Bug
  • Feature Request
  • Question
  • Not sure

Sample Code

XAML

    <ffme:MediaElement x:Name="Media" Background="Gray" LoadedBehavior="Play" UnloadedBehavior="Manual" />

C#

        Media.Open(new H264InputStream(_h264StreamPipe.Reader));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant