-
Notifications
You must be signed in to change notification settings - Fork 101
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
Unable to render external RTSP stream #597
Comments
jaimish11
changed the title
How do I use the RtspPipeline pipeline?
Unable to render external RTSP stream
Feb 25, 2021
I'm not sure I understand what you are trying to do? The |
This issue is stale because it has been open for 90 days with no activity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What I'm trying to do:
I'm trying to receive RTSP frames from an external RTSP link and then render those frames in my application. I'm working on an Electron app with React and Node. Basically, I want to render an external RTSP feed in my Electron app which runs on React.
In your node example, you use this line
const pipeline = new pipelines.CliMp4Pipeline(config);
to initiate an RTSP connection. When I pipe these to VLC it is able to render the stream but if I try and parse the data in my own application, I'm unable to render the stream. I do receive raw data frames but they don't seem to be the actual data.Do I need to use
const pipeline = new pipelines.RtspPipeline(config);
instead?If yes then how can I go about using this?
If not, then could anyone help me by telling me why I can't render the stream on my own application. Here's how I'm doing this:
const imageURL = 'data:image/jpeg;base64,' + Buffer.from(frameInfo.image).toString('base64');
<img src={imageURL} />
Been at this for days. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: