Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 3 of 3 FirstFirst 123
Results 31 to 37 of 37

Thread: ABM with use of IPTV Streams

  1. #31
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,578
    Thanks
    2,004
    Thanked 4,925 Times in 3,259 Posts
    Should we limit serviceRefTypes to 1, 4097, 5001, 5002? Are there any others?
    Help keep OpenViX servers online.Please donate!

  2. #32

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2014
    Posts
    1,321
    Thanks
    610
    Thanked 418 Times in 270 Posts
    They are the only serviceref types that I know of.

    How about defaulting to 1 if serviceref type isn't one of those mentioned?

  3. #33
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,578
    Thanks
    2,004
    Thanked 4,925 Times in 3,259 Posts
    Here is the final version (not tested).

    Attribute name has been changed to "servicereftype".

    Text for adding to "README.txt":
    Code:
    You can also give your stream a "service reference type". This allows you to tell the receiver which playback software 
    to use for that individual stream.
    
    In this example "servicereftype" has been added.
    
    <custommix>
    	<streams>
    		<stream url="http://stream.source:port/live/username/F36/password/308.ts" target="118" servicereftype="4097" />
    	</streams>
    </custommix>
    
    The following is a list of currently valid "service reference types".
    
    1, processed by the SoC (for when buffering is not required),
    4097, processed by gstreamer via servicemp3,
    5001, processed by gestreamer via gst-player,
    5002, processed via extplayer3.
    Attached Files Attached Files
    Last edited by Huevos; 01-12-19 at 09:32.
    Help keep OpenViX servers online.Please donate!

  4. The Following 4 Users Say Thank You to Huevos For This Useful Post:

    abu baniaz (05-09-22),bbbuk (01-12-19),dsayers (01-12-19),Sicilian (01-12-19)

  5. #34
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,578
    Thanks
    2,004
    Thanked 4,925 Times in 3,259 Posts
    Quote Originally Posted by bbbuk View Post
    They are the only serviceref types that I know of.

    How about defaulting to 1 if serviceref type isn't one of those mentioned?
    Code attached above should do that automatically.
    Help keep OpenViX servers online.Please donate!

  6. #35

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2014
    Posts
    1,321
    Thanks
    610
    Thanked 418 Times in 270 Posts
    @Huevos, above code works fine as intended except for small typo in tools.py:-
    SERVICEREF_ALLOWED_TYPES = [1, 4097, 5001, 5002]

    Thanks again

  7. #36

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2014
    Posts
    1,321
    Thanks
    610
    Thanked 418 Times in 270 Posts
    Create a PR here regarding your work on this @Huevos.

    Thanks again
    Last edited by bbbuk; 01-12-19 at 16:24.

  8. The Following 3 Users Say Thank You to bbbuk For This Useful Post:

    abu baniaz (01-12-19),dsayers (01-12-19),Huevos (01-12-19)

  9. #37
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,578
    Thanks
    2,004
    Thanked 4,925 Times in 3,259 Posts
    Help keep OpenViX servers online.Please donate!

  10. The Following 3 Users Say Thank You to Huevos For This Useful Post:

    abu baniaz (01-12-19),bbbuk (01-12-19),dsayers (01-12-19)

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.