[asterisk-dev] [Code Review]: Pimp SIP Media generification

Joshua Colp reviewboard at asterisk.org
Mon Mar 11 10:50:22 CDT 2013



> On March 11, 2013, 10:15 a.m., Joshua Colp wrote:
> > team/group/pimp_my_sip/res/res_sip_session.c, lines 176-202
> > <https://reviewboard.asterisk.org/r/2380/diff/2/?file=34131#file34131line176>
> >
> >     This is going to fall apart in the future. Multiplexing of streams over the same port is a thing for WebRTC.
> 
> opticron wrote:
>     Looking around, I see it both ways in different drafts for the SDP answer (the offer must always have different ports for backward compatibility).  Could you point me at the correct draft?

http://www.ietf.org/id/draft-ietf-mmusic-sdp-bundle-negotiation-03.txt


- Joshua


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2380/#review8025
-----------------------------------------------------------


On March 11, 2013, 10:48 a.m., opticron wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2380/
> -----------------------------------------------------------
> 
> (Updated March 11, 2013, 10:48 a.m.)
> 
> 
> Review request for Asterisk Developers, Mark Michelson and Joshua Colp.
> 
> 
> Summary
> -------
> 
> Abstract media type restrictions out of res_sip_session and move them to chan_gulp where they're actually needed.  Due to the change, the sdp handler callback structure has been modified to accept a ast_sip_session_media struct and had a destroy function added and ast_sip_session_media_position has been removed from res_sip_session.h
> 
> This will need updates when Pimp SIP NAT goes in.
> 
> 
> This addresses bug ASTERISK-21184.
>     https://issues.asterisk.org/jira/browse/ASTERISK-21184
> 
> 
> Diffs
> -----
> 
>   team/group/pimp_my_sip/channels/chan_gulp.c 382643 
>   team/group/pimp_my_sip/include/asterisk/res_sip_session.h 382643 
>   team/group/pimp_my_sip/res/res_sip_sdp_audio.c 382643 
>   team/group/pimp_my_sip/res/res_sip_session.c 382643 
> 
> Diff: https://reviewboard.asterisk.org/r/2380/diff
> 
> 
> Testing
> -------
> 
> Tested with call scenarios from SDP_offer_answer integration test using a quickly hacked together video sdp handler which may or may not work properly but responds like it should (cp res/res_sip_sdp_audio.c res/res_sip_sdp_video.c;sed -i 's/AUDIO/VIDEO/;s/audio/video/' res/res_sip_sdp_video.c)
> 
> 
> Thanks,
> 
> opticron
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130311/4431e7c5/attachment-0001.htm>


More information about the asterisk-dev mailing list