Giter Club home page Giter Club logo

Comments (10)

wang-bin avatar wang-bin commented on June 18, 2024

I have no such rtsp stream. but a local video file without audio works for me.

from mdk-sdk.

lukegluke avatar lukegluke commented on June 18, 2024

I forgot to paste link to IP Webcam app: https://play.google.com/store/apps/details?id=com.pas.webcam
Maybe you have opportunity to test with it using Android phone.

from mdk-sdk.

wang-bin avatar wang-bin commented on June 18, 2024

can you send me an apk? I'm unable to install apps from google play in my country

from mdk-sdk.

lukegluke avatar lukegluke commented on June 18, 2024

Ok, I've download it from https://apkpure.com/ip-webcam/com.pas.webcam

IP Webcam_v1.14.37.759 (aarch64)_apkpure.com.zip

from mdk-sdk.

wang-bin avatar wang-bin commented on June 18, 2024

Can you try glfwplay example in the sdk? I'm failed to open the rtsp stream using mdk, ffplay and vlc.

from mdk-sdk.

lukegluke avatar lukegluke commented on June 18, 2024

Sorry, I don't have tools to build it. On my side I'm able to play rtcp stream from IP Webcam apk using vlc.

from mdk-sdk.

wang-bin avatar wang-bin commented on June 18, 2024

glfwplay is a prebuilt binary in mdk-sdk/bin

from mdk-sdk.

lukegluke avatar lukegluke commented on June 18, 2024

Ah, ok. I got the same result: it works only if sound is turned on in IP Webcam app, otherwise nothing - black screen.

from mdk-sdk.

wang-bin avatar wang-bin commented on June 18, 2024

Finally I can play the rtsp stream generated by this app. Here is the MediaInfo printed by mdk

Format: rtsp, range: 99 +0ms, bitrate: 0, size: 0
Metadata:
  title: IP Webcam
Streams: 2
 Audio:
  stream#1, range: -209146758205323714 +0ms, frames: 0
  codec: pcm_s16be tag: 0 profile: -99 level: -99, sample size: 0/16, s16 mono(1) @44100Hz, bitrate: 705600
 Video:
  stream#0, range: 99 +0ms, frames: 0
  codec: h264 tag: 0 profile: 578 level: 40, sample size: 8/0, yuv420p, bpc:8, bpp:12(8,8,8), bitrate: 0, 1920x1080, fps: 90000, bframes: 0
D 2021-04-22 22:19:59.201@0x16c233000:   extra data(28): 00 00 00 01 67 42 C0 28 8C 8D 40 3C 01 12 F2 C0 3C 22 11 A8 00 00 00 01 68 CE 3C 80 

The stream contains an invalid audio track, so video can not sync to audio. You can call player.setActiveTracks(MediaType::Audio, {}) to disable audio track, then video displays correctly.

from mdk-sdk.

wang-bin avatar wang-bin commented on June 18, 2024

fixed in the latest build

from mdk-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.