Results 1 to 4 of 4

Thread: How publish IP-camera on Wowza using code?

  1. #1

    Default How publish IP-camera on Wowza using code?

    My ipcamera may opened by URI rtsp://x.x.x.x:554/user=user&password=1&stream=1.sdp
    I need a little script, like a StreamManager in the Wowza (x.x.x.x:8086/streammanager). I dont use the publish like a tutorial - use editing .xml files. Only Java-code in my server module! But i not found examples or tutorials. Please, help my anybody (anybrony )) ) how i can publish rtsp-stream on the ipcamera to Wowza via java-code? Senx and sorry my English. Its bad - i know ) I think used RTPSession and IApplication but i not see the right way... (

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Alex,

    Use the MediaCaster API. Take a look at this example:
    http://www.wowza.com/forums/content....PEG-TS-streams

    You can also start streams when Wowza starts using /conf/StartUpStreams.xml
    http://www.wowza.com/forums/content....upStreams.xml)

    Richard

  3. #3

    Default

    Senx its work. Very simple code ^_^

        MediaCasterStreamManager mcsm = new MediaCasterStreamManager(AppInst.getMediaCasterStreams());
        mcsm.startStream("rtsp://192.168.0.1:554/video.sdp", "rtp");
    and on server-side invoke onPublish event, and we my work with stream from camera!!! Greate!
    Last edited by AlexZvukoff_USSR; 08-10-2012 at 12:45 AM.

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Cool, glad it is working. Thanks for the update

    Richard

Similar Threads

  1. What IP camera should I use in order to publish audio back to the camera
    By mwallace in forum Live Streaming and Encoders
    Replies: 3
    Last Post: 06-03-2014, 09:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •