Can't run live stream using Vitamio

后端 未结 2 1298
时光取名叫无心
时光取名叫无心 2021-01-21 14:59

I\'m trying to use Vitamio to run RTSP video stream, I\'m using Vitamio-sample after updating it to run the stream through VideoViewDemo activity:

p         


        
2条回答
  •  攒了一身酷
    2021-01-21 15:41

    After scanning a lot of near similar problems, I figured that it's may be because it demands to has ACCESS_NETWORK_STATE permission, although the log didn't tell me that but as it tells me it's not a qualified user to perform this process which means the user must be given the permission to be qualified for that, So, I added this permission:

    
    

    So, to run an authorized RTSP live stream using Vitamio, you need to register all of the following permissions:

        
        
        
        
        
        
    

提交回复
热议问题