devopvoid / webrtc-java

WebRTC for desktop platforms running Java
Apache License 2.0
262 stars 61 forks source link

Streaming a video file instead of webcam #77

Open imrilu opened 2 years ago

imrilu commented 2 years ago

I'm trying to establish a WebRTC connection between 2 peers and stream a video file instead of a webcam stream. Currently I'm able to establish a connection with a webcam stream without a problem, but I need the capability to also stream a video (in mp4/mkv/etc, various format support will also be very helpful). I've searched all over this Issues board and did find a comment that Alex said it's doable. I'd like to know if it's something small that I can fork and maybe build myself, and if so what is the general idea for one to do such a thing?

Thanks

stserakhau commented 1 year ago

I solved this point via jmuxer and streaming audio & video (h264) via datachannel

devopvoid commented 1 year ago

This is work in progress.

dannyxu2015 commented 6 months ago

This is work in progress.

any progress about this?

stserakhau commented 6 months ago

I think this feature will not to be implemented inside webrtc project and should be marked as out of scope.

This feature is partially implemented inside banalytics.live project.

https://banalytics.live/ @.***

File media stream source

[image: image.png]

вт, 23 апр. 2024 г. в 11:12, Danny Xu @.***>:

This is work in progress.

any progress about this?

— Reply to this email directly, view it on GitHub https://github.com/devopvoid/webrtc-java/issues/77#issuecomment-2071808453, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGKG34ZV3ACY2SP3PFWG33Y6YQZVAVCNFSM52B5BI2KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBXGE4DAOBUGUZQ . You are receiving this because you commented.Message ID: @.***>

-- Best regards, Siarhei Tserakhau CTO, Banalytics

https://banalytics.live @.*** https://www.linkedin.com/pulse/configure-your-safety-banalytics-banalytics-live https://www.facebook.com/Banalytics