Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: CRUD Streams by Wowza API

  1. #1

    Default CRUD Streams by Wowza API

    Hey Everyone,

    I am developing a PHP application and i would like to know which the better way to create a CRUD for streams. Can i use a HTTP Provider? Or would it be better to have a WebServer? How is the creation of streams files by the Wowza Streaming Engine interface?

    Details: Wowza version 4.0.3 in a AMI EC2, NetBeans IDE and i have the Server Side API and User Guide.
    Last edited by guinoz; 06-27-2014 at 06:45 AM.

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    What exactly are you trying to do? Do you have a live encoder?

    You might want to look over the various tutorials and guides in this list. You will find a quickstart guide in documentation

    Richard

  3. #3

    Default

    Hey Richard,

    Thanks for reply!

    So my PHP application will receive two informations: the stream name and the rtsp from ip camera.
    Later will add this new stream in Wowza Server. For example, if i receive the pair information
    Stream name: camera.stream
    Rtsp: rtsp://test:554/pathrtsp
    My application will send the information for Wowza Server that will add the new stream. Something similar with "Add Stream File" in Wowza Streaming Engine.
    And i don't have a live encoder. It's necessary? Which the better way for implement that functionality?

  4. #4
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Hi,

    You can use an HTTPProvider to do all of that, and use your PHP application to load the Wowza HTTPProvider with post or get variables.

    Richard

  5. #5

    Default

    Sorry for the delay.

    But thank you for informations. I will try to make a HTTPProvider for publish streams and anything i return here.

    See you soon Richard.

    Best Regards

  6. #6

    Default

    Hey again!

    I would like to know which API class have a function that allow to add a stream files with parameters: stream name and rtsp url. Because i didn't find something like this in IMediaStream class or Stream class.
    Last edited by guinoz; 07-15-2014 at 03:43 PM.

  7. #7

    Default

    Hi,

    Have a look at the MediaCaster API it should provide the functionality you are after.

    Andrew.

  8. #8

    Default

    Thank you very much Andrew. It worked.

    Now i would like to know how i can return a information like a xml for the PHP Application through of a HTTP Provider. Can the onHTTPRequest method return something different of void if override?
    And other question is how access provider with admin-digest authentication in my application? Can I put user/password in the url or do I need to change for admin-basic?
    Last edited by guinoz; 07-17-2014 at 03:24 PM.

  9. #9
    Join Date
    May 2013
    Posts
    681

    Default

    You can utilize an HTTP Provider to output xml as we do with several of ours out-of-the-box (see serverinfo and/or connectioncounts). Also, check out the examples in our articles list.

  10. #10

    Default

    It worked. I did a HTTP Provider as recommended by Matt. Thank you very much Matt.

    Best Regards,
    Guilherme.

Page 1 of 2 12 LastLast

Similar Threads

  1. startDVRRecording for some streams (Recording API)
    By Jimbolino in forum AddOn: Wowza nDVR
    Replies: 4
    Last Post: 05-06-2013, 07:01 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
  •