Kotlin android development tutorial: video streaming using MediaPlayer with SurfaceView HD
In this Kotlin android development tutorial we will be streaming a video with the MediaPlayer using a SurfaceView. We will be using the rtsp protocol for streaming. And will be getting the width and height dimensions from the Video to apply to the SurfaceView. 1 - VideoView https://goo.gl/AUH18K 2 - MediaPlayer with SurfaceView https://goo.gl/woPAg9 3 - Adding MediaController to MediaPlayer https://goo.gl/XBomH8 4 - ExoPlayer https://goo.gl/p1Qqfb Sign up to the professional membership plan for immediate access to all the videos which are ad-free for $10.00 a month here https://goo.gl/bVAVRX To get access to the accompanying documentation which also includes the github details signup here https://goo.gl/6tDV38 If you need to ask me any questions you can contact me on https://www.codementor.io/mobapptuts where I provide paid consultancy. www.mobapptuts.com series https://goo.gl/jpJ3dR youtube playlist: In this tutorial we will cover: * Add internet and wake lock permissions * Creating a layout with SurfaceView, ProgressBar and Scrollable TextView * Setting up a listener for when the SurfaceView is available * Setting the Surface to the MediaPlayer * Adding audio support * Setting the rtsp url to the MediaPlayer * Adding a listener for when the buffering is complete * Saving the playback position * Getting the video dimensions and setting them to the SurfaceView * Supporting activity lifecycle states. For questions, training and consultancy support I can be contacted here https://goo.gl/HEZsX1 Disclaimer - The only support provided on this channel which includes questions, will be submission of suspect bugs that are reproducible on android Nexus hardware on the github code base. For much more information checkout Website - https://www.mobapptuts.com Codementor - https://www.codementor.io/mobapptuts Twitter - https://twitter.com/MobAppTuts Facebook - https://www.facebook.com/nigeapptuts Google+ - https://plus.google.com/b/115884642086760882044 Pinterest - https://www.pinterest.com/mobapptuts/