After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 724531 - TTL in packets will always have default value during multcast.
TTL in packets will always have default value during multcast.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
unspecified
Other Linux
: Normal normal
: 1.2.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-02-17 10:18 UTC by Göran Jönsson
Modified: 2014-02-25 22:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.57 KB, patch)
2014-02-17 10:18 UTC, Göran Jönsson
none Details | Review

Description Göran Jönsson 2014-02-17 10:18:33 UTC
Created attachment 269370 [details] [review]
patch

When running multicast the Time to live value in packets is always 1 ( default value ). 

Problem is in  
gst-rtsp-server 
file rtsp_stream.c 
function update_transport

Current implementation is doing add before set ttl-mc .

This causes the ttl-mc value never be set on socket. Since that is done in add.

Attach a patch.

regards
Göran Jönsson
Comment 1 Wim Taymans 2014-02-18 10:14:00 UTC
commit a7f0feff23abe57928569f79eff58006adf2b4df
Author: Göran Jönsson <goranjn@axis.com>
Date:   Mon Feb 17 10:43:05 2014 +0100

    stream: set ttl-mc before adding the socket
    
    Set ttl-mc before adding the socket. Otherwise the value ttl-mc will
    never be set on socket.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724531