microsoft / microsoft/FFmpegInterop

RTSP Ip Camera Stream

Open
#93 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.4k
Forks
319
PR merge metrics
No merged PRs in 30d

Description

I have tried the samples, but I get no video. The ip camera is sending h.264. It is a live stream, I have tested it with vlc and a standalone rtsp viewer. the uri is rtsp://192.168.2.220:80/ I see the network pulling in data, but the mediaelement is not showing the video.
My code is

PropertySet options = new PropertySet();
options.add("rtsp_flags", "prefer_tcp");

FFmpegMSS = FFmpegInteropMSS.CreateFFmpegInteropMSSFromUri(uri, false, false, options);
MediaStreamSource mss = FFmpegMSS.GetMediaStreamSource();
mediaElement.SetMediaStreamSource(mss);

The code does not throw an exception. Any help would be appreciated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CreateFFmpegInteropMSSFromUri call, the rtsp_flags option, and the MediaStreamSource setup shown in the issue. Reproduce the RTSP stream using the supplied URI and compare behavior with VLC or the standalone RTSP viewer. Done means identifying why the H.264 stream is not displayed or documenting the required correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.