B4J Question play local stream

hanyelmehy

Well-Known Member
Licensed User
Longtime User
i try to play from local stream (http://127.0.0.1:8000/stream) which is already work on browswer
i try SimpleMediaManager,WebView,MediaView
in SimpleMediaManager get (*** Add a reference to the video library and add SMM_VIDEO to the build configuration ***)
other method not show any thing or show error
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
in SimpleMediaManager get (*** Add a reference to the video library and add SMM_VIDEO to the build configuration ***)
You need to add MediaView. Now Ctrl + B and add SMM_VIDEO as a build symbol.
If it doesn't work with MediaView then it will not work with SMM.

I guess that you are using a format not supported by JavaFX.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
i try to play from local stream (http://127.0.0.1:8000/stream) which is already work on browswer
i try SimpleMediaManager,WebView,MediaView
in SimpleMediaManager get (*** Add a reference to the video library and add SMM_VIDEO to the build configuration ***)
other method not show any thing or show error
It has told you need to add SMM_VIDEO in Conditional Symbol
Edit: Erel is faster
 
Upvote 0

hanyelmehy

Well-Known Member
Licensed User
Longtime User
You need to add MediaView. Now Ctrl + B and add SMM_VIDEO as a build symbol.
If it doesn't work with MediaView then it will not work with SMM.

I guess that you are using a format not supported by JavaFX.
I added SMM_VIDEO, but it isn’t working. Is there another way to do this, or how can I check the exact error so I can adjust the stream?
 
Upvote 0
Top