1. Download our Official Android App: Forums for Android!

RTSP Streaming

Discussion in 'Music & Media' started by jasleen, Aug 25, 2011.

  1. jasleen

    jasleen Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Aug 25, 2011

    Aug 25, 2011
    3
    0
    5
    I am trying to receive the RTSP H.264 stream on Android device using a sdp file.
    I am using MediaPlayer to do this.
    Just made changes to MediaPlayerDemo_Video sample by setting a RTSP URL.

    The media prepared event is received, surfacechanged event is also received, but an error is received when we start the player.

    error is (1, -2147483648).

    The contents of SDP file are as follows:

    v=0

    o=Creator_Name 116861936824897 171987842069057 IN IP4 192.168.1.73

    s=MainConcept "Network Renderer"

    i=Mainconcept streaming session

    e=username@mainconept.ru

    p=+1(1234)567-890

    c=IN IP4 234.2.128.12/64

    b=AS:4000

    m=video 1100 RTP/AVP 96

    a=rtpmap:96 H264/90000

    a=fmtp:96 packetization-mode=1; profile-level-id=42801E; sprop-parameter-sets=Z0KAHpZYFoJNgKRAAAADAEAAAAynaFi+,aM41IA==

    a=cliprect:0,0,576,720

    a=control:trackID=1



    Pls guide on what is the problem.


    Best Regards
    Jasleen
     

    Advertisement

  2. jasleen

    jasleen Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Aug 25, 2011

    Aug 25, 2011
    3
    0
    5
    anyone on this..
    This is really urgent..Is the problem statement in any case possible with Android.
     

Share This Page

Loading...