Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion app/src/main/java/com/playerdemo/VideoController.kt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ class VideoController(activity: Activity): IVLCVout.Callback, MediaPlayer.EventL

// Creating media player
mediaPlayer = MediaPlayer(libvlc)

// Listen events
mediaPlayer!!.setEventListener(this)

// Setting up video output
val vout = mediaPlayer!!.vlcVout
Expand Down Expand Up @@ -135,4 +138,4 @@ class VideoController(activity: Activity): IVLCVout.Callback, MediaPlayer.EventL
releasePlayer()
}

}
}