Commit acca89ed authored by Simon Morlat's avatar Simon Morlat
Browse files

rework multicast. It is not necessary to bind to the multicast address....

rework multicast. It is not necessary to bind to the multicast address. just works while the binding to the multicast address is rejected on windows
parent ef83b7a2
......@@ -86,6 +86,7 @@ struct _MSMediaStreamSessions{
MSDtlsSrtpContext *dtls_context;
MSTicker *ticker;
bool_t is_secured;
bool_t pad[3];
typedef struct _MSMediaStreamSessions MSMediaStreamSessions;
......@@ -122,8 +123,8 @@ struct _MediaStream {
time_t last_iterate_time;
uint64_t last_packet_count;
time_t last_packet_time;
bool_t rc_enable;
MSQosAnalyzerAlgorithm rc_algorithm;
bool_t rc_enable;
bool_t is_beginning;
bool_t owns_sessions;
bool_t pad;
......@@ -140,6 +141,8 @@ struct _MediaStream {
* @{
MS2_PUBLIC int media_stream_join_multicast_group(MediaStream *stream, const char *ip);
MS2_PUBLIC bool_t media_stream_dtls_supported(void);
MS2_PUBLIC void media_stream_set_rtcp_information(MediaStream *stream, const char *cname, const char *tool);
......@@ -1200,6 +1200,7 @@ AudioStream *audio_stream_new2(const char* ip, int loc_rtp_port, int loc_rtcp_po
return obj;
void audio_stream_play_received_dtmfs(AudioStream *st, bool_t yesno){
......@@ -154,6 +154,10 @@ RtpSession * create_duplex_rtpsession(const char* local_ip, int loc_rtp_port, in
return rtpr;
int media_stream_join_multicast_group(MediaStream *stream, const char *ip){
return rtp_session_join_multicast_group(stream->sessions.rtp_session,ip);
void media_stream_start_ticker(MediaStream *stream) {
MSTickerParams params = {0};
char name[32] = {0};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment