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

Empty screen in VLC #2

Closed
eskalera opened this issue Feb 22, 2018 · 8 comments
Closed

Empty screen in VLC #2

eskalera opened this issue Feb 22, 2018 · 8 comments

Comments

@eskalera
Copy link

I have installed the APK in Live555-server-android/bin/live555test2.apk.
Then I downloaded an H264 video sample here and copied it to
/sdcard/test.264 and
/sdcard/H264_720p.ts
I then started the app, pressed the button and pointed VLC to
rtsp://192.168.0.246:8554/h264test and rtsp://192.168.0.246:8554/ts
Nothing shows and this is what I get in Logcat:

02-22 13:16:45.539 20429-20429/com.example.live555test2 D/AppTracker: App Event: start
02-22 13:16:45.550 20429-20454/com.example.live555test2 D/OpenGLRenderer: HWUI GL Pipeline
02-22 13:16:45.570 20429-20454/com.example.live555test2 I/Adreno: QUALCOMM build                   : d52c199, I26dffed9a4
                                                                  Build Date                       : 01/09/18
                                                                  OpenGL ES Shader Compiler Version: EV031.22.00.01
                                                                  Local Branch                     : 
                                                                  Remote Branch                    : refs/tags/AU_LINUX_ANDROID_LA.UM.6.4.R1.08.00.00.309.052
                                                                  Remote Branch                    : NONE
                                                                  Reconstruct Branch               : NOTHING
02-22 13:16:45.573 20429-20454/com.example.live555test2 I/vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/gralloc.msm8998.so from the current namespace instead.
02-22 13:16:45.579 20429-20454/com.example.live555test2 I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
02-22 13:16:45.581 20429-20454/com.example.live555test2 I/OpenGLRenderer: Initialized EGL, version 1.4
02-22 13:16:45.581 20429-20454/com.example.live555test2 D/OpenGLRenderer: Swap behavior 2
02-22 13:16:45.608 20429-20454/com.example.live555test2 I/vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/gralloc.msm8998.so from the current namespace instead.
02-22 13:16:55.888 20429-20464/com.example.live555test2 I/myRTSPServer: create RTSP server successful in 8554!
02-22 13:16:55.889 20429-20464/com.example.live555test2 W/myRTSPServer: h264test-->stream, from the file-->/sdcard/test.264,Play this stream using the URL:rtsp://192.168.0.246:8554/h264test
02-22 13:16:55.889 20429-20464/com.example.live555test2 W/myRTSPServer: ts-->stream, from the file-->/sdcard/H264_720p.ts,Play this stream using the URL:rtsp://192.168.0.246:8554/ts
02-22 13:16:55.889 20429-20464/com.example.live555test2 I/myRTSPServer: we use port-->8000
                                                                        
                                                                        [ 02-22 13:16:55.890   918: 1062 D/         ]
                                                                        DpmQmiMgr installListenFilters
                                                                        
                                                                        [ 02-22 13:16:55.890   918: 1062 D/         ]
                                                                        DpmQmiUtils::getListenFilters: WWAN is not connected, current state 5 for iface : rmnet_data0 
                                                                        
                                                                        [ 02-22 13:16:55.890   918: 1062 D/         ]
                                                                        DpmQmiMgr::installListenFilters:: Failed to get listen filters for ifaceName rmnet_data0
                                                                        
                                                                        [ 02-22 13:16:55.890   918: 1062 D/         ]
                                                                        DpmQmiMgr installListenFilters
                                                                        
                                                                        [ 02-22 13:16:55.890   918: 1062 D/         ]
                                                                        DpmQmiUtils::getListenFilters: WWAN is not connected, current state 5 for iface : rmnet_data0 
                                                                        
                                                                        [ 02-22 13:16:55.890   918: 1062 D/         ]
                                                                        DpmQmiMgr::installListenFilters:: Failed to get listen filters for ifaceName rmnet_data0
                                                                        
                                                                        [ 02-22 13:16:55.890   918: 1062 D/         ]
                                                                        DpmQmiMgr installListenFilters
                                                                        
                                                                        [ 02-22 13:16:55.890   918: 1062 D/         ]
                                                                        DpmQmiUtils::getListenFilters: WWAN is not connected, current state 5 for iface : rmnet_data0 
                                                                        
                                                                        [ 02-22 13:16:55.890   918: 1062 D/         ]
                                                                        DpmQmiMgr::installListenFilters:: Failed to get listen filters for ifaceName rmnet_data0
02-22 13:17:55.832 20429-20429/com.example.live555test2 D/AppTracker: App Event: stop

Any clues what might be going on?

Regards.

@papan01
Copy link
Owner

papan01 commented Feb 23, 2018

Hi eskalera,
Sorry, I've never encountered this situation, and i find this https://stackoverflow.com/questions/44510562/sphal-namespace-is-not-configured-for-this-process

Best regards

@eskalera
Copy link
Author

Thanks @papan01 ,

I'll try. Do you know if it would be possible to use this same server to stream surfaceview instead of a static file?

@papan01
Copy link
Owner

papan01 commented Feb 23, 2018

@eskalera
I ever used live555 + android media projection to stream screen two years ago. I'm not sure this is not what you want. I will arrage the data and push it on github.

@eskalera
Copy link
Author

Yes! That is what I want. I need to stream Android camera. If you could post that I'd really appreciate it.
Thanks @papan01

@papan01
Copy link
Owner

papan01 commented Feb 23, 2018

@eskalera
If you want to stream camera, https://github.com/fyhertz/libstreaming can help you.

@eskalera
Copy link
Author

Thanks, but I've tried that intensively already.

fyhertz/libstreaming-examples#30 (comment)

@papan01
Copy link
Owner

papan01 commented Mar 13, 2018

@eskalera
https://github.com/papan01/LiveStreamer, for your information.

@eskalera
Copy link
Author

Amazing @papan01!

Thank you so much. I'll try it ASAP.

@papan01 papan01 closed this as completed Apr 19, 2018
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

2 participants