sip

chrome jssip

扶醉桌前 提交于 2019-11-28 03:58:10
WebRTC 实现了基于网页的视频会议,标准是WHATWG 协议,目的是通过浏览器提供简单的javascript就可以达到实时通讯(Real-Time Communications (RTC))能力 WebRTC提供了视频会议的核心技术,包括音视频的采集、编解码、网络传输、显示等功能,并且还支持跨平台:windows,linux,mac,android WebRTC,名称源自网页即时通信(英语:Web Real-Time Communication)的缩写,是一个支持网页浏览器进行实时语音对话或视频对话的API。它于2011年6月1日开源并在Google、Mozilla、Opera支持下被纳入万维网联盟的W3C推荐标准 SIP SIP(Session Initiation Protocol,会话初始协议)是由IETF(Internet Engineering Task Force,因特网工程任务组)制定的多媒体通信协议 它是一个基于文本的应用层控制协议,用于创建、修改和释放一个或多个参与者的会话。SIP 是一种源于互联网的IP 语音会话控制协议,具有灵活、易于实现、便于扩展等特点 用户代理 User-Agent 首部包含了一个特征字符串,用来让网络协议的对端来识别发起请求的用户代理软件的应用类型、操作系统、软件开发商以及版本号 来源: https://www.cnblogs.com

Failed to create SipSession; network unavailable

自古美人都是妖i 提交于 2019-11-28 02:03:14
I've loaded the Android SIP Demo into Android Studio. I registered an account on getonsip.com, added it to my phone accounts, and verified it works by calling the phone from the getonsip.com webapp and also from one Android phone to another. All good so far. I modified the Java code from the demo slightly to accommodate the getonsip settings: SipProfile.Builder builder = new SipProfile.Builder(username, domain); builder.setOutboundProxy(proxy); builder.setPassword(password); builder.setAuthUserName(auth); builder.setAutoRegistration(true); builder.setPort(5060); builder.setProtocol("UDP");

Integrate Linphone app to my iOS app

纵然是瞬间 提交于 2019-11-27 19:33:27
There are about 20 questions on Linphone ios build in StackOverflow. A couple of them ask about integrating Linphone to an existing xcode project. I have followed them all. I am able to build and run the Linphone project successfully. However, to integrate to my existing project, I have included: linphone-sdk/apple-darwin/include and linphone-sdk/apple-darwin/lib to my project. the following lines to Xcode project->Build Settings->Search Path/Header Search Path : submodules/linphone/coreapi submodules/linphone/mediastreamer2/include submodules/linphone/mediastreamer2/include submodules

《TCP/IP详解 卷1:协议》第3章 IP:网际协议

岁酱吖の 提交于 2019-11-27 14:27:53
3.1 引言 IP是TCP/IP协议族中最为核心的协议。所有的TCP、UDP、ICMP及IGMP数据都以IP数据报格式传输(见图1-4)。许多刚开始接触TCP/IP的人对IP提供不可靠、无连接的数据报传送服务感到很奇怪,特别是那些具有X.25或SNA背景知识的人。 不可靠(unreliable)的意思是它不能保证IP数据报能成功地到达目的地。IP仅提供最好的传输服务。如果发生某种错误时,如某个路由器暂时用完了缓冲区,IP有一个简单的错误处理算法:丢弃该数据报,然后发送ICMP消息报给信源端。任何要求的可靠性必须由上层来提供(如TCP)。 无连接(connectionless)这个术语的意思是IP并不维护任何关于后续数据报的状态信息。每个数据报的处理是相互独立的。这也说明,IP数据报可以不按发送顺序接收。如果一信源向相同的信宿发送两个连续的数据报(先是A,然后是B),每个数据报都是独立地进行路由选择,可能选择不同的路线,因此B可能在A到达之前先到达。 在本章,我们将简要介绍IP首部中的各个字段,讨论IP路由选择和子网的有关内容。还要介绍两个有用的命令: ifconfig 和 netstat 。关于IP首部中一些字段的细节,将留在以后使用这些字段的时候再进行讨论。RFC 791[Postel 1981a]是IP的正式规范文件。 3.2 IP首部 IP数据报的格式如图3-1所示

Sip Manager api support

徘徊边缘 提交于 2019-11-27 14:05:52
I have gone through SIP Manager Documentation , it says - Not all Android-powered devices support VOIP calls using SIP. You should always call isVoipSupported() to verify that the device supports VOIP calling and isApiSupported() to verify that the device supports the SIP APIs. Your application must also request the INTERNET and USE_SIP permissions. I have Samsung galaxy young and ace mobiles, both are 2.3+, i have checked with the methods SipManager.isApiSupported() , SipManager.isVoipSupported() ,but both of them return false in both the cases. Is there anything to be done to make it Sip

freeswitch注册过程分析

拈花ヽ惹草 提交于 2019-11-27 12:02:15
操作系统:debian8.5_x64 freeswitch 版本 : 1.6.8 本文仅描述sip注册的简单场景,即话机直接向处于同一个局域网的fs进行注册。 SIP协议的消息结构 消息框架 SIP协议是基于文本的协议,SIP协议的消息都遵从一个统一的消息结构: 起始行(Start-Line)、一个或多个头域(Message-Header)、表明域结束的空行(CRLF),以及 可选的消息体(Message-Body) Start-Line * Message-Header CRLF [Message-Body] 消息头结构 SIP协议定义了大量的消息头域,但在一个基本SIP请求中至少应该包含以下几个消息体头域: From : 请求发起端地址 To : 请求目的端地址 Call-ID : 呼叫标识 Contract :联系人信息 CSeq : 消息序号 Max-Forward :TTL,防止死循环 Via : 消息转发记录 Content-Length : 消息体长度 消息体结构 SIP协议并没有规定消息体的结构,对消息体的应用完全取决于应用自身。 sip协议REGISTER请求格式 01 REGISTER sip:{remote_ip} SIP/2.0 02 Via: {viaInfo} 03 Max-Forwards: 70 04 From: {uacInfo} 05 To:

Android SIP stack - what to use? [closed]

一个人想着一个人 提交于 2019-11-27 11:36:06
I need to create use an SIP stack on Android, which will work with asterix and will give users the possibility to change codecs (i need to implement G729 and some other codecs). I'm new in this field (voice and codec), and every bit of information will be appreciated. In my research across the Internet, I found the following SIP stacks: PJSIP MJSIP JAIN SIP What do you recommend to use for a commercial program? Or you can recommend some other? For my particular situation, it must support the G729 codec. I would recommend also Doubango . It supports G729 as you would like, and there's an

sip/sdp/rtp/rtcp/rtsp间的关系

China☆狼群 提交于 2019-11-27 10:08:44
用一句简单的话总结:RTSP发起/终结流媒体、RTP传输流媒体数据 、RTCP对RTP进行控制,同步。 转自该博客:http://blog.csdn.net/xdwyyan/article/details/41721307?utm_source=tuicool&utm_medium=referral 感觉这些基础关系此君写的比较清楚,转载学习一下,如有侵权,联立删 1、 RTP Real-time Transport Protocol,是用于Internet上针对多媒体数据流的一种传输层协议。RTP协议详细说明了在互联网上传递音频和视频的标准数据包格式。RTP协议常用于流媒体系统(配合RTCP协议),视频会议和一键通(Push to Talk)系统(配合H.323或SIP),使它成为IP电话产业的技术基础。RTP协议和RTP控制协议RTCP一起使用,而且它是建立在UDP协议上的。 RTP 本身并没有提供按时发送机制或其它服务质量(QoS)保证,它依赖于网络应用程序去实现这一过程。 RTP 并不保证传送或防止无序传送,也不确定底层网络的可靠性。 RTP 实行有序传送, RTP 中的序列号允许接收方重组发送方的包序列,同时序列号也能用于决定适当的包位置,例如:在视频解码中,就不需要顺序解码。 2、 RTCP 实时传输控制协议(Real-time Transport Control

Integrate Linphone app to my iOS app

末鹿安然 提交于 2019-11-27 04:23:01
问题 There are about 20 questions on Linphone ios build in StackOverflow. A couple of them ask about integrating Linphone to an existing xcode project. I have followed them all. I am able to build and run the Linphone project successfully. However, to integrate to my existing project, I have included: linphone-sdk/apple-darwin/include and linphone-sdk/apple-darwin/lib to my project. the following lines to Xcode project->Build Settings->Search Path/Header Search Path : submodules/linphone/coreapi

了解SIP(会话发起协议)

孤街浪徒 提交于 2019-11-27 03:20:32
了解 SIP http://blog.csdn.net/blog38ls/archive/2007/11/08/1873800.aspx 介绍   通信提供商及其合作伙伴和用户越来越渴求新一代基于 IP 的服务。现在有了 SIP (会话启动协议),一解燃眉之急。 SIP 是不到十年前在计算机科学实验室诞生的一个想法。它是第一个适合各种媒体内容而实现多用户会话的协议,现在已成了 Internet 工程任务组 (IETF) 的规范。   今天,越来越多的运营商、 CLEC (竞争本地运营商)和 ITSP ( IP 电话服务商)都在提供基于 SIP 的服务,如市话和长途电话技术、在线信息和即时消息、 IP Centrex/Hosted PBX 、语音短信、 push-to-talk (按键通话)、多媒体会议等等。独立软件供应商 (ISV) 正在开发新的开发工具,用来为运营商网络构建基于 SIP 的应用程序以及 SIP 软件。网络设备供应商 (NEV) 正在开发支持 SIP 信令和服务的硬件。现在,有众多 IP 电话、用户代理、网络代理服务器、 VOIP 网关、媒体服务器和应用服务器都在使用 SIP 。    SIP 从类似的权威协议--如 Web 超文本传输协议 (HTTP) 格式化协议以及简单邮件传输协议 (SMTP) 电子邮件协议--演变而来并且发展成为一个功能强大的新标准。但是