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
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    8,934
    Thanks
    1,680
    Thanked 3,341 Times in 2,197 Posts
    Should we limit serviceRefTypes to 1, 4097, 5001, 5002? Are there any others?

  2. #32

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2014
    Posts
    1,200
    Thanks
    532
    Thanked 387 Times in 245 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
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    8,934
    Thanks
    1,680
    Thanked 3,341 Times in 2,197 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.

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

    bbbuk (01-12-19),dsayers (01-12-19),Sicilian (01-12-19)

  5. #34
    Huevos's Avatar
    Title
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    8,934
    Thanks
    1,680
    Thanked 3,341 Times in 2,197 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.

  6. #35

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2014
    Posts
    1,200
    Thanks
    532
    Thanked 387 Times in 245 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,200
    Thanks
    532
    Thanked 387 Times in 245 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
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    8,934
    Thanks
    1,680
    Thanked 3,341 Times in 2,197 Posts

  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.