Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable_media_stream_cache setting does not work #205

Open
GoogleCodeExporter opened this issue Apr 29, 2015 · 2 comments
Open

enable_media_stream_cache setting does not work #205

GoogleCodeExporter opened this issue Apr 29, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

This 
setting(http://sipml5.org/docgen/symbols/SIPml.Stack.Configuration.html#enable_m
edia_stream_cache) does not work over http.

In sipml v1.4.217 it could possible to use this setting after patching 
tsip_dialog_invite.prototype.new_msession_mgr function, like this - change
a.set(tmedia_session_mgr.prototype.SetParamSession(a.e_type, "ice-servers", 
this.get_stack().network.ao_ice_servers), 
tmedia_session_mgr.prototype.SetParamSession(a.e_type, "cache-stream", 
this.get_stack().network.b_cache_stream), 
tmedia_session_mgr.prototype.SetParamSession(a.e_type, "bandwidth", 
this.get_session().media.o_bandwidth), 
tmedia_session_mgr.prototype.SetParamSession(a.e_type, "video-size", 
this.get_session().media.o_video_size));

on

a.set(tmedia_session_mgr.prototype.SetParamSession(a.e_type, "ice-servers", 
this.get_stack().network.ao_ice_servers), 
tmedia_session_mgr.prototype.SetParamSession(a.e_type, "cache-stream", 
this.get_stack().media.b_cache_stream), 
tmedia_session_mgr.prototype.SetParamSession(a.e_type, "bandwidth", 
this.get_session().media.o_bandwidth), 
tmedia_session_mgr.prototype.SetParamSession(a.e_type, "video-size", 
this.get_session().media.o_video_size));

But in sipml5 v 1.5.222 you added handler this.o_pc.onsignalingstatechange, 
which is the reason of "Failed to set local answer sdp: Called in wrong state: 
STATE_SENTACCEPT" error, which I get on incoming call.

If remove this handler everything is work as well. 

Original issue reported on code.google.com by d.sols...@gmail.com on 14 Jan 2015 at 1:09

@GoogleCodeExporter
Copy link
Author

It's seems this issue related with my problem in 
https://code.google.com/p/sipml5/issues/detail?id=209.

if you set enable_media_stream_cache to false, do you have any problem with 
incoming calls?

Thanks,
Alexander.

Original comment by AP.Rol...@gmail.com on 11 Feb 2015 at 3:17

@GoogleCodeExporter
Copy link
Author

Hi all,

Setting enable_media_stream_cache to false not work.

Thanks,
Agustí

Original comment by auba...@presenceco.com on 22 Apr 2015 at 4:05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant