Category : video

I’m developing a WebRTC video call app (one-way video and two-way audio) for Android with prebuilt package org.webrtc:google-webrtc:1.0.32006. I’m stuck with an error from this lib that states: LS_ERROR tag: webrtc_video_engine.cc message: (line 745): No video codecs supported. after trying to set a remote SDP offer: v=0 o=- 955391267744368972 0 IN IP4 0.0.0.0 s=- t=0 ..

Read more

I would like to create activities at some specific timestamp while it is being played using Java on android studio. import android.media.MediaTimestamp; MediaPlayer m = new MediaPlayer(); MediaTimestamp ts = new MediaTimestamp(0L, 0L, 1.0f); ts = m.getTimestamp(); Now, how can I use the timestamp variable ts. Is it a correct way of defining the time ..

Read more

I’m getting this exact crash/error message from logcat for my Android app. A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 9500 (com.schonell), pid 9500 No more crash log details only this message showing. This happened every time when my video calling app end the calls and crash the app. Video ..

Read more

I’m a beginner in android development with java and I have some code that inserts and plays a youtube video in a fragment . private YouTubePlayerView youTubePlayerView; public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { binding = FragmentSlideshowBinding.inflate(inflater, container, false); View root = binding.getRoot(); youTubePlayerView = root.findViewById(R.id.video1); getLifecycle().addObserver(youTubePlayerView); youTubePlayerView.addYouTubePlayerListener(new AbstractYouTubePlayerListener() { @Override public ..

Read more

I wanna use a video as my background instead of images. I searched alot but when I set the video to my background I cant use textview or buttons on the video like images. I did that with VideoView : final VideoView videoview = findViewById(R.id.videoshow); Uri uri = Uri.parse("android.resource://"+getPackageName()+"/"+R.raw.test); videoview.setVideoURI(uri); videoview.start(); videoview.resume(); videoview.setOnCompletionListener(new OnCompletionListener(){ @Override ..

Read more