Can't run live stream using Vitamio

后端 未结 2 1310
时光取名叫无心
时光取名叫无心 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:57

    I had a problem where I was unable to stream RTSP even I removed the Authuntication like Username and Password. So I can Access the link Directly. What Things Work for Me to Stream LIVE were:

    1st Make Sure That You Have Registered the Permissions.

    
    
    
    
    
    
    

    2nd I gave the Streaming Link as:

    rtsp://192.xxx.x.xx/h264 OR rtsp://192.111.1.1/h264 ( example )
    

    Remember I removed the Username and Password for RTSP Links in My IP Camera Settings.

    3rd: Important thing that worked for me was:

    Open build.gradle of your app
    change targedsdkversion to 22
    Open build.gradle of your Vitamio:module
    change targedsdkversion to 22
    It may sound weird but it worked for me like a charm.
    

    Hope This might be helpful.

提交回复
热议问题